Commit ae2f659c authored by Sascha Silbe's avatar Sascha Silbe Committed by Fam Zheng
Browse files

docker: build debootstrap after cloning



When using the git version of debootstrap (because no usable version
of debootstrap was installed on the host), we need to run 'make' so
that devices.tar.gz gets built. Otherwise the first debootstrap stage
will fail without printing any error message.

Signed-off-by: default avatarSascha Silbe <silbe@linux.vnet.ibm.com>
Message-Id: <1473192351-601-8-git-send-email-silbe@linux.vnet.ibm.com>
Signed-off-by: default avatarFam Zheng <famz@redhat.com>
parent 00263139
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -57,6 +57,7 @@ if [ -z $DEBOOTSTRAP_DIR ]; then
        git clone ${DEBOOTSTRAP_SOURCE} ./debootstrap.git
        export DEBOOTSTRAP_DIR=./debootstrap.git
        DEBOOTSTRAP=./debootstrap.git/debootstrap
        (cd "${DEBOOTSTRAP_DIR}" && "${FAKEROOT}" make )
    fi
else
    DEBOOTSTRAP=${DEBOOTSTRAP_DIR}/debootstrap