aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 72cc58bc8c..685c151aa8 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 0000000000..be15f52f0f
--- /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
+