Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package jeos-firstboot for openSUSE:Factory checked in at 2025-04-20 09:34:46 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/jeos-firstboot (Old) and /work/SRC/openSUSE:Factory/.jeos-firstboot.new.30101 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "jeos-firstboot" Sun Apr 20 09:34:46 2025 rev:64 rq:1269600 version:1.5.5 Changes: -------- --- /work/SRC/openSUSE:Factory/jeos-firstboot/jeos-firstboot.changes 2024-10-02 21:33:06.785704598 +0200 +++ /work/SRC/openSUSE:Factory/.jeos-firstboot.new.30101/jeos-firstboot.changes 2025-04-20 19:56:45.464874519 +0200 @@ -1,0 +2,8 @@ +Tue Apr 15 11:10:38 UTC 2025 - Fabian Vogt <fv...@suse.com> + +- Update to version 1.5.5: + * user: Add field to add the user to specified groups (bsc#1241215) + * Add title and description to remaining modules +- Remove changesauthor from _service + +------------------------------------------------------------------- Old: ---- jeos-firstboot-1.5.3.obscpio New: ---- jeos-firstboot-1.5.5.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ jeos-firstboot.spec ++++++ --- /var/tmp/diff_new_pack.xpY5yS/_old 2025-04-20 19:56:47.376954567 +0200 +++ /var/tmp/diff_new_pack.xpY5yS/_new 2025-04-20 19:56:47.404955738 +0200 @@ -1,7 +1,7 @@ # # spec file for package jeos-firstboot # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -23,7 +23,7 @@ %endif Name: jeos-firstboot -Version: 1.5.3 +Version: 1.5.5 Release: 0 Summary: Simple text based JeOS first boot wizard License: MIT ++++++ _service ++++++ --- /var/tmp/diff_new_pack.xpY5yS/_old 2025-04-20 19:56:47.740969806 +0200 +++ /var/tmp/diff_new_pack.xpY5yS/_new 2025-04-20 19:56:47.792971982 +0200 @@ -5,7 +5,6 @@ <param name="versionformat">@PARENT_TAG@.@TAG_OFFSET@</param> <param name="versionrewrite-pattern">v(.*)</param> <param name="changesgenerate">enable</param> - <param name="changesauthor">jeos-inter...@suse.de</param> </service> <service name="set_version" mode="manual"/> <service name="tar" mode="buildtime" /> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.xpY5yS/_old 2025-04-20 19:56:47.964979184 +0200 +++ /var/tmp/diff_new_pack.xpY5yS/_new 2025-04-20 19:56:47.996980523 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/openSUSE/jeos-firstboot.git</param> - <param name="changesrevision">f3ae15f25ffbfb9144de9d0099ef35e5c67891c4</param></service></servicedata> + <param name="changesrevision">2c6f84848d50a777836125c930e55da22ee8a25a</param></service></servicedata> (No newline at EOF) ++++++ jeos-firstboot-1.5.3.obscpio -> jeos-firstboot-1.5.5.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-1.5.3/files/usr/share/jeos-firstboot/modules/network-modules/NetworkManager new/jeos-firstboot-1.5.5/files/usr/share/jeos-firstboot/modules/network-modules/NetworkManager --- old/jeos-firstboot-1.5.3/files/usr/share/jeos-firstboot/modules/network-modules/NetworkManager 2024-10-01 16:07:03.000000000 +0200 +++ new/jeos-firstboot-1.5.5/files/usr/share/jeos-firstboot/modules/network-modules/NetworkManager 2025-04-15 13:09:31.000000000 +0200 @@ -2,6 +2,9 @@ # SPDX-FileCopyrightText: Copyright 2015-2022 SUSE LLC # shellcheck shell=bash +network_title=$"Network (NetworkManager)" +network_description=$"Configure networking using nmtui" + network_jeos_config() { nmtui diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-1.5.3/files/usr/share/jeos-firstboot/modules/network-modules/wicked new/jeos-firstboot-1.5.5/files/usr/share/jeos-firstboot/modules/network-modules/wicked --- old/jeos-firstboot-1.5.3/files/usr/share/jeos-firstboot/modules/network-modules/wicked 2024-10-01 16:07:03.000000000 +0200 +++ new/jeos-firstboot-1.5.5/files/usr/share/jeos-firstboot/modules/network-modules/wicked 2025-04-15 13:09:31.000000000 +0200 @@ -2,6 +2,9 @@ # SPDX-FileCopyrightText: Copyright 2015-2022 SUSE LLC # shellcheck shell=bash +network_title=$"Network (Wicked)" +network_description=$"Create a DHCP config for all interfaces" + do_wicked_autoconfig() { d --infobox $"Collecting network info ..." 3 33 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-1.5.3/files/usr/share/jeos-firstboot/modules/raspberrywifi new/jeos-firstboot-1.5.5/files/usr/share/jeos-firstboot/modules/raspberrywifi --- old/jeos-firstboot-1.5.3/files/usr/share/jeos-firstboot/modules/raspberrywifi 2024-10-01 16:07:03.000000000 +0200 +++ new/jeos-firstboot-1.5.5/files/usr/share/jeos-firstboot/modules/raspberrywifi 2025-04-15 13:09:31.000000000 +0200 @@ -2,6 +2,9 @@ # SPDX-FileCopyrightText: Copyright 2015-2022 SUSE LLC # shellcheck shell=bash +raspberrywifi_title=$"WiFi Network (RaspberryPi)" +raspberrywifi_description=$"Connect to a WiFi network" + config_wireless=false # Raspberry pi Wi-fi functions diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-1.5.3/files/usr/share/jeos-firstboot/modules/ssh_enroll new/jeos-firstboot-1.5.5/files/usr/share/jeos-firstboot/modules/ssh_enroll --- old/jeos-firstboot-1.5.3/files/usr/share/jeos-firstboot/modules/ssh_enroll 2024-10-01 16:07:03.000000000 +0200 +++ new/jeos-firstboot-1.5.5/files/usr/share/jeos-firstboot/modules/ssh_enroll 2025-04-15 13:09:31.000000000 +0200 @@ -4,6 +4,9 @@ # Only show the configuration if the package is installed if command -v ssh-pairing >/dev/null; then + ssh_enroll_title=$"SSH Key Enrollment" + ssh_enroll_description=$"Enroll public keys for root login over SSH" + ssh_enroll_jeos_config() { DIALOGOPTS="--backtitle \"$PRETTY_NAME\"" ssh-pairing || : diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jeos-firstboot-1.5.3/files/usr/share/jeos-firstboot/modules/user new/jeos-firstboot-1.5.5/files/usr/share/jeos-firstboot/modules/user --- old/jeos-firstboot-1.5.3/files/usr/share/jeos-firstboot/modules/user 2024-10-01 16:07:03.000000000 +0200 +++ new/jeos-firstboot-1.5.5/files/usr/share/jeos-firstboot/modules/user 2025-04-15 13:09:31.000000000 +0200 @@ -6,10 +6,12 @@ user_description=$"Create an unprivileged user account" user_priority=60 +# First parameter is default list of supplemental groups user_do_config() { local username="" local fullname="" + local groups="$1" local errmsg # Loop until cancelled or successfully completed. @@ -22,11 +24,12 @@ d_with_result --title $"User Creation" \ --insecure \ --cancel-label $"Skip" \ - --mixedform "${msg}" 9 0 5 \ + --mixedform "${msg}" 9 0 6 \ $"Username" 1 0 "$username" 1 18 35 0 0 \ $"Full name" 2 0 "$fullname" 2 18 35 0 0 \ - $"Password" 4 0 "" 4 18 35 0 1 \ - $"Password (again)" 5 0 "" 5 18 35 0 1 + $"Groups" 3 0 "$groups" 3 18 35 0 0 \ + $"Password" 5 0 "" 5 18 35 0 1 \ + $"Password (again)" 6 0 "" 6 18 35 0 1 local ret=$? if [ "$ret" -eq 1 ]; then @@ -45,9 +48,10 @@ # Collect input username="${input[0]}" fullname="${input[1]}" + groups="${input[2]}" # Make sure not to pass those as parameters to processes! - local password="${input[2]}" - local password_repeat="${input[3]}" + local password="${input[3]}" + local password_repeat="${input[4]}" # Input handling and validation if ! [[ "$username" =~ ^[a-z][-_a-z0-9]*$ ]]; then @@ -88,6 +92,15 @@ # Nothing we can do here, admin can fix this locally as root fi + local group="" + for group in $groups; do + errmsg="$(usermod -a -G "$group" "$username" 2>&1)" + if [ "$?" -ne 0 ]; then + d_styled --title $"User Creation" --msgbox "$(printf $"Failed to add the user to the %s group: %s" "$group" "$errmsg")" 8 45 + # Nothing we can do here, admin can fix this locally as root + fi + done + break done @@ -96,10 +109,16 @@ user_systemd_firstboot() { - user_do_config + # Add the user created during initial setup to the wheel group by default + local defaultgroups="" + if getent group wheel >/dev/null; then + defaultgroups="wheel" + fi + + user_do_config "$defaultgroups" } user_jeos_config() { - user_do_config + user_do_config "" } ++++++ jeos-firstboot.obsinfo ++++++ --- /var/tmp/diff_new_pack.xpY5yS/_old 2025-04-20 19:56:48.825015188 +0200 +++ /var/tmp/diff_new_pack.xpY5yS/_new 2025-04-20 19:56:48.857016528 +0200 @@ -1,5 +1,5 @@ name: jeos-firstboot -version: 1.5.3 -mtime: 1727791623 -commit: f3ae15f25ffbfb9144de9d0099ef35e5c67891c4 +version: 1.5.5 +mtime: 1744715371 +commit: 2c6f84848d50a777836125c930e55da22ee8a25a