Skip to content

Commit bafb345

Browse files
committed
fix: debos: Avoid debos APT action for kernel
Kernel packages from CI currently have a plus sign; this seems to cause issues with debos' apt action, so use a run action instead. Signed-off-by: Loïc Minier <[email protected]>
1 parent 04aed4c commit bafb345

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

.github/workflows/debos.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@ on:
1414
kernelpackage:
1515
description: Name of kernel package to use
1616
type: string
17-
default: linux-image-6.16.1-qcom1+
17+
# plus sign is escaped as to prevent APT from interpreting this as a
18+
# package regexp; the package name actually has a plus sign
19+
default: linux-image-6.16.1-qcom1\+
1820

1921
outputs:
2022
artifacts_url:

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -210,13 +210,13 @@ actions:
210210
- kmod
211211
- linux-base
212212

213-
- action: apt
213+
- action: run
214214
description: Install kernel and firmware packages
215-
recommends: true
216-
packages:
217-
- firmware-atheros
218-
- firmware-qcom-soc
219-
- {{$kernelpackage}}
215+
chroot: true
216+
command: |
217+
set -eux
218+
apt update
219+
apt -y install firmware-atheros firmware-qcom-soc '{{$kernelpackage}}'
220220
221221
# XXX this is a workaround until firmware-non-free migrates to testing; it
222222
# might make sense to have a generic mechanism to do this

0 commit comments

Comments
 (0)