Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ debos --fakemachine-backend qemu --memory 1GiB --scratchsize 4GiB debos-recipes/
A few options are provided in the debos recipes; for the root filesystem recipe:
- `localdebs`: path to a directory with local deb packages to install (NB: debos expects relative pathnames)
- `xfcedesktop`: install an Xfce desktop environment; default: console only environment
- `overlays`: a `,`-separated list of rootfs overlays to add from `debos-recipes/overlays/`. Defaults to `qsc-deb-releases` to add our overlay apt repository that contains some package delta that isn't fully upstreamed and backported to trixie in Debian yet.

For the image recipe:
- `dtb`: override the firmware provided device tree with one from the Linux kernel, e.g. `qcom/qcs6490-rb3gen2.dtb`; default: don't override
Expand Down
9 changes: 6 additions & 3 deletions debos-recipes/qualcomm-linux-debian-rootfs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
{{- $localdebs := or .localdebs "none" }}
{{- $aptlocalrepo := or .aptlocalrepo "none" }}
{{- $kernelpackage := or .kernelpackage "linux-image-arm64" }}
{{- $overlays := or .overlays "qsc-deb-releases" }}
{{- $buildid := or .buildid "" }}

architecture: arm64
Expand Down Expand Up @@ -52,8 +53,8 @@ actions:
description: Add Debian backports APT configuration
source: overlays/backports

{{- if .overlays }}
{{- range $overlay := split "," .overlays }}
{{- if $overlays }}
{{- range $overlay := split "," $overlays }}
- action: overlay
description: Apply overlay {{$overlay}}
source: overlays/{{$overlay}}
Expand Down Expand Up @@ -86,6 +87,8 @@ actions:
- dosfstools
# ext4 tools, notably e2fsck for the root filesystem
- e2fsprogs
# fastrpc support. fastrpc-tests pulls in the required stack
- fastrpc-tests
# fwupd tools, enable OTA EFI firmware capsule updates
- fwupd
# defaults to "systemd-sysv"; perhaps not needed
Expand Down Expand Up @@ -133,7 +136,7 @@ actions:
# from the serial console, over SSH, or in containers - where the desktop
# session has not updated ACLs to the device nodes
useradd --create-home --shell /bin/bash --user-group \
--groups adm,audio,render,sudo,users,video debian
--groups adm,audio,fastrpc,render,sudo,users,video debian
# set password to "debian"
echo debian:debian | chpasswd
# password must be changed on first login
Expand Down
Loading