SHA256
1
0
forked from pool/os-prober

Accepting request 343288 from home:posophe:branches:Base:System

update

OBS-URL: https://build.opensuse.org/request/show/343288
OBS-URL: https://build.opensuse.org/package/show/Base:System/os-prober?expand=0&rev=63
This commit is contained in:
2015-11-10 07:39:12 +00:00
committed by Git OBS Bridge
parent 6be7187d97
commit c33964460d
7 changed files with 20 additions and 121 deletions

View File

@@ -2,10 +2,10 @@ Index: os-prober-1.61/os-prober
===================================================================
--- os-prober-1.61.orig/os-prober
+++ os-prober-1.61/os-prober
@@ -24,6 +24,29 @@ on_sataraid () {
@@ -23,6 +23,28 @@
fi
return 1
}
+mp_disks="UNDEF"
+on_multipath () {
+ type multipath >/dev/null 2>&1 || return 1
@@ -28,10 +28,9 @@ Index: os-prober-1.61/os-prober
+ done
+ return 1
+}
+
partitions () {
# Exclude partitions that have whole_disk sysfs attribute set.
if [ -d /sys/block ]; then
os_name="$(uname -s)"
@@ -31,7 +54,7 @@ partitions () {
# Serial ATA RAID disk.
for part in /sys/block/*/*[0-9]; do