diff options
author | 2025-01-06 18:34:57 +0100 | |
---|---|---|
committer | 2025-01-06 21:25:34 +0100 | |
commit | 54e6dfe511a93656092b9672755b857136daab79 (patch) | |
tree | ef4e081f3a9b68d2b04ef87fbb592c429b7eb684 /eclass | |
parent | kernel-build.eclass: resolve configure problem with USE=secureboot (diff) | |
download | gentoo-54e6dfe511a93656092b9672755b857136daab79.tar.gz gentoo-54e6dfe511a93656092b9672755b857136daab79.tar.bz2 gentoo-54e6dfe511a93656092b9672755b857136daab79.zip |
linux-mod-r1.eclass: drop left over -z ROOT condition
This we don't need any more since dist-kernel_reinstall_initramfs already
does the appropriate checks.
Signed-off-by: Nowa Ammerlaan <nowa@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/linux-mod-r1.eclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/linux-mod-r1.eclass b/eclass/linux-mod-r1.eclass index f6a5d4f187d8..16c280219ef8 100644 --- a/eclass/linux-mod-r1.eclass +++ b/eclass/linux-mod-r1.eclass @@ -333,7 +333,7 @@ linux-mod-r1_pkg_setup() { _MODULES_GLOBAL[ran:pkg_setup]=1 _modules_check_function ${#} 0 0 || return 0 - if [[ -z ${ROOT} && ${MODULES_INITRAMFS_IUSE} ]] && + if [[ ${MODULES_INITRAMFS_IUSE} ]] && use dist-kernel && use ${MODULES_INITRAMFS_IUSE#+} then # Check, but don't die because we can fix the problem and then |