486b7efd12
o Remove the code that creates the boot directory on the EFI file system after it has been mounted, as well as remove the code that creates the symlink from /boot -> /efi/boot (*). As a result, /boot will be extracted onto the root file system. o Add a function efi_mountpoint() that returns the mount point of the EFI file system or NULL if no EFI partition is created. This function is used to both check whether there's an EFI file system and to return what its mount point is. o When there's no EFI file system, ask the user if this is what he or she wants. Since we extract /boot onto the root file system, we do not actually need an EFI file system for the installation to work. Whether one wants to install without an EFI partition is of course an entirely different question. We allow it... o When we're done installing and need to fix up the various bits and pieces, check if there's an EFI partition and if yes, move /boot to /efi/boot and create a symlink /boot -> /efi/boot (*). This is a much more reliable way to get /boot onto the EFI partition than creating the symlink up front and hope its being respected. It so happened that we never had the boot directory end up on the EFI partition. We make the symlink relative. (*) /efi is a place holder for the actual EFI mount point of course. |
||
---|---|---|
.. | ||
help | ||
command.c | ||
config.c | ||
devices.c | ||
disks.c | ||
dispatch.c | ||
dmenu.c | ||
globals.c | ||
install.c | ||
keymap.c | ||
label.c | ||
list.h | ||
main.c | ||
Makefile | ||
menus.c | ||
misc.c | ||
msg.c | ||
rtermcap.c | ||
sade.8 | ||
sade.h | ||
system.c | ||
termcap.c | ||
usb.c | ||
variable.c | ||
wizard.c |