Merge #3 kdump-lib: strip grub device from kdump_bootdir
This commit is contained in:
commit
367ca85d1f
@ -667,7 +667,7 @@ check_boot_dir()
|
||||
kdump_bootdir="/boot"
|
||||
else
|
||||
eval $(cat /proc/cmdline| grep "BOOT_IMAGE" | cut -d' ' -f1)
|
||||
kdump_bootdir="/boot"$(dirname $BOOT_IMAGE)
|
||||
kdump_bootdir="/boot"$(dirname ${BOOT_IMAGE#*)})
|
||||
fi
|
||||
echo $kdump_bootdir
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user