mkfadumprd: drop unset globals from debug output
mkfadumprd doesn't call prepare_kdump_bootinfo from kdump-lib.sh. Thus both KDUMP_KERNELVER and DEFAULT_INITRD are always empty. Simply remove them from the debug print. Signed-off-by: Philipp Rudo <prudo@redhat.com> Reviewed-by: Coiby Xu <coxu@redhat.com>
This commit is contained in:
parent
b9fd7a4076
commit
383cb62202
2
mkfadumprd
Normal file → Executable file
2
mkfadumprd
Normal file → Executable file
@ -37,7 +37,7 @@ FADUMP_INITRD="$MKFADUMPRD_TMPDIR/fadump.img"
|
|||||||
### First build an initramfs with dump capture capability
|
### First build an initramfs with dump capture capability
|
||||||
# this file tells the initrd is fadump enabled
|
# this file tells the initrd is fadump enabled
|
||||||
touch "$MKFADUMPRD_TMPDIR/fadump.initramfs"
|
touch "$MKFADUMPRD_TMPDIR/fadump.initramfs"
|
||||||
ddebug "rebuild fadump initrd: $FADUMP_INITRD $DEFAULT_INITRD $KDUMP_KERNELVER"
|
ddebug "rebuild fadump initrd: $FADUMP_INITRD"
|
||||||
# Don't use squash for capture image or default image as it negatively impacts
|
# Don't use squash for capture image or default image as it negatively impacts
|
||||||
# compression ratio and increases the size of the initramfs image.
|
# compression ratio and increases the size of the initramfs image.
|
||||||
# Don't compress the capture image as uncompressed image is needed immediately.
|
# Don't compress the capture image as uncompressed image is needed immediately.
|
||||||
|
Loading…
Reference in New Issue
Block a user