Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Installs pi-gen from https://github.com/RPi-Distro
#!/bin/bash
# Bring system current
sudo apt-get update && sudo apt-get -y upgrade
# Install required pi-gen dependencies
sudo apt-get -y install coreutils quilt parted qemu-user-static debootstrap zerofree zip \
dosfstools bsdtar libcap2-bin grep rsync xz-utils file git curl bc
# Get pi-gen git repo
git clone https://github.com/RPi-Distro/pi-gen.git
pushd pi-gen
chmod +x build.sh
popd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.