Skip to content

Commit 93a8640

Browse files
committed
https://github.com/dracutdevs/dracut/pull/2527
1 parent 9607ace commit 93a8640

File tree

2 files changed

+14
-3
lines changed

2 files changed

+14
-3
lines changed

.SRCINFO

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
pkgbase = dracut-git
22
pkgdesc = An event driven initramfs infrastructure
33
pkgver = 059.r214.4980bad3
4-
pkgrel = 1
4+
pkgrel = 2
55
url = https://github.com/dracutdevs/dracut
66
arch = x86_64
77
license = GPL-2.0-or-later
@@ -64,6 +64,8 @@ pkgbase = dracut-git
6464
conflicts = dracut
6565
backup = etc/dracut.conf
6666
source = git+https://github.com/dracutdevs/dracut.git
67+
source = 2527.patch::https://github.com/dracutdevs/dracut/commit/a2fe89116db4b286fbf515f26bd1773b5e6ee8ad.patch
6768
sha512sums = SKIP
69+
sha512sums = bba154e13463fb759e1cfd5f461b2b4e786ad8c6f4cacacbd918e911efc7d5a5368300676d6e6d8e9b7b2f4333314886bb1e34daac9f0c73c1c441baf7918063
6870

6971
pkgname = dracut-git

PKGBUILD

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
# Contributor: Giancarlo Razzolini <[email protected]>
44
pkgname=dracut-git
55
pkgver=059.r214.4980bad3
6-
pkgrel=1
6+
pkgrel=2
77
pkgdesc='An event driven initramfs infrastructure'
88
arch=('x86_64')
99
url='https://github.com/dracutdevs/dracut'
@@ -73,14 +73,23 @@ conflicts=("${pkgname%-git}")
7373
backup=('etc/dracut.conf')
7474
source=(
7575
'git+https://github.com/dracutdevs/dracut.git'
76+
2527.patch::https://github.com/dracutdevs/dracut/commit/a2fe89116db4b286fbf515f26bd1773b5e6ee8ad.patch
77+
)
78+
sha512sums=(
79+
'SKIP'
80+
bba154e13463fb759e1cfd5f461b2b4e786ad8c6f4cacacbd918e911efc7d5a5368300676d6e6d8e9b7b2f4333314886bb1e34daac9f0c73c1c441baf7918063
7681
)
77-
sha512sums=('SKIP')
7882

7983
pkgver() {
8084
cd "${pkgname%-git}"
8185
git describe --long | sed 's/\([^-]*-\)g/r\1/;s/-/./g'
8286
}
8387

88+
prepare() {
89+
cd "${pkgname%-git}"
90+
patch -Np1 < ../*.patch
91+
}
92+
8493
build() {
8594
cd "${pkgname%-git}"
8695
./configure --prefix=/usr --sysconfdir=/etc --systemdsystemunitdir=/usr/lib/systemd/system

0 commit comments

Comments
 (0)