diff --git a/openstack/openstack-ras/debian/deb_patches/0001-update-package-dependencies.patch b/openstack/openstack-ras/debian/deb_patches/0001-update-package-dependencies.patch new file mode 100644 index 00000000..39ca6c29 --- /dev/null +++ b/openstack/openstack-ras/debian/deb_patches/0001-update-package-dependencies.patch @@ -0,0 +1,26 @@ +From 254b2348d105c86438bf4057a4d428c67d51ed37 Mon Sep 17 00:00:00 2001 +From: Fabricio Henrique Ramos +Date: Fri, 5 Nov 2021 11:45:54 -0300 +Subject: [PATCH] update package dependencies + +Signed-off-by: Fabricio Henrique Ramos +--- + debian/control | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/debian/control b/debian/control +index 1e4f8c5..ffeb41e 100644 +--- a/debian/control ++++ b/debian/control +@@ -9,7 +9,7 @@ Homepage: http://github.com/madkiss/openstack-resource-agents + + Package: openstack-resource-agents + Architecture: all +-Depends: ${misc:Depends}, netstat, python-keystoneclient, python-glanceclient, python-novaclient, curl ++Depends: ${misc:Depends}, net-tools, python3-keystoneclient, python3-glanceclient, python3-novaclient, curl + Description: pacemaker resource agents for OpenStack + This package contains resource agents to run most of the OpenStack + components inside a pacemaker-controlled high availability cluster. +-- +2.17.1 + diff --git a/openstack/openstack-ras/debian/deb_patches/series b/openstack/openstack-ras/debian/deb_patches/series new file mode 100644 index 00000000..2da03b87 --- /dev/null +++ b/openstack/openstack-ras/debian/deb_patches/series @@ -0,0 +1 @@ +0001-update-package-dependencies.patch diff --git a/openstack/openstack-ras/debian/meta_data.yaml b/openstack/openstack-ras/debian/meta_data.yaml new file mode 100644 index 00000000..d67e6fe8 --- /dev/null +++ b/openstack/openstack-ras/debian/meta_data.yaml @@ -0,0 +1,9 @@ +debver: 2012.2~f3-1 +debname: openstack-resource-agents +dl_path: + name: openstack-resource-agents-2012.2~f3-1.tar.gz + url: https://github.com/starlingx-staging/stx-openstack-ras/tarball/4ba6047db1b70ee2bb3dd43739de7d2fb4e85ebd + md5sum: 58b82fa1d64ea59bad345d01bafb71be +revision: + dist: $STX_DIST + PKG_GITREVCOUNT: true diff --git a/openstack/openstack-ras/debian/patches/0001-remove-unwanted-files.patch b/openstack/openstack-ras/debian/patches/0001-remove-unwanted-files.patch new file mode 100644 index 00000000..361deaa0 --- /dev/null +++ b/openstack/openstack-ras/debian/patches/0001-remove-unwanted-files.patch @@ -0,0 +1,24 @@ +From c63d0c06606969ddfb85538706a1665122e69c44 Mon Sep 17 00:00:00 2001 +From: Fabricio Henrique Ramos +Date: Wed, 3 Nov 2021 12:10:34 -0300 +Subject: [PATCH] remove unwanted files + +Signed-off-by: Fabricio Henrique Ramos +--- + Makefile | 3 +++ + 1 file changed, 3 insertions(+) + +diff --git a/Makefile b/Makefile +index c95c187..08c9fa6 100644 +--- a/Makefile ++++ b/Makefile +@@ -26,3 +26,6 @@ install: + for file in ocf/*; do \ + $(INSTALL) -t $(DESTDIR)/usr/lib/ocf/resource.d/openstack -m 0755 $${file} ; \ + done ++ rm -rf $(DESTDIR)/usr/lib/ocf/resource.d/openstack/ceilometer-agent-central ++ rm -rf $(DESTDIR)/usr/lib/ocf/resource.d/openstack/ceilometer-alarm-evaluator ++ rm -rf $(DESTDIR)/usr/lib/ocf/resource.d/openstack/ceilometer-alarm-notifier +-- +2.17.1 + diff --git a/openstack/openstack-ras/debian/patches/series b/openstack/openstack-ras/debian/patches/series new file mode 100644 index 00000000..964ba69b --- /dev/null +++ b/openstack/openstack-ras/debian/patches/series @@ -0,0 +1 @@ +0001-remove-unwanted-files.patch