diff options
author | Andreas Loibl <andreas@andreas-loibl.de> | 2012-03-01 14:30:15 +0100 |
---|---|---|
committer | Andreas Loibl <andreas@andreas-loibl.de> | 2012-03-01 14:30:15 +0100 |
commit | f40a33d0da0c3a3e58f27c02b0959b1d43bb25d1 (patch) | |
tree | 82473aecb978eb94b04c10605a2a2e3c3ca0940c /config/binary_local-hooks/grub2-configs | |
parent | 344dc1493807c22fb3bda6a059facf5c328d8b79 (diff) | |
download | kanotix-f40a33d0da0c3a3e58f27c02b0959b1d43bb25d1.zip kanotix-f40a33d0da0c3a3e58f27c02b0959b1d43bb25d1.tar.gz |
included live-build patches into local tree to make it build with unpatched live-build
Diffstat (limited to 'config/binary_local-hooks/grub2-configs')
-rwxr-xr-x | config/binary_local-hooks/grub2-configs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/config/binary_local-hooks/grub2-configs b/config/binary_local-hooks/grub2-configs new file mode 100755 index 0000000..7cd30ef --- /dev/null +++ b/config/binary_local-hooks/grub2-configs @@ -0,0 +1,17 @@ +#!/bin/sh +# Copying local grub2 configuration files + +case "$LB_BOOTLOADER" in +grub2|burg) + ;; +*) + exit 0 + ;; +esac + +if [ -f config/binary_grub/grub.cfg ] +then + mkdir -p binary/boot/grub + cp config/binary_grub/grub*.cfg binary/boot/grub/ +fi + |