mirror of
https://github.com/andreili/SBC_builder.git
synced 2025-08-23 19:04:06 +02:00
Fix user create sequence
This commit is contained in:
parent
f5089c2269
commit
66365d91a8
@ -259,6 +259,7 @@
|
||||
{ "copy": [ "%{ROOT_DIR}%/files/firmware/usr", "."] },
|
||||
{ "sudo": "chmod u+s ./usr/bin/Xorg" },
|
||||
{ "sudo": "ln -sf /usr/share/zoneinfo/%{TIME_ZONE}% ./etc/localtime" },
|
||||
{ "chroot": "groupadd -g %{USER_ID}% %{USER_LOGIN}%" },
|
||||
{ "chroot": "useradd -m -G wheel,video,audio,disk,usb -g %{USER_ID}% -u %{USER_ID}% %{USER_LOGIN}% --password %{USER_LOGIN}%" },
|
||||
{ "chroot": "echo '%{USER_LOGIN}%:%{USER_LOGIN}%' | chpasswd" },
|
||||
{ "chroot": "echo 'root:root' | chpasswd" },
|
||||
|
Loading…
x
Reference in New Issue
Block a user