As part of the STX-Openstack upversion to CARACAL, the python- openstackclient is being upversioned to version 6.6.0-5 [1], which is the latest supported on CARACAL [2] and Debian. The commit hash of the used repo is: e90cc3256ba56481729ceacebe5563f20636d1dd All patches were updated in order to make the package buildable in the new version. [1] https://salsa.debian.org/openstack-team/clients/python-openstackclient/-/tree/debian/6.6.0-5?ref_type=tags [2] https://releases.openstack.org/caracal/index.html#caracal-python-openstackclient Story: 2011303 Task: 51497 Test Plan: PASS: Build the python-openstackclient package PASS: Build the stx-openstackclients image PASS: Tested custom image in a running stx-openstack PASS: Check version used in system on test plan Depends-on: https://review.opendev.org/c/starlingx/root/+/938292 Change-Id: I94117a3d60554043c12c6b8ab5908c6e3238dc75 Signed-off-by: Jose Claudio <joseclaudio.paespires@windriver.com>
43 lines
1.4 KiB
Diff
43 lines
1.4 KiB
Diff
From 6b0824bd7da3d208b64f0caaf589b5f6d1d56c2a Mon Sep 17 00:00:00 2001
|
|
From: Dan Voiculeasa <dan.voiculeasa@windriver.com>
|
|
Date: Thu, 2 Jun 2022 20:20:50 +0300
|
|
Subject: [PATCH] Allow external bash completion
|
|
|
|
Don't generate the bash completion at build time, as it is different
|
|
than the one generated at runtime. Allow bash completion to be
|
|
generated at /etc/bash_completion.d .
|
|
|
|
Signed-off-by: Dan Voiculeasa <dan.voiculeasa@windriver.com>
|
|
[ Ported this patch to python-openstackclient v6.6.0-5 @ Caracal ]
|
|
Signed-off-by: Jose Claudio <joseclaudio.paespires@windriver.com>
|
|
---
|
|
debian/python3-openstackclient.dirs | 1 +
|
|
debian/rules | 3 ---
|
|
2 files changed, 1 insertion(+), 3 deletions(-)
|
|
create mode 100644 debian/python3-openstackclient.dirs
|
|
|
|
diff --git a/debian/python3-openstackclient.dirs b/debian/python3-openstackclient.dirs
|
|
new file mode 100644
|
|
index 00000000..bc3b6805
|
|
--- /dev/null
|
|
+++ b/debian/python3-openstackclient.dirs
|
|
@@ -0,0 +1 @@
|
|
+etc/bash_completion.d/
|
|
diff --git a/debian/rules b/debian/rules
|
|
index f032e337..638ee8d4 100755
|
|
--- a/debian/rules
|
|
+++ b/debian/rules
|
|
@@ -16,9 +16,6 @@ override_dh_auto_build:
|
|
override_dh_auto_install:
|
|
pkgos-dh_auto_install --no-py2 --wheel
|
|
|
|
- # Generate bash completion
|
|
- pkgos-gen-completion --py3 openstack
|
|
-
|
|
override_dh_auto_test:
|
|
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
|
|
# See https://bugs.debian.org/1058097
|
|
--
|
|
2.34.1
|
|
|