diff options
Diffstat (limited to 'eclass/kernel-2.eclass')
-rw-r--r-- | eclass/kernel-2.eclass | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass index 55b59fd9e90f..ffbe986f3e87 100644 --- a/eclass/kernel-2.eclass +++ b/eclass/kernel-2.eclass @@ -288,7 +288,7 @@ # Moved this above inherit as crossdev.eclass uses CHOST internally. [[ ${PROFILE_ARCH} == ppc64 ]] && CHOST="powerpc64-${CHOST#*-}" -inherit crossdev estack multiprocessing toolchain-funcs +inherit crossdev estack multiprocessing optfeature toolchain-funcs case ${EAPI} in 7|8) ;; @@ -992,6 +992,9 @@ postinst_sources() { fi fi fi + + optfeature "versioned kernel image installation and optionally automating tasks such as generating an initramfs or unified kernel image" \ + "sys-kernel/installkernel" } # pkg_setup functions |