aboutsummaryrefslogtreecommitdiffstats
path: root/main/mkinitfs/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-08-06 11:17:53 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-08-06 11:17:53 +0000
commit2251f300c3c86a3ef7256ed088ad4c4b1dd388e1 (patch)
treeec596f004da878f2e3012f91abf93a0d1c6943a4 /main/mkinitfs/APKBUILD
parentf4a76bb2a0c049aba21dace77c561bf7403a18ac (diff)
downloadaports-2251f300c3c86a3ef7256ed088ad4c4b1dd388e1.tar.bz2
aports-2251f300c3c86a3ef7256ed088ad4c4b1dd388e1.tar.xz
main/mkinitfs: backport fixes for new apk-tools behaviour
Diffstat (limited to 'main/mkinitfs/APKBUILD')
-rw-r--r--main/mkinitfs/APKBUILD14
1 files changed, 11 insertions, 3 deletions
diff --git a/main/mkinitfs/APKBUILD b/main/mkinitfs/APKBUILD
index 8f13f65f9f..bfc93e3ae6 100644
--- a/main/mkinitfs/APKBUILD
+++ b/main/mkinitfs/APKBUILD
@@ -1,16 +1,24 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mkinitfs
pkgver=2.0_rc1
-pkgrel=0
+pkgrel=1
pkgdesc="Tool to generate initramfs images for Alpine"
url=http://git.alpinelinux.org/cgit/mkinitfs
depends="busybox"
-source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2"
+source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2
+ 0001-mkinitfs-support-for-q.-echo-to-stdout-rather-than-s.patch
+ 0002-init-fixes-for-new-apk-behaviour.patch
+ "
license="GPL-2"
build() {
cd "$srcdir"/$pkgname-$pkgver
+ patch -p1 -i ../0001-mkinitfs-support-for-q.-echo-to-stdout-rather-than-s.patch || return 1
+ patch -p1 -i ../0002-init-fixes-for-new-apk-behaviour.patch || return 1
+
make
make install DESTDIR="$pkgdir" || return 1
}
-md5sums="4c8ae5a6cdeae50ddb36a8e3d3268eb2 mkinitfs-2.0_rc1.tar.bz2"
+md5sums="4c8ae5a6cdeae50ddb36a8e3d3268eb2 mkinitfs-2.0_rc1.tar.bz2
+ccbd60017cd2498f7e14e4b661efffb7 0001-mkinitfs-support-for-q.-echo-to-stdout-rather-than-s.patch
+eb588902edfef79a8912b5c81dfd6f1e 0002-init-fixes-for-new-apk-behaviour.patch"