Subject: [alpine-aports] [PATCH] main/mkinitfs: Add busybox to makedepends_host

From: Rajiv Ranganath <[email-masked]>
Date: Tue, 10 Oct 2017 12:27:05 +0530

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 <[email-masked]>
---
 main/mkinitfs/APKBUILD |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/main/mkinitfs/APKBUILD b/main/mkinitfs/APKBUILD
index db1ea1c..8c1c249 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"

---
Unsubscribe:  [email-masked]
Help:         [email-masked]
---