__ _ _ __ _____
/ / (_) | |\ \ | _ |
| | __ __ ___ _ __| | | || |/' |
| | \ \ / / / _ \ | | / _` | | || /| |
| | \ V / | (_) || || (_| | | |\ |_/ /
| | \_/ \___/ |_| \__,_| | | \___/
\_\ /_/
Install Void Linux onto an SD card with three commands.
$EDITOR env # set path to SD card
. ./env
make -e
download
Downloads the latest Void Pi image and verifies its signature and hash.
flash
Flashes the image to $SD_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
.
dd
e2fsck
install
proot
pv
resize2fs
sfdisk
signify
ssh-keygen
sudo
void-release-keys
wget
wpa_passphrase
repo-us.voidlinux.org
.