File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ script: tests/run-ubuntu-chroot
55env :
66- RELEASE=
77- RELEASE=artful
8+ - RELEASE=artful ARCH=i386
89- RELEASE=xenial
910cache :
1011 directories :
Original file line number Diff line number Diff line change 22set -eu
33
44echo ${ARCH:= amd64}
5+ if [ " $ARCH " = i386 ]; then
6+ chrootprefix=linux32
7+ fi
58
69if [ -z " ${RELEASE:- } " ]; then
710 # determine latest release, usually devel (see https://launchpad.net/+apidoc)
@@ -26,7 +29,7 @@ sudo cp /etc/resolv.conf "$CHROOT/etc/resolv.conf"
2629# copy code checkout into chroot
2730sudo cp -a . " $CHROOT /build/src"
2831
29- sudo chroot " $CHROOT " << EOF
32+ sudo ${chrootprefix :- } chroot " $CHROOT " << EOF
3033mount -t proc proc /proc
3134mount -t devtmpfs devtmpfs /dev
3235mount -t devpts devpts /dev/pts
You can’t perform that action at this time.
0 commit comments