From f4f4fec5dca867606572a53ff347fdbd7bf6e806 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20=27sil2100=27=20Zemczak?= Date: Tue, 20 Oct 2020 17:26:40 +0200 Subject: [PATCH] Add the pi desktop oem user to the adm and sudo groups --- debian/changelog | 7 +++++++ .../ubuntu/hooks/099-ubuntu-image-customization.chroot | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 93e2b1a2..d68deb67 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +livecd-rootfs (2.694) UNRELEASED; urgency=medium + + * Add the pi desktop oem user to the adm and sudo groups, as that is needed + for wifi configuration. + + -- Ɓukasz 'sil2100' Zemczak Tue, 20 Oct 2020 17:25:35 +0200 + livecd-rootfs (2.693) groovy; urgency=medium * Build classic raspi server images by default from the 'classic' branch now. diff --git a/live-build/ubuntu/hooks/099-ubuntu-image-customization.chroot b/live-build/ubuntu/hooks/099-ubuntu-image-customization.chroot index d59d6c69..526f013e 100644 --- a/live-build/ubuntu/hooks/099-ubuntu-image-customization.chroot +++ b/live-build/ubuntu/hooks/099-ubuntu-image-customization.chroot @@ -12,7 +12,7 @@ if [ "$IMAGEFORMAT" == "none" ]; then chown syslog:adm /var/log/syslog # Create the oem user account - /usr/sbin/useradd -d /home/oem -m -N -u 29999 oem + /usr/sbin/useradd -d /home/oem -G adm,sudo -m -N -u 29999 oem /usr/sbin/oem-config-prepare --quiet touch "/var/lib/oem-config/run"