summaryrefslogtreecommitdiffstats
path: root/main/mkinitfs
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-08-20 12:02:08 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-08-20 12:02:08 +0000
commit84230ad9e9ed1591a6dfb3794610f469b1ca8385 (patch)
tree856233a8d68b6cb792302bfcfbbaa6ae1ea28685 /main/mkinitfs
parenta64d0902b7e387438bcf08c935d3c67d60aacb73 (diff)
downloadaports-84230ad9e9ed1591a6dfb3794610f469b1ca8385.tar.bz2
aports-84230ad9e9ed1591a6dfb3794610f469b1ca8385.tar.xz
main/mkinitfs: upgrade to 2.0_rc3
fixes #115
Diffstat (limited to 'main/mkinitfs')
-rw-r--r--main/mkinitfs/APKBUILD4
-rw-r--r--main/mkinitfs/mkinitfs.trigger8
2 files changed, 10 insertions, 2 deletions
diff --git a/main/mkinitfs/APKBUILD b/main/mkinitfs/APKBUILD
index 72cc58bc8..685c151aa 100644
--- a/main/mkinitfs/APKBUILD
+++ b/main/mkinitfs/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mkinitfs
-pkgver=2.0_rc2
+pkgver=2.0_rc3
pkgrel=0
pkgdesc="Tool to generate initramfs images for Alpine"
url=http://git.alpinelinux.org/cgit/mkinitfs
@@ -15,4 +15,4 @@ build() {
make
make install DESTDIR="$pkgdir" || return 1
}
-md5sums="0c9ede9aa7a2e292cc70144993278ee0 mkinitfs-2.0_rc2.tar.bz2"
+md5sums="7f0e2ec039d10a01f46a7a049d6cbea0 mkinitfs-2.0_rc3.tar.bz2"
diff --git a/main/mkinitfs/mkinitfs.trigger b/main/mkinitfs/mkinitfs.trigger
new file mode 100644
index 000000000..be15f52f0
--- /dev/null
+++ b/main/mkinitfs/mkinitfs.trigger
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+for i in "$@"; do
+ # get last element in path
+ kver=${i##*/}
+ mkinitfs $kver
+done
+