From df179972303ac60cb53373ac230146168ae21035 Mon Sep 17 00:00:00 2001 From: Al Bailey Date: Mon, 25 Jul 2022 14:39:42 +0000 Subject: [PATCH] Debian: Create /opt/branding directory On CentOS the /opt/branding directory is created by horizon. On Debian, it will now be created the same way. The directory needs to exist on both environments to provide parity. Other applications like backup and restore expect this directory to exist. Test Plan: Build/Install/Bootstrap AIO-SX on Debian Verify /opt/branding directory exists Story: 2010165 Task: 45877 Signed-off-by: Al Bailey Change-Id: I141d62e90161dcaea72d5245814827518326b05b --- ...eate-opt-branding-as-part-of-install.patch | 20 +++++++++++++++++++ .../python-horizon/debian/deb_patches/series | 1 + 2 files changed, 21 insertions(+) create mode 100644 openstack/python-horizon/debian/deb_patches/0003-Create-opt-branding-as-part-of-install.patch diff --git a/openstack/python-horizon/debian/deb_patches/0003-Create-opt-branding-as-part-of-install.patch b/openstack/python-horizon/debian/deb_patches/0003-Create-opt-branding-as-part-of-install.patch new file mode 100644 index 00000000..b6549a3d --- /dev/null +++ b/openstack/python-horizon/debian/deb_patches/0003-Create-opt-branding-as-part-of-install.patch @@ -0,0 +1,20 @@ +From f6e57a8c93d4669698d86ac53e0dc57e794725a1 Mon Sep 17 00:00:00 2001 +From: Al Bailey +Date: Fri, 22 Jul 2022 19:18:44 +0000 +Subject: [PATCH 3/3] Create /opt/branding as part of install + +--- + debian/openstack-dashboard.dirs | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/debian/openstack-dashboard.dirs b/debian/openstack-dashboard.dirs +index cb229b2..ef69f56 100644 +--- a/debian/openstack-dashboard.dirs ++++ b/debian/openstack-dashboard.dirs +@@ -1,2 +1,3 @@ + /etc/openstack-dashboard/local_settings.d + /usr/share/openstack-dashboard ++/opt/branding +-- +2.30.2 + diff --git a/openstack/python-horizon/debian/deb_patches/series b/openstack/python-horizon/debian/deb_patches/series index 2fa70d13..917cd990 100644 --- a/openstack/python-horizon/debian/deb_patches/series +++ b/openstack/python-horizon/debian/deb_patches/series @@ -1,2 +1,3 @@ 0001-install-extra-files.patch 0002-Horizon-service-not-enabled-active-in-SM.patch +0003-Create-opt-branding-as-part-of-install.patch