mount-boot.eclass

Name

mount-boot.eclass -- eclass for packages that install files into /boot or the ESP

Description

This eclass is really only useful for bootloaders and kernel installation.

If the live system has a separate /boot partition or ESP configured, then this function tries to ensure that it's mounted in rw mode, exiting with an error if it can't. It does nothing if /boot and ESP isn't a separate partition.

This eclass exports the functions provided by mount-boot-utils.eclass to the pkg_pretend and pkg_{pre,post}{inst,rm} phases.

Supported EAPIs

7 8

Exported Phases

  • pkg_prerm

  • pkg_postrm

  • pkg_preinst

  • pkg_postinst

  • pkg_pretend

Reporting Bugs

Please report bugs via https://bugs.gentoo.org/