Browse Source
added "special prepare when Nvidia Jetson Nano"
Disables GUI/X11 login to make sure that you can login after rebooting.
master
bavarianledger
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
0 deletions
-
build_sdcard.sh
|
|
@ -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 |
|
|
|