Skip to content
Merged
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
17 changes: 15 additions & 2 deletions debos-recipes/qualcomm-linux-debian-rootfs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,11 @@ actions:
set -eux
# pre-emptively create a sudo group if sudo isn't installed
getent group sudo >/dev/null 2>&1 || groupadd --system sudo
# some of these groups are only needed for desktop scenarios
# some useful groups for desktop scenarios, but also to run payloads
# 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,video,users,sudo debian
--groups adm,audio,render,sudo,users,video debian
# password must be changed on first login; set it to "debian"
chage --lastday 0 debian
echo debian:debian | chpasswd
Expand All @@ -99,6 +101,7 @@ actions:
umask 226
echo "debian ALL=(ALL) NOPASSWD:ALL" >/etc/sudoers.d/90-debos
)

# NB: Recommends pull in way too many packages, and we don't need to follow
# Recommends reaching outside of this Priority level
- action: apt
Expand All @@ -123,6 +126,7 @@ actions:
- alsa-utils
- clinfo
- device-tree-compiler
- docker.io
- i2c-tools
- locales
- mesa-opencl-icd
Expand All @@ -136,10 +140,19 @@ actions:
- sudo
# lsusb
- usbutils
# media-ctl
- v4l-utils
- vim
- vulkan-tools
- wget

- action: run
description: Add default user to docker group
chroot: true
command: |
set -eux
usermod -a -G docker debian

{{- if eq $xfcedesktop "true" }}
# this should ideally be task-xfce-desktop, but this pulls too many apps;
# instead, curate from the Depends and Recommends of task-xfce-desktop and
Expand Down
Loading