#3 kdump-lib: strip grub device from kdump_bootdir
Merged 4 years ago by kasong. Opened 4 years ago by yuvalturg.
rpms/ yuvalturg/kexec-tools kdump_boot_dir  into  master

file modified
+1 -1
@@ -667,7 +667,7 @@ 



          eval $(cat /proc/cmdline| grep "BOOT_IMAGE" | cut -d' ' -f1)

-         kdump_bootdir="/boot"$(dirname $BOOT_IMAGE)

+         kdump_bootdir="/boot"$(dirname ${BOOT_IMAGE#*)})


      echo $kdump_bootdir


When trying to setup kdump for fedora-coreos, kdumpctl start fails to
find the correct boot directory since BOOT_IMAGE start with the grub
device name

Signed-off-by: Yuval Turgeman yturgema@redhat.com

Pull-Request has been merged by kasong

4 years ago