Fix issue 422 (stage2/01-sys-tweaks/01-run.sh )
https://github.com/RPi-Distro/pi-gen/issues/422
This commit is contained in:
parent
08fc0b9a82
commit
d2cf67ec29
|
@ -45,6 +45,12 @@ for GRP in adm dialout cdrom audio users sudo video games plugdev input gpio spi
|
||||||
done
|
done
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
# Add line to replace the username for pi in sudoers.d/010_pi-nopasswd
|
||||||
|
on_chroot <<EOF
|
||||||
|
sed "s/pi/$FIRST_USER_NAME/" -i /etc/sudoers.d/010_pi-nopasswd
|
||||||
|
EOF
|
||||||
|
# End replace username
|
||||||
|
|
||||||
on_chroot << EOF
|
on_chroot << EOF
|
||||||
setupcon --force --save-only -v
|
setupcon --force --save-only -v
|
||||||
EOF
|
EOF
|
||||||
|
|
Loading…
Reference in New Issue
Block a user