diff options
author | Andreas Loibl <andreas@andreas-loibl.de> | 2012-02-27 11:12:29 +0100 |
---|---|---|
committer | Andreas Loibl <andreas@andreas-loibl.de> | 2012-02-27 11:12:29 +0100 |
commit | efd1f97aac28cac211c594a7dc7de020d7b21a02 (patch) | |
tree | da203d545d52cb92d1c5d13e19f2e60588589648 /config/binary_local-hooks/mkefipart-fat | |
parent | f2c9544e50c8a9774a2fa7d86bf2ee59761a92e7 (diff) | |
download | kanotix-efd1f97aac28cac211c594a7dc7de020d7b21a02.zip kanotix-efd1f97aac28cac211c594a7dc7de020d7b21a02.tar.gz |
hide the non-HFS EFI-partitions from the Mac OS Bootloader
Diffstat (limited to 'config/binary_local-hooks/mkefipart-fat')
-rwxr-xr-x | config/binary_local-hooks/mkefipart-fat | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/config/binary_local-hooks/mkefipart-fat b/config/binary_local-hooks/mkefipart-fat index 90dd64c..3062d9a 100755 --- a/config/binary_local-hooks/mkefipart-fat +++ b/config/binary_local-hooks/mkefipart-fat @@ -33,4 +33,7 @@ do mcopy -i "$img" $file "::efi/boot/$(basename "$file")" 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" + exit 0 |