create_disk: fix UEFI GRUB $prefix
$prefix is supposed to point to the grub directory, not the root of the
filesystem:
On UEFI we don't dynamically load modules, so there's no functional
consequence, but we might as well be correct.
Fixes: ("create_disk: fix UEFI secure boot")
@@ -333,8 +333,8 @@ install_uefi() {
mkdir -p "${vendordir}"
cat > ${vendordir}/grub.cfg << 'EOF'
search --label boot --set prefix
-set prefix=($prefix)
-configfile $prefix/grub2/grub.cfg
+set prefix=($prefix)/grub2
+configfile $prefix/grub.cfg
boot
EOF
install_grub_cfg
