main/linux-postmarketos-exynos4: compress with xz (MR 2410)

gzip results in a boot.img that's too big (over 8 MB) for e.g.
samsung-i9300, so let's replace it with something that produces
smaller kernels. With this, the entire boot.img is 6,3 MB (down
from 8MiB, or 8.5458944 MB) which leaves plenty of space on the
8 MB partition and prevents the recovery from being overwritten
when this kernel is flashed.

Tested and works on samsung-i9300.

[ci:skip-build] already built successfully in CI
This commit is contained in:
Newbyte 2021-08-07 13:16:46 +02:00 committed by Clayton Craft
parent 8e6824c6e0
commit b17df00654
No known key found for this signature in database
GPG key ID: 7A3461CA187CEA54
2 changed files with 4 additions and 4 deletions

View file

@ -4,7 +4,7 @@
pkgname=linux-postmarketos-exynos4 pkgname=linux-postmarketos-exynos4
pkgver=5.12.8 pkgver=5.12.8
pkgrel=2 pkgrel=3
pkgdesc="Mainline kernel fork for Samsung Exynos4 devices" pkgdesc="Mainline kernel fork for Samsung Exynos4 devices"
arch="armv7" arch="armv7"
_carch="arm" _carch="arm"
@ -73,7 +73,7 @@ package() {
sha512sums=" sha512sums="
8a5f1774bee223445ad147d2f83a7b3a2c19ea620d0f3964344bb33d003fec17d36279b522745c03467e361ebd61479a4f7122e5911bb6b817ff52ee55c736d9 linux-5.12.8.tar.xz 8a5f1774bee223445ad147d2f83a7b3a2c19ea620d0f3964344bb33d003fec17d36279b522745c03467e361ebd61479a4f7122e5911bb6b817ff52ee55c736d9 linux-5.12.8.tar.xz
4ec79f1d149fceb2ecf0352c917f2332469aa503af50f81d0570b7475cc4ddc2234649993327f601134b11510434bebca6eb8ae0bfd6c325b7883c9206d71f89 config-postmarketos-exynos4.armv7 203a6265a0f7671c726d7525949f1913d37a9f3ba27460279cb8e9593bdca3b231258e8afeb2608fb9190aa944a2b5859e12c4225929bfb391c0155d5fbb9c92 config-postmarketos-exynos4.armv7
4bb111db4396a1981ad0883737c6594ca93701699846298b940d2ea202c666be0158a0f9ddc5b95b9147fa4cfe62639512ae78e9315f8d975b379ccc4e15da36 0001-ARM-decompressor-Flush-tlb-before-swiching-domain-0-.patch 4bb111db4396a1981ad0883737c6594ca93701699846298b940d2ea202c666be0158a0f9ddc5b95b9147fa4cfe62639512ae78e9315f8d975b379ccc4e15da36 0001-ARM-decompressor-Flush-tlb-before-swiching-domain-0-.patch
dffe9934281e81b20e158ce9b80c6f1a91c5eaa06eb92ee655ee9430dba8aa066dd70a9fb163007f37556ea696ae0256a58f87408c8b7571d6d20f99c9492db2 0002-extcon-max8997-Add-CHGINS-and-CHGRM-interrupt-handli.patch dffe9934281e81b20e158ce9b80c6f1a91c5eaa06eb92ee655ee9430dba8aa066dd70a9fb163007f37556ea696ae0256a58f87408c8b7571d6d20f99c9492db2 0002-extcon-max8997-Add-CHGINS-and-CHGRM-interrupt-handli.patch
b70e8afa3779d471835bbdda4c8ddcf882bce58752993314655596961210235558e87dce3d1f07810ab5bb3d0471e89933a8008d7b97d8ebd05a408ffc947054 0003-ARM-dts-exynos-Add-charger-supply-for-I9100.patch b70e8afa3779d471835bbdda4c8ddcf882bce58752993314655596961210235558e87dce3d1f07810ab5bb3d0471e89933a8008d7b97d8ebd05a408ffc947054 0003-ARM-dts-exynos-Add-charger-supply-for-I9100.patch

View file

@ -27,9 +27,9 @@ CONFIG_HAVE_KERNEL_LZMA=y
CONFIG_HAVE_KERNEL_XZ=y CONFIG_HAVE_KERNEL_XZ=y
CONFIG_HAVE_KERNEL_LZO=y CONFIG_HAVE_KERNEL_LZO=y
CONFIG_HAVE_KERNEL_LZ4=y CONFIG_HAVE_KERNEL_LZ4=y
CONFIG_KERNEL_GZIP=y # CONFIG_KERNEL_GZIP is not set
# CONFIG_KERNEL_LZMA is not set # CONFIG_KERNEL_LZMA is not set
# CONFIG_KERNEL_XZ is not set CONFIG_KERNEL_XZ=y
# CONFIG_KERNEL_LZO is not set # CONFIG_KERNEL_LZO is not set
# CONFIG_KERNEL_LZ4 is not set # CONFIG_KERNEL_LZ4 is not set
CONFIG_DEFAULT_INIT="" CONFIG_DEFAULT_INIT=""