exit 1
}
-boot_mountpoint="/boot"
-
# Make sure the installer framework variables are defined
[ "x$INSTALLERFW_INSTALLER_NAME" != "x" ] ||
fatal "installer framework environment variables not found"
if [ "$mountpoint" == "/" ]; then
root_partuuid=INSTALLERFW_PART${pnum}_PARTUUID
root_partuuid="$(eval printf "%s" '$'$root_partuuid)"
- elif [ "$mountpoint" == "$boot_mountpoint" ]; then
+ # The boot parition has to be at "/boot"
+ elif [ "$mountpoint" == "/boot" ]; then
boot_fstype=INSTALLERFW_PART${pnum}_FSTYPE
boot_fstype="$(eval printf "%s" '$'$boot_fstype)"
fi
[ "$boot_fstype" == "vfat" ] || \
fatal "boot partition has to have type \"vfat\""
+# Find the current path to the boot partition
+boot_mountpoint="$INSTALLERFW_MOUNT_PREFIX/boot"
+
# Make sure gummiboot is installed in the system
if ! ([ -f /usr/lib/gummiboot/gummibootia32.efi ] || \
[ -f /usr/lib/gummiboot/gummibootx64.efi ]); then