File tree Expand file tree Collapse file tree 3 files changed +0
-28
lines changed Expand file tree Collapse file tree 3 files changed +0
-28
lines changed Original file line number Diff line number Diff line change 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 }}' \
Original file line number Diff line number Diff line change @@ -123,7 +123,6 @@ debos --fakemachine-backend qemu --memory 1GiB --scratchsize 4GiB debos-recipes/
123123# ## Options for debos recipes
124124
125125A 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
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments