From 04cb050a7b82eb50371bf410197815d3abfb51be Mon Sep 17 00:00:00 2001 From: Piraty Date: Tue, 29 Jul 2025 23:00:37 +0200 Subject: [PATCH] linux*: honor XBPS_MAKEJOBS when compressing modules run zstd with one working thread only, as mv-debug is executed by xargs -P $XBPS_MAKEJOBS already --- srcpkgs/linux6.1/files/mv-debug | 2 +- srcpkgs/linux6.12/files/mv-debug | 2 +- srcpkgs/linux6.13/files/mv-debug | 2 +- srcpkgs/linux6.14/files/mv-debug | 2 +- srcpkgs/linux6.15/files/mv-debug | 2 +- srcpkgs/linux6.6/files/mv-debug | 2 +- srcpkgs/rpi-kernel/files/mv-debug | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/srcpkgs/linux6.1/files/mv-debug b/srcpkgs/linux6.1/files/mv-debug index 4b0fcabe0e4..55e4fad6340 100755 --- a/srcpkgs/linux6.1/files/mv-debug +++ b/srcpkgs/linux6.1/files/mv-debug @@ -4,4 +4,4 @@ mkdir -p usr/lib/debug/${mod%/*} $OBJCOPY --only-keep-debug --compress-debug-sections $mod usr/lib/debug/$mod $OBJCOPY --add-gnu-debuglink=${DESTDIR}/usr/lib/debug/$mod $mod /usr/bin/$STRIP --strip-debug $mod -zstd --rm -19 $mod +zstd -T1 --rm -f -q $mod diff --git a/srcpkgs/linux6.12/files/mv-debug b/srcpkgs/linux6.12/files/mv-debug index c9759edcde6..c2e0f5f056a 100755 --- a/srcpkgs/linux6.12/files/mv-debug +++ b/srcpkgs/linux6.12/files/mv-debug @@ -5,4 +5,4 @@ $OBJCOPY --only-keep-debug --compress-debug-sections $mod usr/lib/debug/$mod $OBJCOPY --add-gnu-debuglink=${DESTDIR}/usr/lib/debug/$mod $mod /usr/bin/$STRIP --strip-debug $mod $SIGN_FILE $mod -zstd -T0 --rm -f -q $mod +zstd -T1 --rm -f -q $mod diff --git a/srcpkgs/linux6.13/files/mv-debug b/srcpkgs/linux6.13/files/mv-debug index c9759edcde6..c2e0f5f056a 100755 --- a/srcpkgs/linux6.13/files/mv-debug +++ b/srcpkgs/linux6.13/files/mv-debug @@ -5,4 +5,4 @@ $OBJCOPY --only-keep-debug --compress-debug-sections $mod usr/lib/debug/$mod $OBJCOPY --add-gnu-debuglink=${DESTDIR}/usr/lib/debug/$mod $mod /usr/bin/$STRIP --strip-debug $mod $SIGN_FILE $mod -zstd -T0 --rm -f -q $mod +zstd -T1 --rm -f -q $mod diff --git a/srcpkgs/linux6.14/files/mv-debug b/srcpkgs/linux6.14/files/mv-debug index c9759edcde6..c2e0f5f056a 100755 --- a/srcpkgs/linux6.14/files/mv-debug +++ b/srcpkgs/linux6.14/files/mv-debug @@ -5,4 +5,4 @@ $OBJCOPY --only-keep-debug --compress-debug-sections $mod usr/lib/debug/$mod $OBJCOPY --add-gnu-debuglink=${DESTDIR}/usr/lib/debug/$mod $mod /usr/bin/$STRIP --strip-debug $mod $SIGN_FILE $mod -zstd -T0 --rm -f -q $mod +zstd -T1 --rm -f -q $mod diff --git a/srcpkgs/linux6.15/files/mv-debug b/srcpkgs/linux6.15/files/mv-debug index c9759edcde6..c2e0f5f056a 100755 --- a/srcpkgs/linux6.15/files/mv-debug +++ b/srcpkgs/linux6.15/files/mv-debug @@ -5,4 +5,4 @@ $OBJCOPY --only-keep-debug --compress-debug-sections $mod usr/lib/debug/$mod $OBJCOPY --add-gnu-debuglink=${DESTDIR}/usr/lib/debug/$mod $mod /usr/bin/$STRIP --strip-debug $mod $SIGN_FILE $mod -zstd -T0 --rm -f -q $mod +zstd -T1 --rm -f -q $mod diff --git a/srcpkgs/linux6.6/files/mv-debug b/srcpkgs/linux6.6/files/mv-debug index c9759edcde6..c2e0f5f056a 100755 --- a/srcpkgs/linux6.6/files/mv-debug +++ b/srcpkgs/linux6.6/files/mv-debug @@ -5,4 +5,4 @@ $OBJCOPY --only-keep-debug --compress-debug-sections $mod usr/lib/debug/$mod $OBJCOPY --add-gnu-debuglink=${DESTDIR}/usr/lib/debug/$mod $mod /usr/bin/$STRIP --strip-debug $mod $SIGN_FILE $mod -zstd -T0 --rm -f -q $mod +zstd -T1 --rm -f -q $mod diff --git a/srcpkgs/rpi-kernel/files/mv-debug b/srcpkgs/rpi-kernel/files/mv-debug index c9759edcde6..c2e0f5f056a 100755 --- a/srcpkgs/rpi-kernel/files/mv-debug +++ b/srcpkgs/rpi-kernel/files/mv-debug @@ -5,4 +5,4 @@ $OBJCOPY --only-keep-debug --compress-debug-sections $mod usr/lib/debug/$mod $OBJCOPY --add-gnu-debuglink=${DESTDIR}/usr/lib/debug/$mod $mod /usr/bin/$STRIP --strip-debug $mod $SIGN_FILE $mod -zstd -T0 --rm -f -q $mod +zstd -T1 --rm -f -q $mod