debian: Add missing public.py

It was unwittingly dropped in the last update, needed for unlock.

Story: 2009101
Task: 43770

Signed-off-by: Chuck Short <charles.short@windriver.com>
Change-Id: I4fb815f722ad5b85c553612b34f57849c9ba874d
This commit is contained in:
zulcss 2022-03-04 13:07:11 +00:00
parent aea896eb19
commit 0c2f80ebe0

View File

@ -1,4 +1,4 @@
From 129e40a0c304cc76d4841188a7700f3e5d049322 Mon Sep 17 00:00:00 2001
From 6f55cd9922280ee5f4d119aa4a9924a51dea8068 Mon Sep 17 00:00:00 2001
From: Charles Short <charles.short@windriver.com>
Date: Tue, 15 Feb 2022 15:59:20 +0000
Subject: [PATCH] Add stx support
@ -12,13 +12,14 @@ Signed-off-by: Charles Short <charles.short@windriver.com>
debian/keystone.install | 4 +
debian/keystone.logrotate | 8 -
debian/keystone.postinst.in | 10 +-
debian/python3-keystone.install | 1 +
debian/rules | 6 +
debian/stx/keystone-all | 156 ++++++++++++++++++
debian/stx/keystone-fernet-keys-rotate-active | 64 +++++++
debian/stx/keystone.service | 14 ++
debian/stx/password-rules.conf | 34 ++++
debian/stx/public.py | 21 +++
11 files changed, 303 insertions(+), 17 deletions(-)
12 files changed, 304 insertions(+), 17 deletions(-)
delete mode 100644 debian/keystone.logrotate
create mode 100644 debian/stx/keystone-all
create mode 100644 debian/stx/keystone-fernet-keys-rotate-active
@ -76,7 +77,7 @@ index 2709c72aa..000000000
-}
\ No newline at end of file
diff --git a/debian/keystone.postinst.in b/debian/keystone.postinst.in
index 207cbc22e..4aadd2161 100755
index 207cbc22e..4b464a236 100755
--- a/debian/keystone.postinst.in
+++ b/debian/keystone.postinst.in
@@ -170,15 +170,7 @@ if [ "$1" = "configure" ] ; then
@ -96,6 +97,14 @@ index 207cbc22e..4aadd2161 100755
db_get keystone/create-admin-tenant
if [ "$RET" = "true" ] ; then
diff --git a/debian/python3-keystone.install b/debian/python3-keystone.install
index 44d7fcb64..3c76ffb99 100644
--- a/debian/python3-keystone.install
+++ b/debian/python3-keystone.install
@@ -1,2 +1,3 @@
usr/bin/*
usr/lib/python3/*
+debian/stx/public.py usr/share/keystone
diff --git a/debian/rules b/debian/rules
index 3744142f9..f827d1b68 100755
--- a/debian/rules
@ -433,5 +442,5 @@ index 000000000..d3a29f3b3
+
+application = wsgi_server.initialize_public_application()
--
2.32.0
2.34.1