summaryrefslogtreecommitdiff
path: root/eclass/dist-kernel-utils.eclass
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-12-07 02:07:26 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-12-07 02:07:26 +0000
commit2198f8593ae0312add1bdccb49edfcb935e5f8a6 (patch)
tree67d79ffd7e91cc3858d188c49a65f46860a9bac7 /eclass/dist-kernel-utils.eclass
parentd285f0ab4ab38d4ea1cd0757a465db5f06764e06 (diff)
gentoo auto-resync : 07:12:2024 - 02:07:26
Diffstat (limited to 'eclass/dist-kernel-utils.eclass')
-rw-r--r--eclass/dist-kernel-utils.eclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/dist-kernel-utils.eclass b/eclass/dist-kernel-utils.eclass
index 67ba459f0ebe..210c586c8c29 100644
--- a/eclass/dist-kernel-utils.eclass
+++ b/eclass/dist-kernel-utils.eclass
@@ -175,7 +175,8 @@ dist-kernel_get_module_suffix() {
echo .ko
elif [[ ! -r ${config} ]]; then
die "Cannot find kernel config ${config}"
- elif grep -q "CONFIG_MODULE_COMPRESS_NONE=y" "${config}"; then
+ elif grep -q "CONFIG_MODULE_COMPRESS_NONE=y" "${config}" ||
+ grep -q "# CONFIG_MODULE_COMPRESS is not set" "${config}"; then
echo .ko
elif grep -q "CONFIG_MODULE_COMPRESS_GZIP=y" "${config}"; then
echo .ko.gz