9c9fafff0c
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 | ||
anonFTP.c | ||
cdrom.c | ||
command.c | ||
config.c | ||
devices.c | ||
dhcp.c | ||
disks.c | ||
dispatch.c | ||
dist.c | ||
dist.h | ||
dmenu.c | ||
doc.c | ||
dos.c | ||
floppy.c | ||
ftp.c | ||
globals.c | ||
http.c | ||
index.c | ||
install.c | ||
install.cfg | ||
installUpgrade.c | ||
keymap.c | ||
label.c | ||
list.h | ||
main.c | ||
Makefile | ||
media.c | ||
menus.c | ||
misc.c | ||
modules.c | ||
mouse.c | ||
msg.c | ||
network.c | ||
nfs.c | ||
options.c | ||
package.c | ||
pccard.c | ||
rtermcap.c | ||
sysinstall.8 | ||
sysinstall.h | ||
system.c | ||
tape.c | ||
tcpip.c | ||
termcap.c | ||
ttys.c | ||
ufs.c | ||
usb.c | ||
user.c | ||
variable.c | ||
wizard.c |