Skip to content

Commit

Permalink
kernel-2.eclass: decompress xz in parallel
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
thesamesam committed Oct 13, 2022
1 parent 1c4f66d commit a57a096
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eclass/kernel-2.eclass
Original file line number Diff line number Diff line change
Expand Up @@ -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) ;;
Expand Down Expand Up @@ -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";;
Expand Down

0 comments on commit a57a096

Please sign in to comment.