panfrost/ci: Print bootstrap log
authorTomeu Vizoso <tomeu.vizoso@collabora.com>
Mon, 19 Aug 2019 14:40:53 +0000 (16:40 +0200)
committerTomeu Vizoso <tomeu.vizoso@collabora.com>
Wed, 21 Aug 2019 14:41:56 +0000 (16:41 +0200)
A number of things can go wrong when building the rootfs from within a
non-native chroot, so make sure to print the bootstrap.log so we can
tell what's going on.

Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
src/gallium/drivers/panfrost/ci/debian-install.sh

index 816b616b491a7de86d80507e04cb8d1772e7e4a9..09f3319628c3a5683b1c10477f3cb2814a1a4652 100644 (file)
@@ -151,7 +151,10 @@ rm -rf /kernel
 
 ############### Create rootfs
 cp ${PANFROST_CI_DIR}/create-rootfs.sh /artifacts/rootfs/.
+set +e
 debootstrap --variant=minbase --arch=${DEBIAN_ARCH} testing /artifacts/rootfs/ http://deb.debian.org/debian
+cat /artifacts/rootfs/debootstrap/debootstrap.log
+set -e
 chroot /artifacts/rootfs sh /create-rootfs.sh
 rm /artifacts/rootfs/create-rootfs.sh