aboutsummaryrefslogtreecommitdiffstats
path: root/main/mkinitfs/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/mkinitfs/APKBUILD')
-rw-r--r--main/mkinitfs/APKBUILD6
1 files changed, 5 insertions, 1 deletions
diff --git a/main/mkinitfs/APKBUILD b/main/mkinitfs/APKBUILD
index 0fe2a753fe..2564722944 100644
--- a/main/mkinitfs/APKBUILD
+++ b/main/mkinitfs/APKBUILD
@@ -1,18 +1,21 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mkinitfs
pkgver=2.1.1
-pkgrel=0
+pkgrel=1
pkgdesc="Tool to generate initramfs images for Alpine"
url=http://git.alpinelinux.org/cgit/mkinitfs
depends="busybox apk-tools>=2.0"
triggers="$pkgname.trigger:/usr/share/kernel/*"
source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2
+ 0001-mkinitfs-fix-for-running-without-b-option.patch
eglibc.patch
"
license="GPL-2"
prepare() {
cd "$srcdir"/$pkgname-$pkgver
+ patch -p1 -i "$srcdir"/0001-mkinitfs-fix-for-running-without-b-option.patch || return 1
+
# If we are using eglibc we need to include eglibc libs
# instead of uclibc libs.
if [ "$ALPINE_LIBC" = "eglibc" ]; then
@@ -30,4 +33,5 @@ package() {
make install DESTDIR="$pkgdir" || return 1
}
md5sums="0bb08663748f8fe3578236ad161bf5e6 mkinitfs-2.1.1.tar.bz2
+50fbfe355bc13564299850db1c4c6862 0001-mkinitfs-fix-for-running-without-b-option.patch
e59c2f7de496fe430b07e32fd812ebe0 eglibc.patch"