Files
gentoo/eclass/mount-boot.eclass
Mike Gilbert 15b35d9a93 mount-boot.eclass: drop .keep hack from pkg_prerm
If /boot is empty and not a mount point, there is no need to keep the
directory around after unmerging the last package that "owns" it.

If /boot is a mount point, we ensure it is mounted and Portage will be
unable to remove it.

If DONT_MOUNT_BOOT is set, the user is responsible for the results.

Signed-off-by: Mike Gilbert <floppym@gentoo.org>
2026-06-19 20:32:09 -04:00

1.2 KiB