summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorNowa Ammerlaan <nowa@gentoo.org>2025-01-06 18:34:57 +0100
committerNowa Ammerlaan <nowa@gentoo.org>2025-01-06 21:25:34 +0100
commit54e6dfe511a93656092b9672755b857136daab79 (patch)
treeef4e081f3a9b68d2b04ef87fbb592c429b7eb684 /eclass
parentkernel-build.eclass: resolve configure problem with USE=secureboot (diff)
downloadgentoo-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.eclass2
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