Create a reproducible ArchLinux live ISO with or without persistent storage and optionally encrypted rootfs
- treos-system-meta
- ssb-pacman
- regaur/kiosk-initcpio
- all the packages you want to install need to be on a local ssb-pacman mirror
git clone https://github.com/regular/treos-build.git
cd treos-build
sudo ln -s $(pwd)/buildfs.sh /usr/bin/treos-build
- Copy the contents of
config.prototo your project's directory and adjust as needed. make isocreates a new directory namedrootin the current working directory and installs a root file system into it.- directory
buildwill contain a squashfs image ofrootand images for the EFI boot partition and (optionally) an empty data partition. - an ISO image will be created in the current working directory, ready for being dd'ed onto a USB thumb drive.
make cleandeletesrootandbuild- If there are newly created, random passwords (for user accounts or the encrypted rootfs), you'll find them in
passwords.