mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-18 20:47:55 +00:00
kexec-iso-init: Always show kernel arguments suppressions/additions overrides
Signed-off-by: Thierry Laurion <insurgo@riseup.net>
This commit is contained in:
parent
f98553cec5
commit
1683309f9c
@ -37,14 +37,15 @@ ADD_FILE=/tmp/kexec/kexec_iso_add.txt
|
|||||||
if [ -r $ADD_FILE ]; then
|
if [ -r $ADD_FILE ]; then
|
||||||
NEW_ADD=`cat $ADD_FILE`
|
NEW_ADD=`cat $ADD_FILE`
|
||||||
ADD=$(eval "echo \"$NEW_ADD\"")
|
ADD=$(eval "echo \"$NEW_ADD\"")
|
||||||
echo "+++ Overriding standard ISO kernel add arguments: $ADD"
|
|
||||||
fi
|
fi
|
||||||
|
echo "+++ Overriding standard ISO kernel arguments with additions: $ADD"
|
||||||
|
|
||||||
REMOVE_FILE=/tmp/kexec/kexec_iso_remove.txt
|
REMOVE_FILE=/tmp/kexec/kexec_iso_remove.txt
|
||||||
if [ -r $REMOVE_FILE ]; then
|
if [ -r $REMOVE_FILE ]; then
|
||||||
NEW_REMOVE=`cat $REMOVE_FILE`
|
NEW_REMOVE=`cat $REMOVE_FILE`
|
||||||
REMOVE=$(eval "echo \"$NEW_REMOVE\"")
|
REMOVE=$(eval "echo \"$NEW_REMOVE\"")
|
||||||
echo "+++ Overriding standard ISO kernel remove arguments: $REMOVE"
|
|
||||||
fi
|
fi
|
||||||
|
echo "+++ Overriding standard ISO kernel arguments with suppressions: $REMOVE"
|
||||||
|
|
||||||
# Call kexec and indicate that hashes have been verified
|
# Call kexec and indicate that hashes have been verified
|
||||||
DO_WITH_DEBUG kexec-select-boot -b /boot -d /media -p "$paramsdir" \
|
DO_WITH_DEBUG kexec-select-boot -b /boot -d /media -p "$paramsdir" \
|
||||||
|
Loading…
Reference in New Issue
Block a user