Tobias Powalowski pushed to branch main at Arch Linux / Packaging / Packages /
3cpio
Commits:
b7642587 by Tobias Powalowski at 2024-07-18T21:03:23+02:00
upgpkg: 0.2.0-3: fix xattrs on extracting initramfs files
- - - - -
2 changed files:
- .SRCINFO
- PKGBUILD
Changes:
=====================================
.SRCINFO
=====================================
@@ -1,7 +1,7 @@
pkgbase = 3cpio
pkgdesc = Manage Linux kernel initramfs cpio files written in Rust
pkgver = 0.2.0
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/bdrung/3cpio
arch = x86_64
license = ISC
@@ -20,6 +20,8 @@ pkgbase = 3cpio
optdepends = xz: Support for lzma or xz compressed initramfs image
optdepends = zstd: Support for zstd compressed initramfs image
source =
3cpio-0.2.0.tar.gz::https://github.com/bdrung/3cpio/archive/refs/tags/0.2.0.tar.gz
+ source =
fix-xattrs.patch::https://github.com/bdrung/3cpio/pull/6/commits/7d8098a0eb60c2751a5994246cb9a0b53968bc22.patch
b2sums =
454a4e5a9b689088a590515479ba21e4d72c0edd41b2ddd207ec0bc99ca6dde06664168e2a4f59f3609c68c10a7f0e4585820c4aeb7f5dcb1c174f38189c3387
+ b2sums =
42cdf809a3afde98e47964d56a12f550dce3e045845fd4d5ab971356994a07a22be6a9e8de72987aa1d86cc651dd67e8107e23a30ff749e3c80b9cf689b6ee56
pkgname = 3cpio
=====================================
PKGBUILD
=====================================
@@ -2,7 +2,7 @@
pkgname=3cpio
pkgver=0.2.0
-pkgrel=2
+pkgrel=3
pkgdesc='Manage Linux kernel initramfs cpio files written in Rust'
arch=('x86_64')
url='https://github.com/bdrung/3cpio'
@@ -15,8 +15,15 @@ optdepends=('bzip2: Support for bzip2 compressed initramfs
image'
'xz: Support for lzma or xz compressed initramfs image'
'zstd: Support for zstd compressed initramfs image'
)
-source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz")
-b2sums=('454a4e5a9b689088a590515479ba21e4d72c0edd41b2ddd207ec0bc99ca6dde06664168e2a4f59f3609c68c10a7f0e4585820c4aeb7f5dcb1c174f38189c3387')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz"
+
fix-xattrs.patch::$url/pull/6/commits/7d8098a0eb60c2751a5994246cb9a0b53968bc22.patch)
+b2sums=('454a4e5a9b689088a590515479ba21e4d72c0edd41b2ddd207ec0bc99ca6dde06664168e2a4f59f3609c68c10a7f0e4585820c4aeb7f5dcb1c174f38189c3387'
+
'42cdf809a3afde98e47964d56a12f550dce3e045845fd4d5ab971356994a07a22be6a9e8de72987aa1d86cc651dd67e8107e23a30ff749e3c80b9cf689b6ee56')
+
+prepare() {
+ cd $pkgname-$pkgver
+ patch -Np1 -i ../fix-xattrs.patch
+}
build() {
cd $pkgname-$pkgver
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/3cpio/-/commit/b764258723261bf55e1fa32c12cfe9c023a0afa2
--
View it on GitLab:
https://gitlab.archlinux.org/archlinux/packaging/packages/3cpio/-/commit/b764258723261bf55e1fa32c12cfe9c023a0afa2
You're receiving this email because of your account on gitlab.archlinux.org.