commit:     2cac2a01d770fa260b20696f7ebb378141607cd5
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 15 12:58:10 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Oct 15 12:58:10 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2cac2a01

linux-mod.eclass: fix pigz threads argument

I'm sorry, I thought I'd caught this before.

Closes: https://bugs.gentoo.org/877207
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 850645106e63..f0005a8cca65 100644
--- a/eclass/linux-mod.eclass
+++ b/eclass/linux-mod.eclass
@@ -720,7 +720,7 @@ linux-mod_src_install() {
                        doins ${modulename}.${KV_OBJ}.xz
                elif linux_chkconfig_present MODULE_COMPRESS_GZIP; then
                        if type -P pigz &>/dev/null ; then
-                               pigz -n$(makeopts_jobs) ${modulename}.${KV_OBJ} 
|| die "Compressing ${modulename}.${KV_OBJ} with pigz failed"
+                               pigz -p$(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"
                        fi

Reply via email to