From c6c21858029bb311a4a24e21af4306bc0e8d0a99 Mon Sep 17 00:00:00 2001 From: Dan Voiculeasa Date: Wed, 20 Jul 2022 18:29:02 +0300 Subject: [PATCH] Debian: Add workaround for enabling swacts. This work is part of AIO-DX integration effort. This workaround is required to enable swacts. Rebooting controller-0 will fail puppet manifests, due to a dpkg file being corrupted. A file needs to be recreated, because it shares the inode with another file, leading to disaster. Story: 2009968 Task: 45834 Signed-off-by: Dan Voiculeasa Change-Id: I3b94a15fdaf2cfb9d1b4b3a0d10dacfdecbdaca4 --- .../source-debian/before_bootstrap_workarounds.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/debian-integration/source-debian/before_bootstrap_workarounds.sh b/tools/debian-integration/source-debian/before_bootstrap_workarounds.sh index b0367ff2..0156f33d 100755 --- a/tools/debian-integration/source-debian/before_bootstrap_workarounds.sh +++ b/tools/debian-integration/source-debian/before_bootstrap_workarounds.sh @@ -1 +1,4 @@ # don't remove the file yet, keep this hot + +# Workaround for enabling swacts on AIO-DX +rm /var/lib/dpkg/triggers/Unincorp && touch /var/lib/dpkg/triggers/Unincorp