Skip to content

Commit f9d4a57

Browse files
committed
feat(debos/rootfs)! Drop experimental kernels
This was only briefly used and not very useful now that there are many other available kernel options (mainline, linux-qcom, qcom-next) and now that forky devlopment has started. Signed-off-by: Loïc Minier <[email protected]>
1 parent 4018e73 commit f9d4a57

File tree

3 files changed

+0
-28
lines changed

3 files changed

+0
-28
lines changed

.github/workflows/debos.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ jobs:
9191
set -ux
9292
debos \
9393
-t overlays:'${{ inputs.overlays }}' \
94-
-t experimentalkernel:true \
9594
-t xfcedesktop:true \
9695
-t aptlocalrepo:${PWD}/local-apt-repo \
9796
-t kernelpackage:'${{ inputs.kernelpackage }}' \

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ debos --fakemachine-backend qemu --memory 1GiB --scratchsize 4GiB debos-recipes/
123123
### Options for debos recipes
124124

125125
A few options are provided in the debos recipes; for the root filesystem recipe:
126-
- `experimentalkernel`: update the linux kernel to the version from experimental; default: don't update the kernel
127126
- `localdebs`: path to a directory with local deb packages to install (NB: debos expects relative pathnames)
128127
- `xfcedesktop`: install a Xfce desktop environment; default: console only environment
129128

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

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
{{- $xfcedesktop := or .xfcedesktop "false" }}
2-
{{- $experimentalkernel := or .experimentalkernel "false" }}
32
{{- $localdebs := or .localdebs "none" }}
43
{{- $aptlocalrepo := or .aptlocalrepo "none" }}
54
{{- $kernelpackage := or .kernelpackage "linux-image-arm64" }}
@@ -244,31 +243,6 @@ actions:
244243
- firmware-qcom-soc
245244
- {{$kernelpackage}}
246245

247-
{{- if eq $experimentalkernel "true" }}
248-
# this is an optional temporary option to install the kernel from
249-
# experimental until trixie/sid have a recent enough kernel, or some overlay
250-
# archive is provided; note that the original linux-image-arm64 is kept
251-
- action: run
252-
description: Install Linux kernel from experimental
253-
chroot: true
254-
command: |
255-
set -eux
256-
# add experimental APT sources
257-
cat >/etc/apt/sources.list.d/debian-experimental.sources <<EOF
258-
Types: deb
259-
URIs: http://deb.debian.org/debian/
260-
Suites: experimental
261-
Components: main non-free-firmware
262-
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
263-
EOF
264-
# update and install kernel from experimental
265-
apt update
266-
apt -y install -t experimental {{$kernelpackage}}
267-
# disable experimental from APT sources
268-
sed -i "1s/^/Enabled: no\n/" \
269-
/etc/apt/sources.list.d/debian-experimental.sources
270-
{{- end }}
271-
272246
# this is currently needed on boards such as RB1 which are using Android
273247
# bootloader to check the boot count of the boot_a/boot_b partitions
274248
- action: apt

0 commit comments

Comments
 (0)