From d1e6ab0669a71ae4d8b11dec5bf10c5c17fd98a8 Mon Sep 17 00:00:00 2001 From: Peter Jung Date: Tue, 5 Nov 2024 18:13:43 +0100 Subject: [PATCH] Modules: Use all available threads for compressing the modules Signed-off-by: Peter Jung --- linux-cachyos-bmq/PKGBUILD | 6 +++--- linux-cachyos-bore/PKGBUILD | 6 +++--- linux-cachyos-deckify/PKGBUILD | 6 +++--- linux-cachyos-eevdf/PKGBUILD | 6 +++--- linux-cachyos-hardened/PKGBUILD | 6 +++--- linux-cachyos-lts/PKGBUILD | 6 +++--- linux-cachyos-rc/PKGBUILD | 6 +++--- linux-cachyos-rt-bore/PKGBUILD | 6 +++--- linux-cachyos-sched-ext/PKGBUILD | 6 +++--- linux-cachyos-server/PKGBUILD | 6 +++--- linux-cachyos/PKGBUILD | 6 +++--- 11 files changed, 33 insertions(+), 33 deletions(-) diff --git a/linux-cachyos-bmq/PKGBUILD b/linux-cachyos-bmq/PKGBUILD index 4969eb16..c63230fb 100644 --- a/linux-cachyos-bmq/PKGBUILD +++ b/linux-cachyos-bmq/PKGBUILD @@ -721,7 +721,7 @@ _package-zfs(){ cd "${srcdir}/zfs" install -dm755 "${modulesdir}" install -m644 module/*.ko "${modulesdir}" - find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} + + find "$pkgdir" -name '*.ko' -exec zstd --rm -19 -T0 {} + # sed -i -e "s/EXTRAMODULES='.*'/EXTRAMODULES='${pkgver}-${pkgbase}'/" "$startdir/zfs.install" } @@ -739,7 +739,7 @@ _package-nvidia(){ install -dm755 "${modulesdir}" install -m644 kernel/*.ko "${modulesdir}" install -Dt "$pkgdir/usr/share/licenses/${pkgname}" -m644 LICENSE - find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} + + find "$pkgdir" -name '*.ko' -exec zstd --rm -19 -T0 {} + } _package-nvidia-open(){ @@ -757,7 +757,7 @@ _package-nvidia-open(){ install -m644 kernel-open/*.ko "${modulesdir}" install -Dt "$pkgdir/usr/share/licenses/${pkgname}" -m644 COPYING - find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} + + find "$pkgdir" -name '*.ko' -exec zstd --rm -19 -T0 {} + } pkgname=("$pkgbase") diff --git a/linux-cachyos-bore/PKGBUILD b/linux-cachyos-bore/PKGBUILD index 3f356ddb..ce24773b 100644 --- a/linux-cachyos-bore/PKGBUILD +++ b/linux-cachyos-bore/PKGBUILD @@ -721,7 +721,7 @@ _package-zfs(){ cd "${srcdir}/zfs" install -dm755 "${modulesdir}" install -m644 module/*.ko "${modulesdir}" - find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} + + find "$pkgdir" -name '*.ko' -exec zstd --rm -19 -T0 {} + # sed -i -e "s/EXTRAMODULES='.*'/EXTRAMODULES='${pkgver}-${pkgbase}'/" "$startdir/zfs.install" } @@ -739,7 +739,7 @@ _package-nvidia(){ install -dm755 "${modulesdir}" install -m644 kernel/*.ko "${modulesdir}" install -Dt "$pkgdir/usr/share/licenses/${pkgname}" -m644 LICENSE - find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} + + find "$pkgdir" -name '*.ko' -exec zstd --rm -19 -T0 {} + } _package-nvidia-open(){ @@ -757,7 +757,7 @@ _package-nvidia-open(){ install -m644 kernel-open/*.ko "${modulesdir}" install -Dt "$pkgdir/usr/share/licenses/${pkgname}" -m644 COPYING - find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} + + find "$pkgdir" -name '*.ko' -exec zstd --rm -19 -T0 {} + } pkgname=("$pkgbase") diff --git a/linux-cachyos-deckify/PKGBUILD b/linux-cachyos-deckify/PKGBUILD index b321f6b1..d58124ed 100644 --- a/linux-cachyos-deckify/PKGBUILD +++ b/linux-cachyos-deckify/PKGBUILD @@ -724,7 +724,7 @@ _package-zfs(){ cd "${srcdir}/zfs" install -dm755 "${modulesdir}" install -m644 module/*.ko "${modulesdir}" - find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} + + find "$pkgdir" -name '*.ko' -exec zstd --rm -19 -T0 {} + # sed -i -e "s/EXTRAMODULES='.*'/EXTRAMODULES='${pkgver}-${pkgbase}'/" "$startdir/zfs.install" } @@ -742,7 +742,7 @@ _package-nvidia(){ install -dm755 "${modulesdir}" install -m644 kernel/*.ko "${modulesdir}" install -Dt "$pkgdir/usr/share/licenses/${pkgname}" -m644 LICENSE - find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} + + find "$pkgdir" -name '*.ko' -exec zstd --rm -19 -T0 {} + } _package-nvidia-open(){ @@ -760,7 +760,7 @@ _package-nvidia-open(){ install -m644 kernel-open/*.ko "${modulesdir}" install -Dt "$pkgdir/usr/share/licenses/${pkgname}" -m644 COPYING - find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} + + find "$pkgdir" -name '*.ko' -exec zstd --rm -19 -T0 {} + } pkgname=("$pkgbase") diff --git a/linux-cachyos-eevdf/PKGBUILD b/linux-cachyos-eevdf/PKGBUILD index 9218c835..a5175de2 100644 --- a/linux-cachyos-eevdf/PKGBUILD +++ b/linux-cachyos-eevdf/PKGBUILD @@ -721,7 +721,7 @@ _package-zfs(){ cd "${srcdir}/zfs" install -dm755 "${modulesdir}" install -m644 module/*.ko "${modulesdir}" - find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} + + find "$pkgdir" -name '*.ko' -exec zstd --rm -19 -T0 {} + # sed -i -e "s/EXTRAMODULES='.*'/EXTRAMODULES='${pkgver}-${pkgbase}'/" "$startdir/zfs.install" } @@ -739,7 +739,7 @@ _package-nvidia(){ install -dm755 "${modulesdir}" install -m644 kernel/*.ko "${modulesdir}" install -Dt "$pkgdir/usr/share/licenses/${pkgname}" -m644 LICENSE - find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} + + find "$pkgdir" -name '*.ko' -exec zstd --rm -19 -T0 {} + } _package-nvidia-open(){ @@ -757,7 +757,7 @@ _package-nvidia-open(){ install -m644 kernel-open/*.ko "${modulesdir}" install -Dt "$pkgdir/usr/share/licenses/${pkgname}" -m644 COPYING - find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} + + find "$pkgdir" -name '*.ko' -exec zstd --rm -19 -T0 {} + } pkgname=("$pkgbase") diff --git a/linux-cachyos-hardened/PKGBUILD b/linux-cachyos-hardened/PKGBUILD index cac610b2..e6642c6d 100644 --- a/linux-cachyos-hardened/PKGBUILD +++ b/linux-cachyos-hardened/PKGBUILD @@ -718,7 +718,7 @@ _package-zfs(){ cd "${srcdir}/zfs" install -dm755 "${modulesdir}" install -m644 module/*.ko "${modulesdir}" - find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} + + find "$pkgdir" -name '*.ko' -exec zstd --rm -19 -T0 {} + # sed -i -e "s/EXTRAMODULES='.*'/EXTRAMODULES='${pkgver}-${pkgbase}'/" "$startdir/zfs.install" } @@ -736,7 +736,7 @@ _package-nvidia(){ install -dm755 "${modulesdir}" install -m644 kernel/*.ko "${modulesdir}" install -Dt "$pkgdir/usr/share/licenses/${pkgname}" -m644 LICENSE - find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} + + find "$pkgdir" -name '*.ko' -exec zstd --rm -19 -T0 {} + } _package-nvidia-open(){ @@ -754,7 +754,7 @@ _package-nvidia-open(){ install -m644 kernel-open/*.ko "${modulesdir}" install -Dt "$pkgdir/usr/share/licenses/${pkgname}" -m644 COPYING - find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} + + find "$pkgdir" -name '*.ko' -exec zstd --rm -19 -T0 {} + } pkgname=("$pkgbase") diff --git a/linux-cachyos-lts/PKGBUILD b/linux-cachyos-lts/PKGBUILD index 8548ad8b..19d14756 100644 --- a/linux-cachyos-lts/PKGBUILD +++ b/linux-cachyos-lts/PKGBUILD @@ -802,7 +802,7 @@ _package-zfs(){ cd "${srcdir}/zfs" install -dm755 "${modulesdir}" install -m644 module/*.ko "${modulesdir}" - find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} + + find "$pkgdir" -name '*.ko' -exec zstd --rm -19 -T0 {} + # sed -i -e "s/EXTRAMODULES='.*'/EXTRAMODULES='${pkgver}-${pkgbase}'/" "$startdir/zfs.install" } @@ -820,7 +820,7 @@ _package-nvidia(){ install -dm755 "${modulesdir}" install -m644 kernel/*.ko "${modulesdir}" install -Dt "$pkgdir/usr/share/licenses/${pkgname}" -m644 LICENSE - find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} + + find "$pkgdir" -name '*.ko' -exec zstd --rm -19 -T0 {} + } _package-nvidia-open(){ @@ -838,7 +838,7 @@ _package-nvidia-open(){ install -m644 kernel-open/*.ko "${modulesdir}" install -Dt "$pkgdir/usr/share/licenses/${pkgname}" -m644 COPYING - find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} + + find "$pkgdir" -name '*.ko' -exec zstd --rm -19 -T0 {} + } pkgname=("$pkgbase") diff --git a/linux-cachyos-rc/PKGBUILD b/linux-cachyos-rc/PKGBUILD index 93cc773c..134d3970 100644 --- a/linux-cachyos-rc/PKGBUILD +++ b/linux-cachyos-rc/PKGBUILD @@ -730,7 +730,7 @@ _package-zfs(){ cd "${srcdir}/zfs" install -dm755 "${modulesdir}" install -m644 module/*.ko "${modulesdir}" - find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} + + find "$pkgdir" -name '*.ko' -exec zstd --rm -19 -T0 {} + # sed -i -e "s/EXTRAMODULES='.*'/EXTRAMODULES='${pkgver}-${pkgbase}'/" "$startdir/zfs.install" } @@ -748,7 +748,7 @@ _package-nvidia(){ install -dm755 "${modulesdir}" install -m644 kernel/*.ko "${modulesdir}" install -Dt "$pkgdir/usr/share/licenses/${pkgname}" -m644 LICENSE - find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} + + find "$pkgdir" -name '*.ko' -exec zstd --rm -19 -T0 {} + } _package-nvidia-open(){ @@ -766,7 +766,7 @@ _package-nvidia-open(){ install -m644 kernel-open/*.ko "${modulesdir}" install -Dt "$pkgdir/usr/share/licenses/${pkgname}" -m644 COPYING - find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} + + find "$pkgdir" -name '*.ko' -exec zstd --rm -19 -T0 {} + } pkgname=("$pkgbase") diff --git a/linux-cachyos-rt-bore/PKGBUILD b/linux-cachyos-rt-bore/PKGBUILD index dfe912b7..9abfe145 100644 --- a/linux-cachyos-rt-bore/PKGBUILD +++ b/linux-cachyos-rt-bore/PKGBUILD @@ -721,7 +721,7 @@ _package-zfs(){ cd "${srcdir}/zfs" install -dm755 "${modulesdir}" install -m644 module/*.ko "${modulesdir}" - find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} + + find "$pkgdir" -name '*.ko' -exec zstd --rm -19 -T0 {} + # sed -i -e "s/EXTRAMODULES='.*'/EXTRAMODULES='${pkgver}-${pkgbase}'/" "$startdir/zfs.install" } @@ -739,7 +739,7 @@ _package-nvidia(){ install -dm755 "${modulesdir}" install -m644 kernel/*.ko "${modulesdir}" install -Dt "$pkgdir/usr/share/licenses/${pkgname}" -m644 LICENSE - find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} + + find "$pkgdir" -name '*.ko' -exec zstd --rm -19 -T0 {} + } _package-nvidia-open(){ @@ -757,7 +757,7 @@ _package-nvidia-open(){ install -m644 kernel-open/*.ko "${modulesdir}" install -Dt "$pkgdir/usr/share/licenses/${pkgname}" -m644 COPYING - find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} + + find "$pkgdir" -name '*.ko' -exec zstd --rm -19 -T0 {} + } pkgname=("$pkgbase") diff --git a/linux-cachyos-sched-ext/PKGBUILD b/linux-cachyos-sched-ext/PKGBUILD index f253a3cd..89c59ec0 100644 --- a/linux-cachyos-sched-ext/PKGBUILD +++ b/linux-cachyos-sched-ext/PKGBUILD @@ -721,7 +721,7 @@ _package-zfs(){ cd "${srcdir}/zfs" install -dm755 "${modulesdir}" install -m644 module/*.ko "${modulesdir}" - find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} + + find "$pkgdir" -name '*.ko' -exec zstd --rm -19 -T0 {} + # sed -i -e "s/EXTRAMODULES='.*'/EXTRAMODULES='${pkgver}-${pkgbase}'/" "$startdir/zfs.install" } @@ -739,7 +739,7 @@ _package-nvidia(){ install -dm755 "${modulesdir}" install -m644 kernel/*.ko "${modulesdir}" install -Dt "$pkgdir/usr/share/licenses/${pkgname}" -m644 LICENSE - find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} + + find "$pkgdir" -name '*.ko' -exec zstd --rm -19 -T0 {} + } _package-nvidia-open(){ @@ -757,7 +757,7 @@ _package-nvidia-open(){ install -m644 kernel-open/*.ko "${modulesdir}" install -Dt "$pkgdir/usr/share/licenses/${pkgname}" -m644 COPYING - find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} + + find "$pkgdir" -name '*.ko' -exec zstd --rm -19 -T0 {} + } pkgname=("$pkgbase") diff --git a/linux-cachyos-server/PKGBUILD b/linux-cachyos-server/PKGBUILD index a9f063e6..f08e3b3c 100644 --- a/linux-cachyos-server/PKGBUILD +++ b/linux-cachyos-server/PKGBUILD @@ -721,7 +721,7 @@ _package-zfs(){ cd "${srcdir}/zfs" install -dm755 "${modulesdir}" install -m644 module/*.ko "${modulesdir}" - find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} + + find "$pkgdir" -name '*.ko' -exec zstd --rm -19 -T0 {} + # sed -i -e "s/EXTRAMODULES='.*'/EXTRAMODULES='${pkgver}-${pkgbase}'/" "$startdir/zfs.install" } @@ -739,7 +739,7 @@ _package-nvidia(){ install -dm755 "${modulesdir}" install -m644 kernel/*.ko "${modulesdir}" install -Dt "$pkgdir/usr/share/licenses/${pkgname}" -m644 LICENSE - find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} + + find "$pkgdir" -name '*.ko' -exec zstd --rm -19 -T0 {} + } _package-nvidia-open(){ @@ -757,7 +757,7 @@ _package-nvidia-open(){ install -m644 kernel-open/*.ko "${modulesdir}" install -Dt "$pkgdir/usr/share/licenses/${pkgname}" -m644 COPYING - find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} + + find "$pkgdir" -name '*.ko' -exec zstd --rm -19 -T0 {} + } pkgname=("$pkgbase") diff --git a/linux-cachyos/PKGBUILD b/linux-cachyos/PKGBUILD index 1a281ef2..3ea9abb4 100644 --- a/linux-cachyos/PKGBUILD +++ b/linux-cachyos/PKGBUILD @@ -720,7 +720,7 @@ _package-zfs(){ cd "${srcdir}/zfs" install -dm755 "${modulesdir}" install -m644 module/*.ko "${modulesdir}" - find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} + + find "$pkgdir" -name '*.ko' -exec zstd --rm -19 -T0 {} + # sed -i -e "s/EXTRAMODULES='.*'/EXTRAMODULES='${pkgver}-${pkgbase}'/" "$startdir/zfs.install" } @@ -738,7 +738,7 @@ _package-nvidia(){ install -dm755 "${modulesdir}" install -m644 kernel/*.ko "${modulesdir}" install -Dt "$pkgdir/usr/share/licenses/${pkgname}" -m644 LICENSE - find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} + + find "$pkgdir" -name '*.ko' -exec zstd --rm -19 -T0 {} + } _package-nvidia-open(){ @@ -756,7 +756,7 @@ _package-nvidia-open(){ install -m644 kernel-open/*.ko "${modulesdir}" install -Dt "$pkgdir/usr/share/licenses/${pkgname}" -m644 COPYING - find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} + + find "$pkgdir" -name '*.ko' -exec zstd --rm -19 -T0 {} + } pkgname=("$pkgbase")