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 12af93b..6043206 100755
--- a/config/binary_local-hooks/grub2-efi
+++ b/config/binary_local-hooks/grub2-efi
@@ -36,7 +36,7 @@ workdir="$(mktemp -d efi-image.XXXXXX)"
mkdir -p "$workdir/boot/grub"
cat >"$workdir/boot/grub/grub.cfg" <<EOF
search --file --set=root /.disk/info
-set prefix=(\$root)/boot/grub/$platform
+set prefix=(\$root)/boot/grub
source \$prefix/grub.cfg
EOF