Received: from eggs.gnu.org ([2001:4830:134:3::10]:51047) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1biEk4-00047t-Fi for qemu-devel@nongnu.org; Fri, 09 Sep 2016 01:52:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1biEk1-000401-K5 for qemu-devel@nongnu.org; Fri, 09 Sep 2016 01:52:48 -0400 Received: from mx1.redhat.com ([209.132.183.28]:59842) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1biEk1-0003zt-ES for qemu-devel@nongnu.org; Fri, 09 Sep 2016 01:52:45 -0400 From: Fam Zheng Date: Fri, 9 Sep 2016 13:52:22 +0800 Message-Id: <1473400343-32619-9-git-send-email-famz@redhat.com> In-Reply-To: <1473400343-32619-1-git-send-email-famz@redhat.com> References: <1473400343-32619-1-git-send-email-famz@redhat.com> Subject: [Qemu-devel] [PULL 8/9] docker: build debootstrap after cloning List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell , Fam Zheng From: Sascha Silbe 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: Sascha Silbe Message-Id: <1473192351-601-8-git-send-email-silbe@linux.vnet.ibm.com> Signed-off-by: Fam Zheng --- tests/docker/dockerfiles/debian-bootstrap.pre | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/docker/dockerfiles/debian-bootstrap.pre b/tests/docker/dockerfiles/debian-bootstrap.pre index 1d4f777..7c76dce 100755 --- a/tests/docker/dockerfiles/debian-bootstrap.pre +++ b/tests/docker/dockerfiles/debian-bootstrap.pre @@ -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 -- 2.7.4