From 945e04f624345d5a2c48fef8872664a48bc78e12 Mon Sep 17 00:00:00 2001 From: Erich Eickmeyer Date: Wed, 20 Nov 2024 17:03:03 -0800 Subject: [PATCH] Let calamares-raspiprep.sh add oem user --- debian/changelog | 6 ++++++ lubuntu/oem/calamares-raspiprep.sh | 2 ++ 2 files changed, 8 insertions(+) diff --git a/debian/changelog b/debian/changelog index 3bc6c18..0f7775b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +calamares-settings-ubuntu (1:25.04.6) plucky; urgency=medium + + * Lubuntu raspi prep: Create oem user so it can actually login to sddm + + -- Erich Eickmeyer Wed, 20 Nov 2024 16:58:28 -0800 + calamares-settings-ubuntu (1:25.04.5) plucky; urgency=medium * Fix Vcs to point to ubuntu-qt-code team LP git. diff --git a/lubuntu/oem/calamares-raspiprep.sh b/lubuntu/oem/calamares-raspiprep.sh index 371c5e0..d3539d7 100755 --- a/lubuntu/oem/calamares-raspiprep.sh +++ b/lubuntu/oem/calamares-raspiprep.sh @@ -3,6 +3,8 @@ # First user configuration mode, bypassing oem config # mode +useradd -G adm,cdrom,dip,lpadmin,plugdev,sambashare,sudo -m -s /bin/bash -u 1001 oem + /usr/libexec/calamares-oemprep.sh sddm_file="$(cat <