diff options
Diffstat (limited to 'backend/modules')
-rw-r--r-- | backend/modules/bootloader | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/backend/modules/bootloader b/backend/modules/bootloader index 99d378d..ac5185b 100644 --- a/backend/modules/bootloader +++ b/backend/modules/bootloader @@ -83,8 +83,7 @@ function install_grub() rm -f $TARGET/boot/vmlinuz $TARGET/boot/System.map $TARGET/boot/initrd.img apple=0 - # TODO Apple detection, e.g. using dmidecode - false && apple=1 + dmidecode -s system-manufacturer | grep -q "Apple Inc." && apple=1 # install grub mkdir -p "$TARGET/boot/grub" |