commit: 7b66cc591c5501c946ac848034adfe02ab8b5daa
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 13 22:08:55 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Oct 13 22:09:02 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b66cc59
linux-mod.eclass: silence pigz search
Fixes: 61f0eab4e3c0272449024e83f32734b0e6d392bb
Signed-off-by: Sam James <sam <AT> gentoo.org>
eclass/linux-mod.eclass | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/eclass/linux-mod.eclass b/eclass/linux-mod.eclass
index 7f4ddb9b8ee6..850645106e63 100644
--- a/eclass/linux-mod.eclass
+++ b/eclass/linux-mod.eclass
@@ -719,7 +719,7 @@ linux-mod_src_install() {
xz -T$(makeopts_jobs) ${modulename}.${KV_OBJ} || die
"Compressing ${modulename}.${KV_OBJ} with xz failed"
doins ${modulename}.${KV_OBJ}.xz
elif linux_chkconfig_present MODULE_COMPRESS_GZIP; then
- if type -P pigz ; then
+ if type -P pigz &>/dev/null ; then
pigz -n$(makeopts_jobs) ${modulename}.${KV_OBJ}
|| die "Compressing ${modulename}.${KV_OBJ} with pigz failed"
else
gzip ${modulename}.${KV_OBJ} || die
"Compressing ${modulename}.${KV_OBJ} with gzip failed"