summaryrefslogtreecommitdiff
path: root/config/binary_local-hooks/mkefipart-fat
diff options
context:
space:
mode:
Diffstat (limited to 'config/binary_local-hooks/mkefipart-fat')
-rwxr-xr-xconfig/binary_local-hooks/mkefipart-fat9
1 files changed, 9 insertions, 0 deletions
diff --git a/config/binary_local-hooks/mkefipart-fat b/config/binary_local-hooks/mkefipart-fat
index 5273076..90dd64c 100755
--- a/config/binary_local-hooks/mkefipart-fat
+++ b/config/binary_local-hooks/mkefipart-fat
@@ -3,6 +3,15 @@
#
# Generate an image for a FAT-EFI-partition
+case "$LB_BOOTLOADER" in
+grub2|burg)
+ ;;
+*)
+ exit 0
+ ;;
+esac
+
+
if [ ! -x /usr/bin/mmd ]; then
echo "Error: mtools are needed! Run: apt-get install mtools"
exit 1