Skip to content

Commit 55ba02c

Browse files
committed
debos: rootfs: Install firmware from sid
Workaround firmware in testing being too old by upgrading to the sid version. Signed-off-by: Loïc Minier <[email protected]>
1 parent 0fefa40 commit 55ba02c

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

debos-recipes/qualcomm-linux-debian-rootfs.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -175,6 +175,28 @@ actions:
175175
- firmware-qcom-soc
176176
- linux-image-arm64
177177

178+
# XXX this is a workaround until firmware-non-free migrates to testing; it
179+
# might make sense to have a generic mechanism to do this
180+
- action: run
181+
description: Install firmware packages from unstable
182+
chroot: true
183+
command: |
184+
set -eux
185+
# add sid APT sources
186+
cat >/etc/apt/sources.list.d/debian-sid.sources <<EOF
187+
Types: deb
188+
URIs: http://deb.debian.org/debian/
189+
Suites: sid
190+
Components: main non-free-firmware
191+
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
192+
EOF
193+
# update and install kernel from experimental
194+
apt update
195+
apt -y install -t unstable firmware-atheros firmware-qcom-soc
196+
# remove sid APT sources and update again
197+
rm -f /etc/apt/sources.list.d/debian-sid.sources
198+
apt update
199+
178200
{{- if eq $experimentalkernel "true" }}
179201
# this is an optional temporary option to install the kernel from
180202
# experimental until trixie/sid have a recent enough kernel, or some overlay

0 commit comments

Comments
 (0)