From e0faa97416aee22fa0c09f75a4040bb2bb16e2dd Mon Sep 17 00:00:00 2001 From: Sebastien Douheret Date: Fri, 6 Jul 2018 18:39:00 +0200 Subject: Update/fix rpm and deb packaging Change-Id: I576c7c02def683dc3028194e68416bfc0b167067 Signed-off-by: Sebastien Douheret --- conf.d/packaging/deb/agl-xds-cli.dsc | 6 +++--- conf.d/packaging/deb/debian.control | 2 +- conf.d/packaging/deb/debian.rules | 4 ++++ 3 files changed, 8 insertions(+), 4 deletions(-) (limited to 'conf.d/packaging/deb') 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 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 -- cgit 1.2.3-korg