commit 69cfe785da6100a0743c5bd007ba9c37679de0d9
parent d4c0960f3e8a61a99200ac92b7296e186da760f2
Author: Johny Mattsson <johny.mattsson+github@gmail.com>
Date: Mon, 2 Oct 2017 12:23:07 +1100
Fix to ensure debootstrap finds its functions.
Relying on /usr/share/ is fraught with problems, as I found out the hard
way.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/zlibs/bootstrap b/zlibs/bootstrap
@@ -51,7 +51,7 @@ bootstrap_complete_base() {
notice "running debootstrap stage 1"
- sudo -E "$LIBPATH/extra/debootstrap/debootstrap" \
+ sudo -E env DEBOOTSTRAP_DIR="$LIBPATH/extra/debootstrap" "$LIBPATH/extra/debootstrap/debootstrap" \
--keyring="$LIBPATH/extra/devuan-keyring/keyrings/devuan-archive-keyring.gpg" \
--foreign \
--arch $arch $release $strapdir $mirror || zerr