File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,7 @@ debos --fakemachine-backend qemu --memory 1GiB --scratchsize 4GiB debos-recipes/
4646
4747A few options are provided in the debos recipes; for the root filesystem recipe:
4848- experimentalkernel: update the linux kernel to the version from experimental; default: don't update the kernel
49+ - localdebs: install this space separte list of local deb packages (NB: debos expects relative pathnames)
4950- xfcedesktop: install a Xfce desktop environment; default: console only environment
5051
5152For the image recipe:
Original file line number Diff line number Diff line change 11{{- $xfcedesktop := or .xfcedesktop "false" }}
22{{- $experimentalkernel := or .experimentalkernel "false" }}
3+ {{- $localdebs := list -}}
4+ {{- if .localdebs -}}
5+ {{- $localdebs = split " " .localdebs }}
6+ {{- end -}}
37
48architecture : arm64
59
@@ -190,6 +194,21 @@ actions:
190194 /etc/apt/sources.list.d/debian-experimental.sources
191195{{- end }}
192196
197+ {{ range $deb := $localdebs }}
198+ - action : overlay
199+ description : Copy local deb "{{ $deb }}"
200+ source : {{ $deb }}
201+ destination : /local-debs/
202+
203+ - action : run
204+ description : Install local deb "{{ $deb }}"
205+ chroot : yes
206+ command : |
207+ set -eux
208+ apt -y install /local-debs/*.deb
209+ rm -rf /local-debs/
210+ {{ end }}
211+
193212 - action : run
194213 description : Create DTBs tarball
195214 chroot : false
You can’t perform that action at this time.
0 commit comments