summaryrefslogtreecommitdiff
path: root/eclass/mount-boot-utils.eclass
AgeCommit message (Collapse)Author
2025-01-02mount-boot-utils.eclass: document user variables for skipping mount checkNowa Ammerlaan
And introduce a new variable DONT_MOUNT_ESP to disable only the mount checking of the EFI System Partition. Useful for ebuilds where we know that only /boot is touched and not /efi. Or for users that know their kernel installation layout does not require mounting the ESP. Bug: https://bugs.gentoo.org/937785 Bug: https://bugs.gentoo.org/939760 Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org> Signed-off-by: Michał Górny <mgorny@gentoo.org>
2024-07-12mount-boot{,-utils}.eclass: Update @SUPPORTED_EAPISUlrich Müller
It didn't agree with the case statement below. Signed-off-by: Ulrich Müller <ulm@gentoo.org>
2024-06-29mount-boot.eclass: check for ESP as well as /boot, split eclassAndrew Ammerlaan
This eclass is used by when the dist-kernel has to re-installed. Depending on the configuration of sys-kernel/installkernel, the files may be installed to /boot or to the EFI System partition. Therefore, extend this eclass to check if the ESP is mounted read-write as well on UEFI platforms. Split off the main functions into a separate "inherit-safe" eclass so we can safely use it in dist-kernel-utils.eclass and linux-mod-r1.eclass. In the process we drop support for EAPI 6, since there are no EAPI 6 consumers left in ::gentoo. Signed-off-by: Andrew Ammerlaan <andrewammerlaan@gentoo.org>