File tree Expand file tree Collapse file tree 2 files changed +6
-17
lines changed Expand file tree Collapse file tree 2 files changed +6
-17
lines changed Original file line number Diff line number Diff line change 14
14
matrix :
15
15
target :
16
16
[
17
- xenial_x64,
18
- xenial_arm64,
19
- xenial_armhf,
20
- bionic_x64,
21
- bionic_arm64,
22
- bionic_armhf,
23
- focal_x64,
24
- focal_arm64,
25
- focal_armhf,
26
- jammy_x64,
27
- jammy_arm64,
28
- jammy_armhf,
29
17
noble_x64,
30
18
noble_arm64,
31
19
noble_armhf,
Original file line number Diff line number Diff line change @@ -127,18 +127,19 @@ esac
127
127
128
128
if [ " $CROSS " -eq 1 ]
129
129
then
130
- docker exec -t $1 bash -c " mk-sbuild --target $HOST $DIST && sudo sed -i 's/^union-type=.*/union-type=overlay/' /etc/schroot/chroot.d/sbuild-$CHROOT && sbuild-update $CHROOT && sbuild-upgrade $CHROOT && sudo cp /usr/bin/qemu-a*-static /var/lib/schroot/chroots/$CHROOT /usr/bin"
130
+ docker exec -t $1 bash -c " mk-sbuild --arch amd64 -- target $HOST $DIST && sudo sed -i 's/^union-type=.*/union-type=overlay/' /etc/schroot/chroot.d/sbuild-$CHROOT && sbuild-update $CHROOT && sbuild-upgrade $CHROOT && sudo cp /usr/bin/qemu-a*-static /var/lib/schroot/chroots/$CHROOT /usr/bin"
131
131
else
132
132
docker exec -t $1 bash -c " mk-sbuild --arch $HOST $DIST && sudo sed -i 's/^union-type=.*/union-type=overlay/' /etc/schroot/chroot.d/sbuild-$CHROOT && sbuild-update $CHROOT && sbuild-upgrade $CHROOT "
133
133
fi
134
134
135
- if [ -n " ${QEMU+x} " ] && [ " $CROSS " -eq 1 ]; then
136
- docker exec -t $1 bash -c " update-binfmts --enable $QEMU "
137
- fi
138
-
139
135
# Install essential packages
140
136
docker exec -t $1 sudo bash -c " cd / && schroot -c source:$CHROOT -u root -- apt-get install -y apt-transport-https ca-certificates"
141
137
138
+ # if [ -n "${QEMU+x}" ] && [ "$CROSS" -eq 1 ]; then
139
+ # docker exec -t $1 sudo bash -c "cd / && schroot -c source:$CHROOT -u root -- update-binfmts --enable $QEMU"
140
+ # fi
141
+
142
+
142
143
docker stop $1
143
144
144
145
echo " export CHROOT=$CHROOT " > buildinfo
You can’t perform that action at this time.
0 commit comments