mirror of
https://github.com/linuxboot/heads.git
synced 2025-03-21 19:45:21 +00:00
kexec-boot, functions: Restore eval and DO_WITH_DEBUG that were deleted
`eval "$kexeccmd"` should become `DO_WITH_DEBUG eval "$kexeccmd"` when adding DO_WITH_DEBUG, command invocation is still the same, still needs eval. Restore DO_WITH_DEBUG in front of kexec-parse-boot that had been removed. Signed-off-by: Jonathon Hall <jonathon.hall@puri.sm>
This commit is contained in:
parent
d8810b7032
commit
d3656bbe65
@ -151,7 +151,7 @@ if [ "$dryrun" = "y" ]; then exit 0; fi
|
||||
|
||||
echo "Loading the new kernel:"
|
||||
echo "$kexeccmd"
|
||||
DO_WITH_DEBUG "$kexeccmd" \
|
||||
DO_WITH_DEBUG eval "$kexeccmd" \
|
||||
|| die "Failed to load the new kernel"
|
||||
|
||||
if [ "$CONFIG_DEBUG_OUTPUT" = "y" ];then
|
||||
|
@ -763,7 +763,7 @@ scan_boot_options() {
|
||||
|
||||
if [ -r $option_file ]; then rm $option_file; fi
|
||||
for i in $(find $bootdir -name "$config"); do
|
||||
kexec-parse-boot "$bootdir" "$i" >>$option_file
|
||||
DO_WITH_DEBUG kexec-parse-boot "$bootdir" "$i" >>$option_file
|
||||
done
|
||||
# FC29/30+ may use BLS format grub config files
|
||||
# https://fedoraproject.org/wiki/Changes/BootLoaderSpecByDefault
|
||||
|
Loading…
x
Reference in New Issue
Block a user