The purpose of the scripts is to provide a smaller than official OS image for Docker-based workload. The use case for this is headless server for inference or GPU-accelerated computing.
Theoretically the approach is suitable for most devices in the Jetson family, but was only tested on a Jetson Nano development kit.
Important! Second step is potentially destructive action! Please backup the device data first!
- Create a rootfs:
./00-prepare-rootfs.sh
- Option A: Flash the rootfs into device:
./01-flash.sh
Option B: Create an SD card image:./01-create-image.sh
- Connect the device via USB and perform the headless configuration.
sudo apt-get auto-remove
sudo reboot