summaryrefslogtreecommitdiffstats
path: root/core/mkinitfs
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-05-01 14:07:17 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-05-01 14:07:17 +0000
commit7c0b51220bb9415c45ecf6dfd4863bca73becc87 (patch)
tree2c05e77584d17be927c5910e2ed9908fb329fcdb /core/mkinitfs
parent89c67816f063d0f83a07353a54c4eb4f041ea25d (diff)
downloadaports-7c0b51220bb9415c45ecf6dfd4863bca73becc87.tar.bz2
aports-7c0b51220bb9415c45ecf6dfd4863bca73becc87.tar.xz
core/mkinitfs: upgrade to 1.3
and fix an issue after that.
Diffstat (limited to 'core/mkinitfs')
-rw-r--r--core/mkinitfs/APKBUILD13
-rw-r--r--core/mkinitfs/mkinitfs-1.3-fix.patch30
2 files changed, 38 insertions, 5 deletions
diff --git a/core/mkinitfs/APKBUILD b/core/mkinitfs/APKBUILD
index 847575ad6..9441399df 100644
--- a/core/mkinitfs/APKBUILD
+++ b/core/mkinitfs/APKBUILD
@@ -1,16 +1,19 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mkinitfs
-pkgver=1.2
-pkgrel=0
+pkgver=1.3
+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"
-license=GPL-2
+source="http://git.alpinelinux.org/cgit/$pkgname/snapshot/$pkgname-$pkgver.tar.bz2
+ mkinitfs-1.3-fix.patch"
+license="GPL-2"
build() {
cd "$srcdir"/$pkgname-$pkgver
+ patch -p1 < ../mkinitfs-1.3-fix.patch || return 1
make
make install DESTDIR="$pkgdir" || return 1
}
-md5sums="371dac211d3755c5e55795d4f57b974d mkinitfs-1.2.tar.bz2"
+md5sums="c1285091a1ab336906fb0c6dfaf623de mkinitfs-1.3.tar.bz2
+24caa6fd11bec9ff59a869dd9328fd03 mkinitfs-1.3-fix.patch"
diff --git a/core/mkinitfs/mkinitfs-1.3-fix.patch b/core/mkinitfs/mkinitfs-1.3-fix.patch
new file mode 100644
index 000000000..e161a011e
--- /dev/null
+++ b/core/mkinitfs/mkinitfs-1.3-fix.patch
@@ -0,0 +1,30 @@
+commit 3cffe48a9e2dbcd0d794b34dc7e1c1e043c437d5
+Author: Natanael Copa <ncopa@alpinelinux.org>
+Date: Fri May 1 13:24:37 2009 +0000
+
+ bugfix for the dependency tracing
+
+diff --git a/mkinitfs.in b/mkinitfs.in
+index 2e2dce6..37a948e 100755
+--- a/mkinitfs.in
++++ b/mkinitfs.in
+@@ -69,7 +69,7 @@ initfs_base() {
+
+ find_kmod_deps() {
+ awk '
+-function recursedeps(k, j) {
++function recursedeps(k, j, dep) {
+ if (k in visited)
+ return;
+ visited[k] = 1;
+@@ -133,8 +133,8 @@ usage: mkinitfs [-hkLl] [-b basedir] [-c configfile] [-F features] [-f fstab]
+ options:
+ -b prefix files and kernel modules with basedir
+ -c use configfile instead of $config
+- -F use fstab instead of $fstab
+- -f use specified features
++ -f use fstab instead of $fstab
++ -F use specified features
+ -h print this help
+ -i use initfile as init instead of $init
+ -k keep tempdir