core/mkinitcpio to 31-1

This commit is contained in:
Kevin Mihelich 2021-12-01 00:32:50 +00:00
parent 38bd512ecf
commit 0ce772d78e
2 changed files with 11 additions and 12 deletions

View file

@ -1,4 +1,4 @@
From 3e3db8f6f8efb5ed10181f2270479b3a10593eb4 Mon Sep 17 00:00:00 2001
From f2be6a291b3a82754af1921d82ca56207fbb8ef6 Mon Sep 17 00:00:00 2001
From: Kevin Mihelich <kevin@archlinuxarm.org>
Date: Sat, 20 Feb 2021 10:02:34 -0700
Subject: [PATCH] use gzip for compression by default
@ -23,10 +23,10 @@ index 0383360..46538d2 100644
+
It's not hard to realize that a filter such as a *tac* or *rev* will cause
diff --git a/mkinitcpio b/mkinitcpio
index 1f6a499..2067572 100755
index 549f381..6e37687 100755
--- a/mkinitcpio
+++ b/mkinitcpio
@@ -508,7 +508,7 @@ if [[ $_optgenimg ]]; then
@@ -670,7 +670,7 @@ if [[ $_optgenimg ]]; then
die 'Unable to write to %s' "$_optgenimg"
fi
@ -49,5 +49,5 @@ index 3494fab..3c902f6 100644
#COMPRESSION="zstd"
#COMPRESSION="gzip"
--
2.30.1
2.33.0

View file

@ -7,8 +7,8 @@
# - patch to revert back to gzip for default compression
pkgname=mkinitcpio
pkgver=30
pkgrel=2
pkgver=31
pkgrel=1
pkgdesc="Modular initramfs image creation utility"
arch=('any')
url='https://github.com/archlinux/mkinitcpio'
@ -26,14 +26,13 @@ backup=('etc/mkinitcpio.conf')
source=("https://sources.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig}
'0001-use-gzip-for-compression-by-default.patch')
install=mkinitcpio.install
sha512sums=('ef43a8ddc01697fa43bede4eebad3271bbc89efa57ba7e4e9f321e8174ff2af74d857b308c5c0f37b42a91906c91c1b022f9a651c70d5d3e9dfc8dc441a60ee4'
sha512sums=('4ef87c2e4f579b292c38f9c487e78b3b99f6db77909cab322e860e5ca70aca3747fcfc272e2e15c9a3605c924ab178057b8b23151f98debc5d96e65f3c0c49d5'
'SKIP'
'a214bae7dc174500a6db1dd4ebc1ca5f98cb16c00b6736e9a7fc314ed861143146b503af509aa025be5694a972e40e38e569a16ed72be9875b2d3979a8a0d763')
b2sums=('2001f9ac12bfa7369ad32842956cd21b2a786cd28133b6d3256e4aa77210c78ec6cac8a710ff8c2feb5a4797c1a33ce8c8c7dfabd84d7927c08bf8377e330300'
'692222c01112b30e2d0a0d48265d481617349074bee968c6dca4926bc4ef6501847a79bd7de403ee10ee2e77a7dcc0422ed49a607fe3e96a4d523e2e569724ad')
b2sums=('0113e288906e3b5fa485c29c00e7df60d85addd96718c45531031a686f18c739fa18303b6cac374d35b85edb7b663e221c8dc9158dff08c75858a4ed4dd154bf'
'SKIP'
'67efdc949e2234bc0ee1e428588a4617892664ca7481b2c239e9ecdd2c20e059bff1123c52310db3f5a8d0afbe62f4689903c86cf8b373f406c2f7fc60e52f10')
validpgpkeys=('ECCAC84C1BA08A6CC8E63FBBF22FB1D78A77AEAB' # Giancarlo Razzolini
'86CFFCA918CF3AF47147588051E8B148A9999C34') # Evangelos Foutras
'3373b576de3e6fc9d728637f33d7c813bdff20925dc266cab570aea9978927f2d039aa3f8a509b48dcb1c37fd64c65983a1de23db288befdf1005c08dab0f664')
validpgpkeys=('ECCAC84C1BA08A6CC8E63FBBF22FB1D78A77AEAB') # Giancarlo Razzolini
prepare() {
cd $pkgname-$pkgver