summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass')
-rw-r--r--eclass/Manifest.gzbin39112 -> 39113 bytes
-rw-r--r--eclass/kernel-2.eclass5
2 files changed, 4 insertions, 1 deletions
diff --git a/eclass/Manifest.gz b/eclass/Manifest.gz
index be2ff733dc48..c8b8d8acbcc5 100644
--- a/eclass/Manifest.gz
+++ b/eclass/Manifest.gz
Binary files differ
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