diff options
author | Rajiv Ranganath <rajiv.ranganath@atihita.com> | 2017-10-10 12:27:05 +0530 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-10-20 05:14:58 +0000 |
commit | 29bad0fd9e9c5a31ecf74ae706d008d41afbf840 (patch) | |
tree | 1ef07c471631ebdac8ab36fa8f7ed613b9a955a1 /main/mkinitfs | |
parent | 627c9b1f484f406e4778384d4881d14d15bdb901 (diff) | |
download | aports-29bad0fd9e9c5a31ecf74ae706d008d41afbf840.tar.bz2 aports-29bad0fd9e9c5a31ecf74ae706d008d41afbf840.tar.xz |
main/mkinitfs: Add busybox to makedepends_host
When bootstrapping aarch64, mkinitfs fails to build with the following
error
```
+ apkbuildname mkinitfs
+ local repo=mkinitfs
+ local pkg=mkinitfs
+ [ mkinitfs = mkinitfs ]
+ repo=main
+ echo /home/builder/aports-edge/main/mkinitfs/APKBUILD
+ CHOST=aarch64 BOOTSTRAP=bootimage APKBUILD=/home/builder/aports-edge/main/mkinitfs/APKBUILD abuild -r
>>> mkinitfs: abuild 3.0.2-r0
>>> mkinitfs: Checking sanity of /home/builder/aports-edge/main/mkinitfs/APKBUILD...
>>> mkinitfs: Analyzing dependencies...
ERROR: unsatisfiable constraints:
/bin/sh (virtual):
provided by: busybox
required by: kmod-24-r0[/bin/sh]
kmod-24-r0[/bin/sh]
.makedepends-mkinitfs-0:
masked in: cache
satisfies: world[.makedepends-mkinitfs]
>>> ERROR: mkinitfs: all failed
>>> mkinitfs: Uninstalling dependencies...
```
Adding busybox to makedepends_host fixes this issue.
Signed-off-by: Rajiv Ranganath <rajiv.ranganath@atihita.com>
Diffstat (limited to 'main/mkinitfs')
-rw-r--r-- | main/mkinitfs/APKBUILD | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/mkinitfs/APKBUILD b/main/mkinitfs/APKBUILD index db1ea1cc57..8c1c2493ba 100644 --- a/main/mkinitfs/APKBUILD +++ b/main/mkinitfs/APKBUILD @@ -8,7 +8,7 @@ url="http://git.alpinelinux.org/cgit/mkinitfs" arch="all" license="GPL2" makedepends_build="" -makedepends_host="kmod-dev util-linux-dev cryptsetup-dev linux-headers" +makedepends_host="busybox kmod-dev util-linux-dev cryptsetup-dev linux-headers" makedepends="$makedepends_build $makedepends_host" depends="busybox apk-tools>=2.0 lddtree>=1.25" install="$pkgname.pre-upgrade $pkgname.post-install $pkgname.post-upgrade" |