[Mesa-dev] [PATCH 2/5] panfrost/ci: Print bootstrap log

Alyssa Rosenzweig alyssa.rosenzweig at collabora.com
Wed Aug 21 14:04:33 UTC 2019


R-b

On Wed, Aug 21, 2019 at 10:17:50AM +0200, Tomeu Vizoso wrote:
> 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 at collabora.com>
> ---
>  src/gallium/drivers/panfrost/ci/debian-install.sh | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/src/gallium/drivers/panfrost/ci/debian-install.sh b/src/gallium/drivers/panfrost/ci/debian-install.sh
> index 816b616b491a..09f3319628c3 100644
> --- a/src/gallium/drivers/panfrost/ci/debian-install.sh
> +++ b/src/gallium/drivers/panfrost/ci/debian-install.sh
> @@ -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
>  
> -- 
> 2.20.1
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20190821/96ef8d4f/attachment.sig>


More information about the mesa-dev mailing list