diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-08-09 16:04:23 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-08-09 16:04:23 +0000 |
commit | 26e9e6bc1b5704b88f176ee99dd2654374691527 (patch) | |
tree | 54acedb6cd86f871f0716b83732b9a0a436a33b0 /main/mkinitfs/APKBUILD | |
parent | 71799865c4954850b62406e0e565189da1a2ae6f (diff) | |
download | aports-26e9e6bc1b5704b88f176ee99dd2654374691527.tar.bz2 aports-26e9e6bc1b5704b88f176ee99dd2654374691527.tar.xz |
main/mkinitfs: fix for parsing modules.dep when it has full paths
fixes issue with initramfs not having the needed modules
Diffstat (limited to 'main/mkinitfs/APKBUILD')
-rw-r--r-- | main/mkinitfs/APKBUILD | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/main/mkinitfs/APKBUILD b/main/mkinitfs/APKBUILD index af86c94edb..426ada44be 100644 --- a/main/mkinitfs/APKBUILD +++ b/main/mkinitfs/APKBUILD @@ -1,15 +1,25 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=mkinitfs pkgver=2.0_rc9 -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 + mod-deps.patch " license="GPL-2" +prepare() { + cd "$srcdir"/$pkgname-$pkgver + for i in $source; do + case "$i" in + *.patch) patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + build() { cd "$srcdir"/$pkgname-$pkgver make || return 1 @@ -19,4 +29,5 @@ package() { cd "$srcdir"/$pkgname-$pkgver make install DESTDIR="$pkgdir" || return 1 } -md5sums="54eb3779916b61c91f91c608dc99667a mkinitfs-2.0_rc9.tar.bz2" +md5sums="54eb3779916b61c91f91c608dc99667a mkinitfs-2.0_rc9.tar.bz2 +ff8fd46b88690e74505f3fe31fae0aff mod-deps.patch" |