Use prefix=($root) instead of prefix=$root in efi script
authorUlrich Dangel <mru@grml.org>
Thu, 8 Dec 2011 00:45:04 +0000 (01:45 +0100)
committerUlrich Dangel <mru@grml.org>
Thu, 8 Dec 2011 00:45:10 +0000 (01:45 +0100)
etc/grml/fai/config/scripts/GRMLBASE/45-efi

index e2fc787..c8d40dd 100755 (executable)
@@ -30,7 +30,7 @@ rm -f "$GRUB_EFI_IMAGE" "$TMP_CONFIG" "$EFI_IMAGE"
 cat > "$TMP_CONFIG" <<EOF
 search --set -f /conf/bootid.txt root
 if [ -e /boot/grub/grub.cfg ]; then
- set prefix=\$root/boot/grub
+ set prefix=(\$root)/boot/grub
  configfile /boot/grub/grub.cfg
 else
  echo "E: Could not find root device!"