Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit c27ab27a authored by Robert Nelson's avatar Robert Nelson
Browse files

generic-sys-mods (1.20240424.3)


Signed-off-by: default avatarRobert Nelson <robertcnelson@gmail.com>
parent e0ddb781
No related merge requests found
Showing with 66 additions and 11 deletions
......@@ -88,6 +88,17 @@ if (my $user_authorized_key = delete($conf->{user_authorized_key})) {
system("chown -R $user:$group /home/$current_user/.ssh/");
}
if (my $new_user_name = delete($conf->{user_name})) {
logger('debug', "Changing $current_user to $new_user_name");
system("usermod --login $new_user_name --home /home/$new_user_name --move-home $current_user");
system("groupmod --new-name $new_user_name $current_user");
if( -f "/etc/lightdm/lightdm.conf") {
system("sed -i -e 's:$current_user :$new_user_name:g' /etc/lightdm/lightdm.conf");
}
}
$call_reboot = 1;
}
if (my $iwd_psk_file = delete($conf->{iwd_psk_file})) {
logger('debug', "Setting up iwd with '$iwd_psk_file'");
if( -f "/boot/firmware/services/$iwd_psk_file") {
......
generic-sys-mods (1.20240424.2-0~bookworm+20240424) bookworm; urgency=low
generic-sys-mods (1.20240424.3-0~bookworm+20240424) bookworm; urgency=low
* Mainline u-boot, wants to see device trees under /ti/*.dtb now
* Call bb-setup-mac-address directly in the usb scripts
* add basic bbbio-set-sysconf.service
-- Robert Nelson <robertcnelson@gmail.com> Wed, 24 Apr 2024 10:44:58 -0500
-- Robert Nelson <robertcnelson@gmail.com> Wed, 24 Apr 2024 11:28:55 -0500
......@@ -88,6 +88,17 @@ if (my $user_authorized_key = delete($conf->{user_authorized_key})) {
system("chown -R $user:$group /home/$current_user/.ssh/");
}
if (my $new_user_name = delete($conf->{user_name})) {
logger('debug', "Changing $current_user to $new_user_name");
system("usermod --login $new_user_name --home /home/$new_user_name --move-home $current_user");
system("groupmod --new-name $new_user_name $current_user");
if( -f "/etc/lightdm/lightdm.conf") {
system("sed -i -e 's:$current_user :$new_user_name:g' /etc/lightdm/lightdm.conf");
}
}
$call_reboot = 1;
}
if (my $iwd_psk_file = delete($conf->{iwd_psk_file})) {
logger('debug', "Setting up iwd with '$iwd_psk_file'");
if( -f "/boot/firmware/services/$iwd_psk_file") {
......
generic-sys-mods (1.20240424.2-0~bullseye+20240424) bullseye; urgency=low
generic-sys-mods (1.20240424.3-0~bullseye+20240424) bullseye; urgency=low
* Mainline u-boot, wants to see device trees under /ti/*.dtb now
* Call bb-setup-mac-address directly in the usb scripts
* add basic bbbio-set-sysconf.service
-- Robert Nelson <robertcnelson@gmail.com> Wed, 24 Apr 2024 10:44:58 -0500
-- Robert Nelson <robertcnelson@gmail.com> Wed, 24 Apr 2024 11:28:55 -0500
......@@ -88,6 +88,17 @@ if (my $user_authorized_key = delete($conf->{user_authorized_key})) {
system("chown -R $user:$group /home/$current_user/.ssh/");
}
if (my $new_user_name = delete($conf->{user_name})) {
logger('debug', "Changing $current_user to $new_user_name");
system("usermod --login $new_user_name --home /home/$new_user_name --move-home $current_user");
system("groupmod --new-name $new_user_name $current_user");
if( -f "/etc/lightdm/lightdm.conf") {
system("sed -i -e 's:$current_user :$new_user_name:g' /etc/lightdm/lightdm.conf");
}
}
$call_reboot = 1;
}
if (my $iwd_psk_file = delete($conf->{iwd_psk_file})) {
logger('debug', "Setting up iwd with '$iwd_psk_file'");
if( -f "/boot/firmware/services/$iwd_psk_file") {
......
generic-sys-mods (1.20240424.2-0~jammy+20240424) jammy; urgency=low
generic-sys-mods (1.20240424.3-0~jammy+20240424) jammy; urgency=low
* Mainline u-boot, wants to see device trees under /ti/*.dtb now
* Call bb-setup-mac-address directly in the usb scripts
* add basic bbbio-set-sysconf.service
-- Robert Nelson <robertcnelson@gmail.com> Wed, 24 Apr 2024 10:44:58 -0500
-- Robert Nelson <robertcnelson@gmail.com> Wed, 24 Apr 2024 11:28:55 -0500
......@@ -88,6 +88,17 @@ if (my $user_authorized_key = delete($conf->{user_authorized_key})) {
system("chown -R $user:$group /home/$current_user/.ssh/");
}
if (my $new_user_name = delete($conf->{user_name})) {
logger('debug', "Changing $current_user to $new_user_name");
system("usermod --login $new_user_name --home /home/$new_user_name --move-home $current_user");
system("groupmod --new-name $new_user_name $current_user");
if( -f "/etc/lightdm/lightdm.conf") {
system("sed -i -e 's:$current_user :$new_user_name:g' /etc/lightdm/lightdm.conf");
}
}
$call_reboot = 1;
}
if (my $iwd_psk_file = delete($conf->{iwd_psk_file})) {
logger('debug', "Setting up iwd with '$iwd_psk_file'");
if( -f "/boot/firmware/services/$iwd_psk_file") {
......
generic-sys-mods (1.20240424.2-0~noble+20240424) noble; urgency=low
generic-sys-mods (1.20240424.3-0~noble+20240424) noble; urgency=low
* Mainline u-boot, wants to see device trees under /ti/*.dtb now
* Call bb-setup-mac-address directly in the usb scripts
* add basic bbbio-set-sysconf.service
-- Robert Nelson <robertcnelson@gmail.com> Wed, 24 Apr 2024 10:44:58 -0500
-- Robert Nelson <robertcnelson@gmail.com> Wed, 24 Apr 2024 11:28:55 -0500
......@@ -88,6 +88,17 @@ if (my $user_authorized_key = delete($conf->{user_authorized_key})) {
system("chown -R $user:$group /home/$current_user/.ssh/");
}
if (my $new_user_name = delete($conf->{user_name})) {
logger('debug', "Changing $current_user to $new_user_name");
system("usermod --login $new_user_name --home /home/$new_user_name --move-home $current_user");
system("groupmod --new-name $new_user_name $current_user");
if( -f "/etc/lightdm/lightdm.conf") {
system("sed -i -e 's:$current_user :$new_user_name:g' /etc/lightdm/lightdm.conf");
}
}
$call_reboot = 1;
}
if (my $iwd_psk_file = delete($conf->{iwd_psk_file})) {
logger('debug', "Setting up iwd with '$iwd_psk_file'");
if( -f "/boot/firmware/services/$iwd_psk_file") {
......
generic-sys-mods (1.20240424.2-0~trixie+20240424) trixie; urgency=low
generic-sys-mods (1.20240424.3-0~trixie+20240424) trixie; urgency=low
* Mainline u-boot, wants to see device trees under /ti/*.dtb now
* Call bb-setup-mac-address directly in the usb scripts
* add basic bbbio-set-sysconf.service
-- Robert Nelson <robertcnelson@gmail.com> Wed, 24 Apr 2024 10:44:58 -0500
-- Robert Nelson <robertcnelson@gmail.com> Wed, 24 Apr 2024 11:28:55 -0500
......@@ -2,7 +2,7 @@
package_name="generic-sys-mods"
debian_pkg_name="${package_name}"
package_version="1.20240424.2"
package_version="1.20240424.3"
package_source=""
src_dir=""
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment