diff options
author | Tomeu Vizoso <[email protected]> | 2019-08-19 17:30:10 +0200 |
---|---|---|
committer | Tomeu Vizoso <[email protected]> | 2019-08-21 16:41:56 +0200 |
commit | 37946523859c97f7476c44e2fbfcbb179044a50a (patch) | |
tree | 41e5d67cb39e253d9d3bba2b2bdf1a0a08aad3d1 /src | |
parent | 8496045adc154efec186e6c4aeeb838ff344437e (diff) |
panfrost/ci: Install qemu-arm-static into chroot
Some runners may be configured such that the qemu binary might not be
available by the time we need to start running commands within the
chroot.
So make sure that it's there to avoid suprising problems in that case.
Signed-off-by: Tomeu Vizoso <[email protected]>
Reviewed-by: Alyssa Rosenzweig <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/panfrost/ci/debian-install.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/drivers/panfrost/ci/debian-install.sh b/src/gallium/drivers/panfrost/ci/debian-install.sh index 09f3319628c..fbb95887d34 100644 --- a/src/gallium/drivers/panfrost/ci/debian-install.sh +++ b/src/gallium/drivers/panfrost/ci/debian-install.sh @@ -151,10 +151,17 @@ rm -rf /kernel ############### Create rootfs cp ${PANFROST_CI_DIR}/create-rootfs.sh /artifacts/rootfs/. +mkdir -p /artifacts/rootfs/bin +cp /usr/bin/qemu-aarch64-static /artifacts/rootfs/bin +cp /usr/bin/qemu-arm-static /artifacts/rootfs/bin + 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/bin/qemu-arm-static +rm /artifacts/rootfs/bin/qemu-aarch64-static rm /artifacts/rootfs/create-rootfs.sh |