File tree Expand file tree Collapse file tree 3 files changed +33
-0
lines changed Expand file tree Collapse file tree 3 files changed +33
-0
lines changed Original file line number Diff line number Diff line change 26
26
jammy_x64,
27
27
jammy_arm64,
28
28
jammy_armhf,
29
+ noble_x64,
30
+ noble_arm64,
31
+ noble_armhf,
29
32
]
30
33
steps :
31
34
- name : Check out the repo
Original file line number Diff line number Diff line change 30
30
jammy_x64,
31
31
jammy_arm64,
32
32
jammy_armhf,
33
+ noble_x64,
34
+ noble_arm64,
35
+ noble_armhf,
33
36
]
34
37
steps :
35
38
- name : Comment
Original file line number Diff line number Diff line change @@ -98,6 +98,29 @@ case "$1" in
98
98
CROSS=1
99
99
;;
100
100
101
+ " noble_x64" )
102
+ CHROOT=noble-amd64
103
+ HOST=amd64
104
+ DIST=noble
105
+ CROSS=0
106
+ ;;
107
+
108
+ " noble_arm64" )
109
+ CHROOT=noble-amd64-arm64
110
+ HOST=arm64
111
+ DIST=noble
112
+ QEMU=qemu-aarch64
113
+ CROSS=1
114
+ ;;
115
+
116
+ " noble_armhf" )
117
+ CHROOT=noble-amd64-armhf
118
+ HOST=armhf
119
+ DIST=noble
120
+ QEMU=qemu-armhf
121
+ CROSS=1
122
+ ;;
123
+
101
124
* )
102
125
exit 1
103
126
esac
@@ -109,6 +132,10 @@ else
109
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 "
110
133
fi
111
134
135
+ if [[ -n " ${QEMU+x} " && " $CROSS " -eq 1 ]]; then
136
+ docker exec -t $1 bash -c " update-binfmts --enable $QEMU "
137
+ fi
138
+
112
139
# Install essential packages
113
140
docker exec -t $1 sudo bash -c " cd / && schroot -c source:$CHROOT -u root -- apt-get install -y apt-transport-https ca-certificates"
114
141
You can’t perform that action at this time.
0 commit comments