diff --git a/os-prober-1.49-grub2-mount.patch b/os-prober-1.49-grub2-mount.patch index e044206..ddcf5bb 100644 --- a/os-prober-1.49-grub2-mount.patch +++ b/os-prober-1.49-grub2-mount.patch @@ -17,7 +17,7 @@ Index: os-prober-1.76/linux-boot-probes/common/50mounted-tests =================================================================== --- os-prober-1.76.orig/linux-boot-probes/common/50mounted-tests +++ os-prober-1.76/linux-boot-probes/common/50mounted-tests -@@ -48,11 +48,12 @@ if [ ! -d "$tmpmnt" ]; then +@@ -48,11 +48,11 @@ if [ ! -d "$tmpmnt" ]; then fi mounted= @@ -28,7 +28,7 @@ Index: os-prober-1.76/linux-boot-probes/common/50mounted-tests + type grub2-probe >/dev/null 2>&1 && \ + grub2-mount "$partition" "$tmpmnt" 2>/dev/null; then mounted=1 - type="$(grub-probe -d "$partition" -t fs)" +- type="$(grub-probe -d "$partition" -t fs)" + type="$(grub2-probe -d "$partition" -t fs)" [ "$type" ] || type=fuseblk fi diff --git a/os-prober.changes b/os-prober.changes index a1f65aa..712fde8 100644 --- a/os-prober.changes +++ b/os-prober.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Oct 31 07:08:10 UTC 2018 - mchang@suse.com + +- Fix missing grub-probe command that caused linux-boot-probe to abort + prematurely. It is a mistake while rebasing patch to 1.76 (bsc#1113615) + * os-prober-1.49-grub2-mount.patch + ------------------------------------------------------------------- Mon Oct 8 10:01:45 UTC 2018 - mchang@suse.com