change liveuser id from 999 to 64999 to fix id already used by systemd user in live medium creation [release 5.6-2mamba;Fri Jun 21 2024]
This commit is contained in:
parent
c8fac1dd4d
commit
72d798ad82
@ -1,11 +1,11 @@
|
||||
%define liveuser_uid 999
|
||||
%define liveuser_uid 64999
|
||||
%define packager_groupid 65028
|
||||
%define packager_userid 65028
|
||||
%define lpadmin_uid 65032
|
||||
%define lpadmin_gid 65032
|
||||
Name: livecd-tools
|
||||
Version: 5.6
|
||||
Release: 1mamba
|
||||
Release: 2mamba
|
||||
Summary: Live cd environment and utilities
|
||||
Group: System/Tools
|
||||
Vendor: openmamba
|
||||
@ -16,6 +16,7 @@ Source0: https://gitlab.mambasoft.it/openmamba/livecd-tools.git/v%{version
|
||||
Source2: %{name}-Autostart-setkeyboard
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: setup
|
||||
## AUTOBUILDREQ-END
|
||||
Requires(pre): rpm
|
||||
Requires(pre): udev
|
||||
@ -47,6 +48,7 @@ Requires(post):sudo
|
||||
Requires(post):system-base-openmamba
|
||||
Requires(post):desktop-base-openmamba
|
||||
Requires: systemd
|
||||
Provides: user(liveuser)
|
||||
|
||||
%description -n live-user-environment
|
||||
Configure a default user ('liveuser') for live environment.
|
||||
@ -91,7 +93,7 @@ if [ $1 -eq 1 ]; then
|
||||
useradd liveuser \
|
||||
-c "Live User" \
|
||||
-G audio,filesharing,sysadmin,lpadmin,video,nopermfs,packager \
|
||||
-u %{liveuser_uid}
|
||||
-u %{liveuser_uid} || exit 1
|
||||
[ -e /home/liveuser ] || cp -a /etc/skel /home/liveuser
|
||||
fi
|
||||
:
|
||||
@ -202,6 +204,9 @@ fi
|
||||
%attr(-,liveuser,users) %dir /home/liveuser
|
||||
|
||||
%changelog
|
||||
* Fri Jun 21 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 5.6-2mamba
|
||||
- change liveuser id from 999 to 64999 to fix id already used by systemd user in live medium creation
|
||||
|
||||
* Wed May 08 2024 Automatic Build System <autodist@mambasoft.it> 5.6-1mamba
|
||||
- update to 5.6
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user