diff options
author | Sam James <sam@gentoo.org> | 2022-10-11 20:47:55 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-10-13 20:57:52 +0100 |
commit | a57a0962a54f1a84295f506a00f61f9b613bc802 (patch) | |
tree | 31d0215c7a9c9afda128a11644c3115113537aeb /eclass/kernel-2.eclass | |
parent | lua-single.eclass: fix comment typo (diff) | |
download | gentoo-a57a0962a54f1a84295f506a00f61f9b613bc802.tar.gz gentoo-a57a0962a54f1a84295f506a00f61f9b613bc802.tar.bz2 gentoo-a57a0962a54f1a84295f506a00f61f9b613bc802.zip |
kernel-2.eclass: decompress xz in parallel
No-op until >=app-arch/xz-utils-5.3.3_alpha. Recently added support
for this in Portage and pkgcore too for unpacking.
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass/kernel-2.eclass')
-rw-r--r-- | eclass/kernel-2.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass index 50464470a9bb..c18ef21099d1 100644 --- a/eclass/kernel-2.eclass +++ b/eclass/kernel-2.eclass @@ -281,7 +281,7 @@ # If you do change them, there is a chance that we will not fix resulting bugs; # that of course does not mean we're not willing to help. -inherit estack toolchain-funcs +inherit estack multiprocessing toolchain-funcs case ${EAPI} in 7|8) ;; @@ -1065,7 +1065,7 @@ unipatch() { extention=${extention/:*/} PIPE_CMD="" case ${extention} in - xz) PIPE_CMD="xz -dc";; + xz) PIPE_CMD="xz -T$(makeopts_jobs) -dc";; lzma) PIPE_CMD="lzma -dc";; bz2) PIPE_CMD="bzip2 -dc";; patch*) PIPE_CMD="cat";; |