Skip to content

Instantly share code, notes, and snippets.

@thnk2wn
Created May 15, 2020 12:17
Show Gist options
  • Save thnk2wn/16f50f284aba539af67f5648f7ca9bfb to your computer and use it in GitHub Desktop.
Save thnk2wn/16f50f284aba539af67f5648f7ca9bfb to your computer and use it in GitHub Desktop.
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