added "special prepare when Nvidia Jetson Nano"

Disables GUI/X11 login to make sure that you can login after rebooting.
This commit is contained in:
bavarianledger 2019-05-19 16:25:47 +02:00 committed by GitHub
parent 6821b14edc
commit 4b47a9eef6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -148,6 +148,12 @@ if [ "${baseImage}" = "ubuntu" ] || [ "${baseImage}" = "armbian" ]; then
sudo adduser pi sudo
fi
# special prepare when Nvidia Jetson Nano
if [ "${baseImage}" = "ubuntu" ] && [ ${isAARCH64} -eq 1 ] ; then
# disable GUI on boot
sudo systemctl set-default multi-user.target
fi
echo ""
echo "*** CONFIG ***"
# based on https://github.com/Stadicus/guides/blob/master/raspibolt/raspibolt_20_pi.md#raspi-config