builds disk images consisting of
- ESP with systemd-boot and kernel
- Root filesystem with either Alpine, Gentoo or FreeBSD
- Optional A/B partitioning scheme
- Optional read-only rootfs for bare metal or use as virtual machines
$ image-builder help
Usage:
image-builder build TARGET: alpine|gentoo|freebsd
image-builder create TARGET: alpine|gentoo|freebsd
image-builder write DEVICE
image-builder mount [PARTITION: esp|rootfs]
image-builder install
$ image-builder create alpine
$ image-builder mount
$ image-builder write /dev/sdb
Utilises raspi-alpine/builder to build an armhf image for Raspberry Pi
Fetches a custom kernel, custom binpkgs and an offical stage3 to create a disk image
$ image-builder build linux-kernel
$ image-builder build alpine
$ image-builder build gentoo
$ image-builder build freebsd
$ image-builder build freebsd-kernel
$ image-builder build freebsd-world
If a wpa_supplicant.conf exists it gets copied to the image during post-build.
Alternatively if wifi credentials are supplied via env during post-build,
a config is created from those. Use WIFI_SECURITY, WIFI_ESSID, WIFI_PASSPHRASE, e.g. via
the file ENVIRONMENT to supply confguration
ANSIBLE_USER
ANSIBLE_ROLES
BUILD_TARGET_ARCH
BUILD_USE_CONTAINER
DEBUG
NET_DEV
NET_ADDRESS
NET_GATEWAY
SSH_USER
SSH_PUBKEY
raspi-alpine builder
Gentoo Handbook
FreeBSD Handbook
systemd-boot