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-accept-ESP-on-IMSM.patch | |
parent | 66857a13aebc4ff4da0f06b027231b18cdefc314 (diff) | |
download | aur-69cab91b343aef6d0c887aeae6cbc0ddbdcbccc0.tar.gz |
revert all patches
Diffstat (limited to 'os-prober-accept-ESP-on-IMSM.patch')
-rw-r--r-- | os-prober-accept-ESP-on-IMSM.patch | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/os-prober-accept-ESP-on-IMSM.patch b/os-prober-accept-ESP-on-IMSM.patch deleted file mode 100644 index 71004bc8c078..000000000000 --- a/os-prober-accept-ESP-on-IMSM.patch +++ /dev/null @@ -1,33 +0,0 @@ -Index: os-prober-1.76/os-probes/mounted/x86/05efi -=================================================================== ---- os-prober-1.76.orig/os-probes/mounted/x86/05efi -+++ os-prober-1.76/os-probes/mounted/x86/05efi -@@ -28,13 +28,24 @@ if type udevadm > /dev/null 2>&1; then - fi - - if type udevinfo > /dev/null 2>&1; then -- # Skip virtual devices -+ eval "$(udevinfo -q property -n "$partition" | grep -E '^(MD_CONTAINER|ID_PART_ENTRY_(TYPE|SCHEME))=')" -+ debug "$partition container is '$MD_CONTAINER'" -+ -+ # Skip virtual devices unless they are known SW-RAID - if udevinfo -q path -n $partition | grep -q /virtual/; then -- debug "$1 is virtual device: exiting" -- exit 1 -+ # Check for Intel Matrix array -+ if [ -n "$MD_CONTAINER" ]; then -+ eval "$(udevinfo -q property -n "$MD_CONTAINER" | grep -E '^MD_METADATA=')" -+ debug "$MD_CONTAINER metadata is '$MD_METADATA'" -+ fi -+ if [ "$MD_METADATA" = imsm ]; then -+ debug "$partition is on IMSM array" -+ else -+ debug "$1 is virtual device: exiting" -+ exit 1 -+ fi - fi - -- eval "$(udevinfo -q property -n "$partition" | grep -E '^ID_PART_ENTRY_(TYPE|SCHEME)=')" - debug "$partition partition scheme is $ID_PART_ENTRY_SCHEME" - debug "$partition partition type is $ID_PART_ENTRY_TYPE" - |