summaryrefslogtreecommitdiff
path: root/config/binary_local-hooks/grub2-hotfixes
blob: 0be01b874eb8e1cab022cf33a2a23d0f42d124da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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