diff options
author | librewish | 2021-09-15 20:42:07 +0530 |
---|---|---|
committer | librewish | 2021-09-15 20:42:07 +0530 |
commit | 69cab91b343aef6d0c887aeae6cbc0ddbdcbccc0 (patch) | |
tree | de271501214faa303bf11b33099534696c1852a9 /os-prober-probe-MD-devices.patch | |
parent | 66857a13aebc4ff4da0f06b027231b18cdefc314 (diff) | |
download | aur-69cab91b343aef6d0c887aeae6cbc0ddbdcbccc0.tar.gz |
revert all patches
Diffstat (limited to 'os-prober-probe-MD-devices.patch')
-rw-r--r-- | os-prober-probe-MD-devices.patch | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/os-prober-probe-MD-devices.patch b/os-prober-probe-MD-devices.patch deleted file mode 100644 index 28a5dc355713..000000000000 --- a/os-prober-probe-MD-devices.patch +++ /dev/null @@ -1,26 +0,0 @@ -Index: os-prober-1.61/os-prober -=================================================================== ---- os-prober-1.61.orig/os-prober -+++ os-prober-1.61/os-prober -@@ -39,6 +39,11 @@ partitions () { - fi - done - -+ # Add Linux MD unpartioned devices. Linux MD partitions are already covered above -+ [ -f /proc/mdstat ] && grep '^md' /proc/mdstat | while read md line; do -+ [ -e "/dev/$md" ] && echo "/dev/$md" -+ done -+ - # Add Serial ATA RAID devices - if type dmraid >/dev/null 2>&1 && \ - dmraid -s -c >/dev/null 2>&1; then -@@ -79,7 +84,8 @@ parse_proc_mdstat () { - udevadm info "$@" - } - fi -- while read line; do -+ # Only add MD slaves to the list -+ while read md line; do - for word in $line; do - dev="${word%%\[*}" - # TODO: factor this out to something in di-utils if |