SHA256
1
0
forked from pool/os-prober
Dominique Leuenberger 2018-11-06 14:32:59 +00:00 committed by Git OBS Bridge
commit 60e80c8cea
2 changed files with 9 additions and 2 deletions

View File

@ -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.orig/linux-boot-probes/common/50mounted-tests
+++ os-prober-1.76/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 fi
mounted= mounted=
@ -28,7 +28,7 @@ Index: os-prober-1.76/linux-boot-probes/common/50mounted-tests
+ type grub2-probe >/dev/null 2>&1 && \ + type grub2-probe >/dev/null 2>&1 && \
+ grub2-mount "$partition" "$tmpmnt" 2>/dev/null; then + grub2-mount "$partition" "$tmpmnt" 2>/dev/null; then
mounted=1 mounted=1
type="$(grub-probe -d "$partition" -t fs)" - type="$(grub-probe -d "$partition" -t fs)"
+ type="$(grub2-probe -d "$partition" -t fs)" + type="$(grub2-probe -d "$partition" -t fs)"
[ "$type" ] || type=fuseblk [ "$type" ] || type=fuseblk
fi fi

View File

@ -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 Mon Oct 8 10:01:45 UTC 2018 - mchang@suse.com