diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-25 02:03:50 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-25 02:03:50 +0000 |
commit | 426aa983e40197a69c600c42e0679b2161ca225c (patch) | |
tree | 0d279fe549a8f3cc4b684897eaf275d91c8411fe /eclass/kernel-install.eclass | |
parent | ec9f79e1d3358df31a704f16a76a269ccceae2b2 (diff) |
gentoo auto-resync : 25:12:2022 - 02:03:49
Diffstat (limited to 'eclass/kernel-install.eclass')
-rw-r--r-- | eclass/kernel-install.eclass | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/eclass/kernel-install.eclass b/eclass/kernel-install.eclass index fba65a76ccce..49aff35dea0d 100644 --- a/eclass/kernel-install.eclass +++ b/eclass/kernel-install.eclass @@ -6,7 +6,7 @@ # Distribution Kernel Project <dist-kernel@gentoo.org> # @AUTHOR: # Michał Górny <mgorny@gentoo.org> -# @SUPPORTED_EAPIS: 7 8 +# @SUPPORTED_EAPIS: 8 # @PROVIDES: dist-kernel-utils # @BLURB: Installation mechanics for Distribution Kernels # @DESCRIPTION: @@ -29,9 +29,10 @@ # kernel-build.eclass obtains it from kernel config. if [[ ! ${_KERNEL_INSTALL_ECLASS} ]]; then +_KERNEL_INSTALL_ECLASS=1 case ${EAPI} in - 7|8) ;; + 8) ;; *) die "${ECLASS}: EAPI ${EAPI:-0} not supported" ;; esac @@ -46,17 +47,12 @@ RESTRICT+=" " # note: we need installkernel with initramfs support! -_INSTALL_DEPEND=" +IDEPEND=" || ( sys-kernel/installkernel-gentoo sys-kernel/installkernel-systemd-boot ) initramfs? ( >=sys-kernel/dracut-049-r3 )" -if [[ ${EAPI} == 7 ]]; then - RDEPEND="${_INSTALL_DEPEND}" -else - IDEPEND="${_INSTALL_DEPEND}" -fi # needed by objtool that is installed along with the kernel and used # to build external modules # NB: linux-mod.eclass also adds this dep but it's cleaner to have @@ -533,7 +529,6 @@ kernel-install_pkg_config() { kernel-install_install_all "${PV}${KV_LOCALVERSION}" } -_KERNEL_INSTALL_ECLASS=1 fi EXPORT_FUNCTIONS src_test pkg_preinst pkg_postinst pkg_prerm pkg_postrm |