summaryrefslogtreecommitdiffstats
path: root/conf.d/packaging/deb
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2018-07-06 18:39:00 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2018-07-07 22:06:02 +0200
commite0faa97416aee22fa0c09f75a4040bb2bb16e2dd (patch)
treee9687d481c219a458a7ac5c39feface3c9d779d9 /conf.d/packaging/deb
parentc8f5f5a7097254496b9dc8ddb458cf1fdb7169da (diff)
Update/fix rpm and deb packagingflounder_5.99.2flounder/5.99.25.99.2
Change-Id: I576c7c02def683dc3028194e68416bfc0b167067 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'conf.d/packaging/deb')
-rw-r--r--conf.d/packaging/deb/agl-xds-cli.dsc6
-rw-r--r--conf.d/packaging/deb/debian.control2
-rw-r--r--conf.d/packaging/deb/debian.rules4
3 files changed, 8 insertions, 4 deletions
diff --git a/conf.d/packaging/deb/agl-xds-cli.dsc b/conf.d/packaging/deb/agl-xds-cli.dsc
index 53a4e12..37ed8b4 100644
--- a/conf.d/packaging/deb/agl-xds-cli.dsc
+++ b/conf.d/packaging/deb/agl-xds-cli.dsc
@@ -2,10 +2,10 @@ Format: 1.0
Source: agl-xds-cli
Binary: agl-xds-cli
Architecture: any
-Version: 1.1.1-0
+Version: 0.0.0
Maintainer: Sebastien Douheret <sebastien@iot.bzh>
Standards-Version: 3.8.2
-Homepage: https://github.com/iotbzh/xds-cli.git
+Homepage: https://gerrit.automotivelinux.org/gerrit/p/src/xds/xds-cli.git
Build-Depends: debhelper (>= 5),
unzip
-Debtransform-Tar: xds-cli_linux-amd64-v1.1.1_2018-04-05_110646.zip
+Debtransform-Tar: xds-cli_linux-amd64-*.zip
diff --git a/conf.d/packaging/deb/debian.control b/conf.d/packaging/deb/debian.control
index 4fd3273..226de7c 100644
--- a/conf.d/packaging/deb/debian.control
+++ b/conf.d/packaging/deb/debian.control
@@ -4,7 +4,7 @@ Source: agl-xds-cli
Build-Depends: debhelper (>= 5),
unzip
Standards-Version: 3.8.2
-Homepage: https://github.com/iotbzh/xds-cli.git
+Homepage: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src/xds/xds-cli.git
Package: agl-xds-cli
Section: libs
diff --git a/conf.d/packaging/deb/debian.rules b/conf.d/packaging/deb/debian.rules
index a1b4a6a..121ccec 100644
--- a/conf.d/packaging/deb/debian.rules
+++ b/conf.d/packaging/deb/debian.rules
@@ -62,6 +62,10 @@ install: build
mkdir -p $(DEB_BASE_DIR)/etc/profile.d
sed -e "s;@XDS_INSTALL_BIN_DIR@;$(INSTALL_BIN_DIR);g" $(DEB_INSTALL_XDS_DIR)/conf.d/etc/profile.d/xds-cli.sh > $(DEB_BASE_DIR)/etc/profile.d/$(NAME).sh
+ # Add bash_completion file
+ mkdir -p $(DEB_BASE_DIR)/etc/bash_completion.d
+ cp $(DEB_INSTALL_XDS_DIR)/conf.d/etc/bash_completion.d/xds-cli $(DEB_BASE_DIR)/etc/bash_completion.d/
+
# Cleanup
rm -rf $(DEB_INSTALL_XDS_DIR)/scripts $(DEB_INSTALL_XDS_DIR)/conf.d