summaryrefslogtreecommitdiff
path: root/SOURCES/parallel_xz.sh
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2020-11-23 21:52:27 +0100
committerJan200101 <sentrycraft123@gmail.com>2020-12-05 19:40:07 +0100
commit99a87b7f5d1a326cc1820948a2f9d845266c9da1 (patch)
tree2ef712f3945f5f984c2826cc7b3c9fb6ccbd22bf /SOURCES/parallel_xz.sh
parentbdb83850ca3fcc4556f87e44b0796f0dd6b6d55b (diff)
downloadkernel-fsync-99a87b7f5d1a326cc1820948a2f9d845266c9da1.tar.gz
kernel-fsync-99a87b7f5d1a326cc1820948a2f9d845266c9da1.zip
kernel 5.9.9 […]
ACS patch was merged upstream bluetooth patch is now included in fedora kernel
Diffstat (limited to 'SOURCES/parallel_xz.sh')
-rwxr-xr-xSOURCES/parallel_xz.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/SOURCES/parallel_xz.sh b/SOURCES/parallel_xz.sh
index bc08a54..0d98ead 100755
--- a/SOURCES/parallel_xz.sh
+++ b/SOURCES/parallel_xz.sh
@@ -16,6 +16,11 @@ while test "$#" != 0; do
shift
done
+#This seems to cause problems with large numbers
+if (( $procgroup > 6 )); then
+ procgroup=6
+fi
+
# If told to use only one cpu:
test "$procgroup" || exec xargs -r xz
test "$procgroup" = 1 && exec xargs -r xz