From 5c935b762dc630d4016005bbe4d42f5bbf5a920d Mon Sep 17 00:00:00 2001 From: Naresh Bhat Date: Tue, 5 Mar 2019 15:28:27 +0800 Subject: DRILL-7075: Fix debian package issue with control files Add control file to generate debian package where we have deleted in #1669 PR. We need control file either in static form or dynamic form. The control file gives details about the package and conffiles used when a new version is installed then dpkg knows to ask what do you want to do with differences instead of just replacing file. According to debian packaging rules the control files are must and conffile is optional. Hence to add control file. We also need to add "**/control" in distribution/pom.xml file. Because without this line "mvn clean install -DskipTests -Drat.skip=false -Dlicense.skip=false" will fail. Reference link for debian packaging: https://wiki.debian.org/Packaging/Intro?action=show&redirect=IntroDebianPackaging Signed-off-by: Naresh Bhat closes #1679 --- distribution/pom.xml | 1 + distribution/src/deb/control/control | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 distribution/src/deb/control/control diff --git a/distribution/pom.xml b/distribution/pom.xml index eabcca42f..382699158 100644 --- a/distribution/pom.xml +++ b/distribution/pom.xml @@ -197,6 +197,7 @@ **/git.properties + **/control **/*.checkstyle **/*.json **/README.md diff --git a/distribution/src/deb/control/control b/distribution/src/deb/control/control new file mode 100644 index 000000000..f15a84389 --- /dev/null +++ b/distribution/src/deb/control/control @@ -0,0 +1,9 @@ +Homepage: http://drill.apache.org/ +Package: Apache Drill +Version: 1.16.0-SNAPSHOT +Section: misc +Priority: optional +Architecture: all +Maintainer: Naresh Bhat +Description: Apache Drill is an Apache open-source SQL query engine for Big Data exploration. +Distribution: development -- cgit v1.2.3