Build an image
On macOS. build.sh downloads the official Alpine ISO (checksum verified) and the packages, then builds out/. write-usb.sh writes a key.
./build.sh # downloads Alpine + packages into cache/, builds out/
./write-usb.sh # lists external disks
./write-usb.sh disk6 # ERASES that disk and writes Yapuka (2 GB+ key)
DEV=1 ./build.sh makes a development build with SSH (dropbear): never give it to a family. The yapuka package must be published first (tools/publish.sh <version>). To test without a key: tools/test-vm.sh boots the key in QEMU (--rewrite after a rebuild). For the distributed image: tools/make-image.sh produces dist/yapuka-<version>-maison.img.xz and its signed SHA-256 sums; tools/test-image.sh 16G --fresh tests it in QEMU.
The image is a raw GPT disk: a 200 MiB FAT32 EFI partition and a FAT32 YAPUKA partition (Alpine ISO contents, three boot repositories apks-main, apks-community, apks-yapuka, and the apkovl). It needs brew install mtools gptfdisk xz and no root.
Updated on