summaryrefslogtreecommitdiff
path: root/config/binary_local-hooks/grub2-efi
diff options
context:
space:
mode:
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"