adb-scripter
Run ADB commands on the press of a button! Designed for Raspberry Pi (Zero)
Install Ansible on Host
For Ubuntu:
sudo apt update
sudo apt install software-properties-common -y
sudo apt-add-repository --yes --update ppa:ansible/ansible
sudo apt install ansible -y
Prepare SD Card
- Flash the Raspberry Pi OS Lite iso onto an Micro SD card
- Add the SSH file to the boot partition
touch /media/$USER/boot/ssh
Install software
- Install sshpass on your host (
apt-get install -y sshpass
) - Install python3 on your Raspberry Pi (
apt-get install -y python3
) make IP=<ip address> deploy
Build image locally
- Run
make buildx
- Image image on the remote machine
make HOST=<user@hostname> deploy-image