diff options
author | librewish | 2021-09-12 20:30:34 +0530 |
---|---|---|
committer | librewish | 2021-09-12 20:30:34 +0530 |
commit | 752ceb29fd23a6c4cffbca9f65adad1cb53f4872 (patch) | |
tree | a41fd50e983356d81f724b91463f8855bae07d9a /os-prober-no-dummy-mach-kernel.patch | |
parent | 5271f23d8ac140f2db82697b645c38a41ccc78ac (diff) | |
download | aur-752ceb29fd23a6c4cffbca9f65adad1cb53f4872.tar.gz |
add patches from opensuse
Diffstat (limited to 'os-prober-no-dummy-mach-kernel.patch')
-rw-r--r-- | os-prober-no-dummy-mach-kernel.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/os-prober-no-dummy-mach-kernel.patch b/os-prober-no-dummy-mach-kernel.patch deleted file mode 100644 index b9e1254150e4..000000000000 --- a/os-prober-no-dummy-mach-kernel.patch +++ /dev/null @@ -1,22 +0,0 @@ -From f71f7eb5c492720c24033901ef8c6c420e188ff2 Mon Sep 17 00:00:00 2001 -From: Peter Jones <pjones@redhat.com> -Date: Thu, 10 May 2012 14:47:35 -0400 -Subject: [PATCH] Don't count our dummy mach_kernel as real MacOS X. - ---- - os-probes/mounted/powerpc/20macosx | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -Index: b/os-probes/mounted/powerpc/20macosx -=================================================================== ---- a/os-probes/mounted/powerpc/20macosx -+++ b/os-probes/mounted/powerpc/20macosx -@@ -21,7 +21,7 @@ esac - # but I don't think it exists on Mac OS <= 9, and it's XML so parsing in - # shell will be nasty. - --if [ -e "$2/mach_kernel" ]; then -+if [ -e "$2/mach_kernel" ] && ! dd if="$2/mach_kernel" count=1 bs=5 2>/dev/null | grep -aq Dummy ; then - label="$(count_next_label MacOSX)" - result "$1:Mac OS X:$label:macosx" - exit 0 |