From ab7d062a0168fcb3c087e293b69a182ff087e555 Mon Sep 17 00:00:00 2001 From: Charles Short Date: Thu, 25 Aug 2022 09:58:31 -0400 Subject: [PATCH] debian: Remove package preset install for metal Remove the installation of per-package preset installs since they are centrally managed now by the ISO install for the following packages: - mtce-compute - mtce-control - mtce-storage Story: 2009968 Task: 46406 Test Plan PASS Build package PASS Build ISO PASS Check for non-existant preset file in /etc/systemd/system-preset Depends-On: https://review.opendev.org/c/starlingx/integ/+/853653 Signed-off-by: Charles Short Change-Id: Ica1a99efe2336fdb6096086f46189dfd25efc6e1 --- mtce-compute/debian/deb_folder/mtce-compute.install | 1 - mtce-compute/debian/deb_folder/systemd/00-mtce-compute.preset | 1 - mtce-control/debian/deb_folder/mtce-control.install | 1 - mtce-control/debian/deb_folder/systemd/00-mtce-control.preset | 1 - mtce-storage/debian/deb_folder/mtce-storage.install | 1 - mtce-storage/debian/deb_folder/systemd/00-mtce-storage.preset | 1 - 6 files changed, 6 deletions(-) delete mode 100644 mtce-compute/debian/deb_folder/systemd/00-mtce-compute.preset delete mode 100644 mtce-control/debian/deb_folder/systemd/00-mtce-control.preset delete mode 100644 mtce-storage/debian/deb_folder/systemd/00-mtce-storage.preset diff --git a/mtce-compute/debian/deb_folder/mtce-compute.install b/mtce-compute/debian/deb_folder/mtce-compute.install index df6481df..d09c2006 100644 --- a/mtce-compute/debian/deb_folder/mtce-compute.install +++ b/mtce-compute/debian/deb_folder/mtce-compute.install @@ -1,4 +1,3 @@ etc/goenabled.d/virt-support-goenabled.sh etc/init.d/goenabledWorker lib/systemd/system/goenabled-worker.service -debian/systemd/00-mtce-compute.preset etc/systemd/system-preset diff --git a/mtce-compute/debian/deb_folder/systemd/00-mtce-compute.preset b/mtce-compute/debian/deb_folder/systemd/00-mtce-compute.preset deleted file mode 100644 index 97f63630..00000000 --- a/mtce-compute/debian/deb_folder/systemd/00-mtce-compute.preset +++ /dev/null @@ -1 +0,0 @@ -enable goenabled-worker.service diff --git a/mtce-control/debian/deb_folder/mtce-control.install b/mtce-control/debian/deb_folder/mtce-control.install index 3f191b67..2af75d24 100644 --- a/mtce-control/debian/deb_folder/mtce-control.install +++ b/mtce-control/debian/deb_folder/mtce-control.install @@ -1,4 +1,3 @@ -debian/systemd/00-mtce-control.preset etc/systemd/system-preset lib/systemd/system/hbsAgent.service etc/init.d/goenabledControl etc/init.d/hbsAgent diff --git a/mtce-control/debian/deb_folder/systemd/00-mtce-control.preset b/mtce-control/debian/deb_folder/systemd/00-mtce-control.preset deleted file mode 100644 index e4106779..00000000 --- a/mtce-control/debian/deb_folder/systemd/00-mtce-control.preset +++ /dev/null @@ -1 +0,0 @@ -enable hbsAgent.service diff --git a/mtce-storage/debian/deb_folder/mtce-storage.install b/mtce-storage/debian/deb_folder/mtce-storage.install index 8f6c7c26..7bbf97d7 100644 --- a/mtce-storage/debian/deb_folder/mtce-storage.install +++ b/mtce-storage/debian/deb_folder/mtce-storage.install @@ -1,3 +1,2 @@ etc/init.d/goenabledStorage lib/systemd/system/goenabled-storage.service -debian/systemd/00-mtce-storage.preset etc/systemd/systemd-preset diff --git a/mtce-storage/debian/deb_folder/systemd/00-mtce-storage.preset b/mtce-storage/debian/deb_folder/systemd/00-mtce-storage.preset deleted file mode 100644 index 1a327932..00000000 --- a/mtce-storage/debian/deb_folder/systemd/00-mtce-storage.preset +++ /dev/null @@ -1 +0,0 @@ -disable goenabled-storage.service