Skip to content

Commit

Permalink
Increase module compression level to 19, to follow the kernel modules…
Browse files Browse the repository at this point in the history
… compression

Signed-off-by: Peter Jung <[email protected]>
  • Loading branch information
ptr1337 committed Jul 21, 2024
1 parent 4a0effe commit b2fd64c
Show file tree
Hide file tree
Showing 11 changed files with 33 additions and 33 deletions.
6 changes: 3 additions & 3 deletions linux-cachyos-bore/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ _package-zfs(){
cd ${srcdir}/"zfs"
install -dm755 "${modulesdir}"
install -m644 module/*.ko "${modulesdir}"
find "$pkgdir" -name '*.ko' -exec zstd --rm -10 {} +
find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} +
# sed -i -e "s/EXTRAMODULES='.*'/EXTRAMODULES='${pkgver}-${pkgbase}'/" "$startdir/zfs.install"
}

Expand All @@ -729,7 +729,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 -10 {} +
find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} +
}

_package-nvidia-open(){
Expand All @@ -747,7 +747,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 -10 {} +
find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} +
}

pkgname=("$pkgbase")
Expand Down
6 changes: 3 additions & 3 deletions linux-cachyos-deckify/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,7 @@ _package-zfs(){
cd ${srcdir}/"zfs"
install -dm755 "${modulesdir}"
install -m644 module/*.ko "${modulesdir}"
find "$pkgdir" -name '*.ko' -exec zstd --rm -10 {} +
find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} +
# sed -i -e "s/EXTRAMODULES='.*'/EXTRAMODULES='${pkgver}-${pkgbase}'/" "$startdir/zfs.install"
}

Expand All @@ -731,7 +731,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 -10 {} +
find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} +
}

_package-nvidia-open(){
Expand All @@ -749,7 +749,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 -10 {} +
find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} +
}

pkgname=("$pkgbase")
Expand Down
6 changes: 3 additions & 3 deletions linux-cachyos-echo/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ _package-zfs(){
cd ${srcdir}/"zfs"
install -dm755 "${modulesdir}"
install -m644 module/*.ko "${modulesdir}"
find "$pkgdir" -name '*.ko' -exec zstd --rm -10 {} +
find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} +
# sed -i -e "s/EXTRAMODULES='.*'/EXTRAMODULES='${pkgver}-${pkgbase}'/" "$startdir/zfs.install"
}

Expand All @@ -729,7 +729,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 -10 {} +
find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} +
}

_package-nvidia-open(){
Expand All @@ -747,7 +747,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 -10 {} +
find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} +
}

pkgname=("$pkgbase")
Expand Down
6 changes: 3 additions & 3 deletions linux-cachyos-eevdf/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ _package-zfs(){
cd ${srcdir}/"zfs"
install -dm755 "${modulesdir}"
install -m644 module/*.ko "${modulesdir}"
find "$pkgdir" -name '*.ko' -exec zstd --rm -10 {} +
find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} +
# sed -i -e "s/EXTRAMODULES='.*'/EXTRAMODULES='${pkgver}-${pkgbase}'/" "$startdir/zfs.install"
}

Expand All @@ -729,7 +729,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 -10 {} +
find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} +
}

_package-nvidia-open(){
Expand All @@ -747,7 +747,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 -10 {} +
find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} +
}

pkgname=("$pkgbase")
Expand Down
6 changes: 3 additions & 3 deletions linux-cachyos-hardened/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -710,7 +710,7 @@ _package-zfs(){
cd ${srcdir}/"zfs"
install -dm755 "${modulesdir}"
install -m644 module/*.ko "${modulesdir}"
find "$pkgdir" -name '*.ko' -exec zstd --rm -10 {} +
find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} +
# sed -i -e "s/EXTRAMODULES='.*'/EXTRAMODULES='${pkgver}-${pkgbase}'/" "$startdir/zfs.install"
}

Expand All @@ -728,7 +728,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 -10 {} +
find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} +
}

_package-nvidia-open(){
Expand All @@ -746,7 +746,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 -10 {} +
find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} +
}

pkgname=("$pkgbase")
Expand Down
6 changes: 3 additions & 3 deletions linux-cachyos-lts/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,7 @@ _package-zfs(){
cd ${srcdir}/"zfs"
install -dm755 "${modulesdir}"
install -m644 module/*.ko "${modulesdir}"
find "$pkgdir" -name '*.ko' -exec zstd --rm -10 {} +
find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} +
# sed -i -e "s/EXTRAMODULES='.*'/EXTRAMODULES='${pkgver}-${pkgbase}'/" "$startdir/zfs.install"
}

Expand All @@ -797,7 +797,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 -10 {} +
find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} +
}

_package-nvidia-open(){
Expand All @@ -815,7 +815,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 -10 {} +
find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} +
}

pkgname=("$pkgbase")
Expand Down
6 changes: 3 additions & 3 deletions linux-cachyos-rc/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ _package-zfs(){
cd ${srcdir}/"zfs"
install -dm755 "${modulesdir}"
install -m644 module/*.ko "${modulesdir}"
find "$pkgdir" -name '*.ko' -exec zstd --rm -10 {} +
find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} +
# sed -i -e "s/EXTRAMODULES='.*'/EXTRAMODULES='${pkgver}-${pkgbase}'/" "$startdir/zfs.install"
}

Expand All @@ -729,7 +729,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 -10 {} +
find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} +
}

_package-nvidia-open(){
Expand All @@ -747,7 +747,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 -10 {} +
find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} +
}

pkgname=("$pkgbase")
Expand Down
6 changes: 3 additions & 3 deletions linux-cachyos-rt-bore/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ _package-zfs(){
cd ${srcdir}/"zfs"
install -dm755 "${modulesdir}"
install -m644 module/*.ko "${modulesdir}"
find "$pkgdir" -name '*.ko' -exec zstd --rm -10 {} +
find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} +
# sed -i -e "s/EXTRAMODULES='.*'/EXTRAMODULES='${pkgver}-${pkgbase}'/" "$startdir/zfs.install"
}

Expand All @@ -729,7 +729,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 -10 {} +
find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} +
}

_package-nvidia-open(){
Expand All @@ -747,7 +747,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 -10 {} +
find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} +
}

pkgname=("$pkgbase")
Expand Down
6 changes: 3 additions & 3 deletions linux-cachyos-sched-ext/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ _package-zfs(){
cd ${srcdir}/"zfs"
install -dm755 "${modulesdir}"
install -m644 module/*.ko "${modulesdir}"
find "$pkgdir" -name '*.ko' -exec zstd --rm -10 {} +
find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} +
# sed -i -e "s/EXTRAMODULES='.*'/EXTRAMODULES='${pkgver}-${pkgbase}'/" "$startdir/zfs.install"
}

Expand All @@ -729,7 +729,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 -10 {} +
find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} +
}

_package-nvidia-open(){
Expand All @@ -747,7 +747,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 -10 {} +
find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} +
}

pkgname=("$pkgbase")
Expand Down
6 changes: 3 additions & 3 deletions linux-cachyos-server/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ _package-zfs(){
cd ${srcdir}/"zfs"
install -dm755 "${modulesdir}"
install -m644 module/*.ko "${modulesdir}"
find "$pkgdir" -name '*.ko' -exec zstd --rm -10 {} +
find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} +
# sed -i -e "s/EXTRAMODULES='.*'/EXTRAMODULES='${pkgver}-${pkgbase}'/" "$startdir/zfs.install"
}

Expand All @@ -729,7 +729,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 -10 {} +
find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} +
}

_package-nvidia-open(){
Expand All @@ -747,7 +747,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 -10 {} +
find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} +
}

pkgname=("$pkgbase")
Expand Down
6 changes: 3 additions & 3 deletions linux-cachyos/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ _package-zfs(){
cd ${srcdir}/"zfs"
install -dm755 "${modulesdir}"
install -m644 module/*.ko "${modulesdir}"
find "$pkgdir" -name '*.ko' -exec zstd --rm -10 {} +
find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} +
# sed -i -e "s/EXTRAMODULES='.*'/EXTRAMODULES='${pkgver}-${pkgbase}'/" "$startdir/zfs.install"
}

Expand All @@ -729,7 +729,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 -10 {} +
find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} +
}

_package-nvidia-open(){
Expand All @@ -747,7 +747,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 -10 {} +
find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} +
}

pkgname=("$pkgbase")
Expand Down

0 comments on commit b2fd64c

Please sign in to comment.