From 1683309f9c4c68c0ea0a96bc8cdaed6f36dbd967 Mon Sep 17 00:00:00 2001 From: Thierry Laurion Date: Sat, 7 Sep 2024 16:45:24 -0400 Subject: [PATCH] kexec-iso-init: Always show kernel arguments suppressions/additions overrides Signed-off-by: Thierry Laurion --- initrd/bin/kexec-iso-init | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/initrd/bin/kexec-iso-init b/initrd/bin/kexec-iso-init index c6e86586..250e8f1f 100755 --- a/initrd/bin/kexec-iso-init +++ b/initrd/bin/kexec-iso-init @@ -37,14 +37,15 @@ ADD_FILE=/tmp/kexec/kexec_iso_add.txt if [ -r $ADD_FILE ]; then NEW_ADD=`cat $ADD_FILE` ADD=$(eval "echo \"$NEW_ADD\"") - echo "+++ Overriding standard ISO kernel add arguments: $ADD" fi +echo "+++ Overriding standard ISO kernel arguments with additions: $ADD" + REMOVE_FILE=/tmp/kexec/kexec_iso_remove.txt if [ -r $REMOVE_FILE ]; then NEW_REMOVE=`cat $REMOVE_FILE` REMOVE=$(eval "echo \"$NEW_REMOVE\"") - echo "+++ Overriding standard ISO kernel remove arguments: $REMOVE" fi +echo "+++ Overriding standard ISO kernel arguments with suppressions: $REMOVE" # Call kexec and indicate that hashes have been verified DO_WITH_DEBUG kexec-select-boot -b /boot -d /media -p "$paramsdir" \