Skip to content

Commit

Permalink
installer: Add rootimg parameter for ISO boot
Browse files Browse the repository at this point in the history
The rootfs of the installer application is now provided through a squashfs
image on ISO installations. This commit adds the rootimg parameter that
points to the corresponding file.

Signed-off-by: Renê de Souza Pinto <[email protected]>
(cherry picked from commit c6a2469)
  • Loading branch information
rene authored and eriknordmark committed Mar 10, 2025
1 parent 9853715 commit cc40fc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/eve/installer/grub_installer.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,6 @@ if [ "$rootlabel" = "EVEISO" ]; then
set_global rootfs_root "/installer.iso"
else
set_global initrd "/boot/initrd.img" # add a simple custom initrd that will find the CD based on the label on the next line
set_global rootfs_root "LABEL=$rootlabel"
set_global rootfs_root "LABEL=$rootlabel rootimg=/rootfs_installer.img"
fi
fi

0 comments on commit cc40fc1

Please sign in to comment.