summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-10-13 23:08:55 +0100
committerSam James <sam@gentoo.org>2022-10-13 23:09:02 +0100
commit7b66cc591c5501c946ac848034adfe02ab8b5daa (patch)
tree76b8d41ae6d716187a9ff0cfa9e2605d960ae0c4 /eclass/linux-mod.eclass
parentprofiles: mention x11-base/xorg-apps, x11-base/xorg-fonts in xorg-x11 mask (diff)
downloadgentoo-7b66cc591c5501c946ac848034adfe02ab8b5daa.tar.gz
gentoo-7b66cc591c5501c946ac848034adfe02ab8b5daa.tar.bz2
gentoo-7b66cc591c5501c946ac848034adfe02ab8b5daa.zip
linux-mod.eclass: silence pigz search
Fixes: 61f0eab4e3c0272449024e83f32734b0e6d392bb Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass/linux-mod.eclass')
-rw-r--r--eclass/linux-mod.eclass2
1 files changed, 1 insertions, 1 deletions
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"