From 419935a01140e97ffcb6c8bef638c16b6dccc127 Mon Sep 17 00:00:00 2001
From: Andreas Loibl <andreas@andreas-loibl.de>
Date: Wed, 29 Feb 2012 19:47:45 +0100
Subject: changed hiding of the EFI-dir in FAT

---
 config/binary_local-hooks/mkefipart-fat | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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
-- 
cgit v1.0