diff options
author | Leo <thinkabit.ukim@gmail.com> | 2020-02-20 13:38:06 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-02-20 16:02:14 -0300 |
commit | aaa4611f40331a6ec7f0096fbbaabdc259820f91 (patch) | |
tree | 5de2590e860d8548d2c8fc0e2797761feb9c0030 | |
parent | 9c5d89fbdc39716ca5e26717ca8ea3cb0e06edde (diff) | |
download | aports-aaa4611f40331a6ec7f0096fbbaabdc259820f91.tar.bz2 aports-aaa4611f40331a6ec7f0096fbbaabdc259820f91.tar.xz |
main/mkinitfs: depend explicitly on kmod to use modinfo command
-rw-r--r-- | main/mkinitfs/APKBUILD | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/main/mkinitfs/APKBUILD b/main/mkinitfs/APKBUILD index 387666617b..10195000ec 100644 --- a/main/mkinitfs/APKBUILD +++ b/main/mkinitfs/APKBUILD @@ -2,28 +2,26 @@ pkgname=mkinitfs pkgver=3.4.5 _ver=${pkgver%_git*} -pkgrel=0 +pkgrel=1 pkgdesc="Tool to generate initramfs images for Alpine" url="https://git.alpinelinux.org/cgit/mkinitfs" arch="all" -license="GPL-2.0" +license="GPL-2.0-only" # currently we do not ship any testsuite options="!check" makedepends_host="busybox kmod-dev util-linux-dev cryptsetup-dev linux-headers" makedepends="$makedepends_host" -depends="busybox>=1.28.2-r1 apk-tools>=2.9.1 lddtree>=1.25" +depends="busybox>=1.28.2-r1 apk-tools>=2.9.1 lddtree>=1.25 kmod" subpackages="$pkgname-doc" install="$pkgname.pre-upgrade $pkgname.post-install $pkgname.post-upgrade" triggers="$pkgname.trigger=/usr/share/kernel/*" -source="https://dev.alpinelinux.org/archive/$pkgname/$pkgname-$_ver.tar.xz" +source="https://dev.alpinelinux.org/archive/mkinitfs/mkinitfs-$_ver.tar.xz" build() { - cd "$builddir" make VERSION=$pkgver-r$pkgrel } package() { - cd "$builddir" make install DESTDIR="$pkgdir" } |