File tree Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Expand file tree Collapse file tree 2 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -45,8 +45,9 @@ debos --fakemachine-backend qemu --memory 1GiB --scratchsize 4GiB debos-recipes/
4545### Build options
4646
4747A few options are provided in the debos recipes; for the root filesystem recipe:
48- - experimentalkernel: update the linux kernel to the version from experimental; default: don't update the kernel
49- - xfcedesktop: install a Xfce desktop environment; default: console only environment
48+ - ` experimentalkernel ` : update the linux kernel to the version from experimental; default: don't update the kernel
49+ - ` localdebs ` : path to a directory with local deb packages to install (NB: debos expects relative pathnames)
50+ - ` xfcedesktop ` : install a Xfce desktop environment; default: console only environment
5051
5152For the image recipe:
5253- dtb: override the firmware provided device tree with one from the linux kernel, e.g. ` qcom/qcs6490-rb3gen2.dtb ` ; default: don't override
Original file line number Diff line number Diff line change 11{{- $xfcedesktop := or .xfcedesktop "false" }}
22{{- $experimentalkernel := or .experimentalkernel "false" }}
3+ {{- $localdebs := or .localdebs "none" }}
34
45architecture : arm64
56
@@ -190,6 +191,20 @@ actions:
190191 /etc/apt/sources.list.d/debian-experimental.sources
191192{{- end }}
192193
194+ {{- if ne $localdebs "none" }}
195+ - action : overlay
196+ description : Overlay local debs directory {{ $localdebs }} to /root/
197+ source : {{ $localdebs }}
198+ destination : /root/
199+
200+ - action : run
201+ description : Install local debs from /root/
202+ chroot : yes
203+ command : |
204+ set -eux
205+ apt -i install /root/*.deb
206+ {{- end }}
207+
193208 - action : run
194209 description : Create DTBs tarball
195210 chroot : false
You can’t perform that action at this time.
0 commit comments