Merge "Debian: Add workaround for enabling swacts and unlocks"

This commit is contained in:
Zuul 2022-08-05 10:37:27 +00:00 committed by Gerrit Code Review
commit 6ee5bc7feb

View File

@ -43,6 +43,7 @@
# Post - Kickstart Finalize Install UUID # Post - Kickstart Finalize Install UUID
# Post - Log Filesystem Setup # Post - Log Filesystem Setup
# Post Nochroot - Save Install scripts and Logs # Post Nochroot - Save Install scripts and Logs
# Post Nochroot - Workarounds for enabling integration
# Post Nochroot - Set up /etc/fstab # Post Nochroot - Set up /etc/fstab
# #
############################################################################ ############################################################################
@ -2293,6 +2294,26 @@ true
HOOK_LABEL="post_nochroot" HOOK_LABEL="post_nochroot"
. /tmp/lat/ks_functions.sh . /tmp/lat/ks_functions.sh
# This section needs to be removed when solutions are implemented
ilog "***********************************************************************"
ilog "*** Post Nochroot - Workarounds for enabling integration ***"
ilog "***********************************************************************"
# Workaround for enabling swacts on AIO-DX
# Workaround for enabling compute unlocks
# Launchpad: #1983580
rm ${IMAGE_ROOTFS}/var/lib/dpkg/triggers/Unincorp
true
%end
##########################################################################
%post --interpreter=/bin/bash --nochroot
HOOK_LABEL="post_nochroot"
. /tmp/lat/ks_functions.sh
# This needs to update all available ostree based rootfs # This needs to update all available ostree based rootfs
ilog "****************************************************" ilog "****************************************************"