diff options
author | Andreas Loibl <andreas@andreas-loibl.de> | 2013-02-10 21:01:19 +0100 |
---|---|---|
committer | Andreas Loibl <andreas@andreas-loibl.de> | 2013-02-10 21:01:19 +0100 |
commit | 233fdfe33c373cf93a107277a8b2f02006930149 (patch) | |
tree | ca84ead0f6bb7b51c8fe3895414b50d420dbfbf9 /config/binary_local-hooks/grub2-hotfixes | |
parent | c375375684e849df27854fe9525161ce03914bdd (diff) | |
download | kanotix-233fdfe33c373cf93a107277a8b2f02006930149.zip kanotix-233fdfe33c373cf93a107277a8b2f02006930149.tar.gz |
grub 2.00
Diffstat (limited to 'config/binary_local-hooks/grub2-hotfixes')
-rwxr-xr-x | config/binary_local-hooks/grub2-hotfixes | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/config/binary_local-hooks/grub2-hotfixes b/config/binary_local-hooks/grub2-hotfixes new file mode 100755 index 0000000..0be01b8 --- /dev/null +++ b/config/binary_local-hooks/grub2-hotfixes @@ -0,0 +1,19 @@ +#!/bin/sh +# hotfixes for grub2.00: +# * move modules to binary/boot/grub/i386-pc + +case "$LB_BOOTLOADER" in +grub2|burg) + ;; +*) + exit 0 + ;; +esac + +if [ -d binary/boot/grub ] +then + mkdir -p binary/boot/grub/i386-pc + mv binary/boot/grub/*.mod binary/boot/grub/*.lst binary/boot/grub/efiemu??.o binary/boot/grub/*.pf2 binary/boot/grub/i386-pc/ +fi + +exit 0 |