summaryrefslogtreecommitdiff
path: root/config/binary_local-hooks/grub2-efi
diff options
context:
space:
mode:
authorAndreas Loibl <andreas@andreas-loibl.de>2013-02-10 23:21:02 +0100
committerAndreas Loibl <andreas@andreas-loibl.de>2013-02-10 23:21:02 +0100
commit506817b8e681f68951a652b99812146255eaa9c9 (patch)
treeac99a66e20dac44632d2031734dc22f54e976731 /config/binary_local-hooks/grub2-efi
parent3f6c8c23bd25c0508532a33bbdfd77276334c8d0 (diff)
downloadkanotix-506817b8e681f68951a652b99812146255eaa9c9.zip
kanotix-506817b8e681f68951a652b99812146255eaa9c9.tar.gz
grub2 EFI prefix fix, kernel 3.8.0-4
Diffstat (limited to 'config/binary_local-hooks/grub2-efi')
-rwxr-xr-xconfig/binary_local-hooks/grub2-efi2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/binary_local-hooks/grub2-efi b/config/binary_local-hooks/grub2-efi
index 6043206..5ed694a 100755
--- a/config/binary_local-hooks/grub2-efi
+++ b/config/binary_local-hooks/grub2-efi
@@ -37,7 +37,7 @@ mkdir -p "$workdir/boot/grub"
cat >"$workdir/boot/grub/grub.cfg" <<EOF
search --file --set=root /.disk/info
set prefix=(\$root)/boot/grub
-source \$prefix/grub.cfg
+source \$prefix/$platform/grub.cfg
EOF
mkdir -p "binary/boot/grub/$platform"