~goorzhel/voidzero

Quickly set up a Pi Zero with Void Linux
~goorzhel/voidzero

New git repository added

a month ago
  __               _      _ __   _____
 / /              (_)    | |\ \ |  _  |
| | __   __  ___   _   __| | | || |/' |
| | \ \ / / / _ \ | | / _` | | ||  /| |
| |  \ V / | (_) || || (_| | | |\ |_/ /
| |   \_/   \___/ |_| \__,_| | | \___/
 \_\                        /_/

#voidzero

Install Void Linux onto an MMC card with three commands.

#Usage

$EDITOR env  # set path to MMC card
. ./env
make -e

#download

Downloads the latest Void Pi image and verifies its signature and hash.

#flash

Flashes the image to $MMC_CARD, then partitions the card into /boot and /.

#mount

Mounts the device's second partition to $MOUNT, and the first to $MOUNT/boot.

#stage

Prepares network settings (DEVICE_* or WPA_* env vars) and your SSH pubkey(s) (~/.ssh/id_*.pub) for installation to the target file system.

For predefined SSH hostkeys, place them in staging/priv/etc/ssh/ssh_host_* and stage will copy them over.

#install

Installs staged files to the file system mounted on $MOUNT.

#Dependencies

  • dd
  • e2fsck
  • install
  • proot
  • pv
  • resize2fs
  • sfdisk
  • signify
  • ssh-keygen
  • sudo
  • void-release-keys
  • wget
  • wpa_passphrase

#Limitations

  • The preferred repo is assumed to be repo-us.voidlinux.org.