|
1 | 1 | {{- $xfcedesktop := or .xfcedesktop "false" }} |
2 | | -{{- $experimentalkernel := or .experimentalkernel "false" }} |
3 | 2 | {{- $localdebs := or .localdebs "none" }} |
4 | 3 | {{- $aptlocalrepo := or .aptlocalrepo "none" }} |
5 | 4 | {{- $kernelpackage := or .kernelpackage "linux-image-arm64" }} |
@@ -246,53 +245,6 @@ actions: |
246 | 245 | - firmware-qcom-soc |
247 | 246 | - {{$kernelpackage}} |
248 | 247 |
|
249 | | - # XXX this is a workaround until firmware-non-free migrates to testing; it |
250 | | - # might make sense to have a generic mechanism to do this |
251 | | - - action: run |
252 | | - description: Install firmware packages from unstable |
253 | | - chroot: true |
254 | | - command: | |
255 | | - set -eux |
256 | | - # add sid APT sources |
257 | | - cat >/etc/apt/sources.list.d/debian-sid.sources <<EOF |
258 | | - Types: deb |
259 | | - URIs: http://deb.debian.org/debian/ |
260 | | - Suites: sid |
261 | | - Components: main non-free-firmware |
262 | | - Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg |
263 | | - EOF |
264 | | - # update and install firmware from unstable |
265 | | - apt update |
266 | | - apt -y install -t unstable firmware-atheros firmware-qcom-soc |
267 | | - # remove sid APT sources and update again |
268 | | - rm -f /etc/apt/sources.list.d/debian-sid.sources |
269 | | - apt update |
270 | | -
|
271 | | -{{- if eq $experimentalkernel "true" }} |
272 | | - # this is an optional temporary option to install the kernel from |
273 | | - # experimental until trixie/sid have a recent enough kernel, or some overlay |
274 | | - # archive is provided; note that the original linux-image-arm64 is kept |
275 | | - - action: run |
276 | | - description: Install Linux kernel from experimental |
277 | | - chroot: true |
278 | | - command: | |
279 | | - set -eux |
280 | | - # add experimental APT sources |
281 | | - cat >/etc/apt/sources.list.d/debian-experimental.sources <<EOF |
282 | | - Types: deb |
283 | | - URIs: http://deb.debian.org/debian/ |
284 | | - Suites: experimental |
285 | | - Components: main non-free-firmware |
286 | | - Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg |
287 | | - EOF |
288 | | - # update and install kernel from experimental |
289 | | - apt update |
290 | | - apt -y install -t experimental {{$kernelpackage}} |
291 | | - # disable experimental from APT sources |
292 | | - sed -i "1s/^/Enabled: no\n/" \ |
293 | | - /etc/apt/sources.list.d/debian-experimental.sources |
294 | | -{{- end }} |
295 | | - |
296 | 248 | # this is currently needed on boards such as RB1 which are using Android |
297 | 249 | # bootloader to check the boot count of the boot_a/boot_b partitions |
298 | 250 | - action: apt |
|
0 commit comments