diff options
author | Andreas Loibl <andreas@andreas-loibl.de> | 2012-02-09 04:22:58 +0100 |
---|---|---|
committer | Andreas Loibl <andreas@andreas-loibl.de> | 2012-02-09 04:22:58 +0100 |
commit | f9709968ac068f7c394bd3c85ed1d2d16ccf8409 (patch) | |
tree | d8385a7ea863c0f0c4bcf3451f5bc3aa980307ae /config/binary_local-hooks/grub2-theme | |
parent | 34c0add469090e1a995e0de8597e13e17b58489a (diff) | |
download | kanotix-f9709968ac068f7c394bd3c85ed1d2d16ccf8409.zip kanotix-f9709968ac068f7c394bd3c85ed1d2d16ccf8409.tar.gz |
only include efi-stuff into binary if bootloader is grub2
Diffstat (limited to 'config/binary_local-hooks/grub2-theme')
-rwxr-xr-x | config/binary_local-hooks/grub2-theme | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/config/binary_local-hooks/grub2-theme b/config/binary_local-hooks/grub2-theme index 8fd752a..36464ee 100755 --- a/config/binary_local-hooks/grub2-theme +++ b/config/binary_local-hooks/grub2-theme @@ -1,5 +1,13 @@ #!/bin/bash # copy theme related files to binary +case "$LB_BOOTLOADER" in +grub2|burg) + ;; +*) + exit 0 + ;; +esac + mkdir -p binary/boot/grub cp chroot/usr/share/grub/unicode.pf2 binary/boot/grub/ cp chroot/usr/share/images/grub/kanotix-logo.png binary/boot/grub/ |