summaryrefslogtreecommitdiff
path: root/config/binary_local-hooks
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2012-02-29 19:47:45 +0100
committerAndreas Loibl <andreas@andreas-loibl.de>2012-02-29 19:47:45 +0100
commit419935a01140e97ffcb6c8bef638c16b6dccc127 (patch)
tree761bc682f583001928206b6d683ec9b7e5e69b09 /config/binary_local-hooks
parenta8862308d06f484a5e848fda8870d0fb27f96e1d (diff)
downloadkanotix-419935a01140e97ffcb6c8bef638c16b6dccc127.zip
kanotix-419935a01140e97ffcb6c8bef638c16b6dccc127.tar.gz
changed hiding of the EFI-dir in FAT
Diffstat (limited to 'config/binary_local-hooks')
-rwxr-xr-xconfig/binary_local-hooks/mkefipart-fat3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/binary_local-hooks/mkefipart-fat b/config/binary_local-hooks/mkefipart-fat
index 3062d9a..a81d520 100755
--- a/config/binary_local-hooks/mkefipart-fat
+++ b/config/binary_local-hooks/mkefipart-fat
@@ -34,6 +34,7 @@ do
done
# hide the FAT-EFI-partition from the Mac Bootloader by f***ing up the "EFI" directory entry
-sed -i -e '0,/EFI /s/EFI /EFI \x0\x0\x0/' "$img"
+mattrib -i "$img" +h ::efi
+sed -i -e '0,/EFI /s/EFI /efi /' "$img"
exit 0