diff options
author | Andreas Loibl <andreas@andreas-loibl.de> | 2014-05-09 13:20:09 +0200 |
---|---|---|
committer | Andreas Loibl <andreas@andreas-loibl.de> | 2014-05-09 13:20:09 +0200 |
commit | b490e5fd8b6101dc35a194d551a27a08585c6d6c (patch) | |
tree | 7a8680287de09343fe05e8de8e019c7beb3524fb | |
parent | 513cbc26b177f52fa83d981a18cb7c3115351748 (diff) | |
download | acritoxinstaller-b490e5fd8b6101dc35a194d551a27a08585c6d6c.zip acritoxinstaller-b490e5fd8b6101dc35a194d551a27a08585c6d6c.tar.gz |
Apple detection for Grub
-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" |