Files
start-os/build/image-recipe
Aiden McClelland fc4b887b71 fix: raspberry pi image build improvements
- Move firmware config files to boot/firmware/ to match raspi-firmware
  package layout in Debian Trixie
- Use nested mounts (firmware and efi inside boot) so squashfs boot
  files land on the correct partitions without manual splitting
- Pre-calculate root partition size from squashfs instead of creating
  oversized btrfs and shrinking (avoids ioctl failure on loop devices)
- Use named loop devices (/dev/startos-loop-*) with automatic cleanup
  of stale devices from previous failed builds
- Use --rbind for /boot in upgrade scripts so nested mounts (efi,
  firmware) are automatically carried into the chroot
2026-03-13 12:09:14 -06:00
..
2025-12-22 13:39:38 -07:00

StartOS Image Recipes

Code and debos recipes that are used to create the StartOS live and installer images.

If you want to build a local image in the exact same environment used to build official StartOS images, you can use the run-local-build.sh helper script:

# Prerequisites
sudo apt-get install -y debspawn binfmt-support
sudo mkdir -p /etc/debspawn/ && echo "AllowUnsafePermissions=true" | sudo tee /etc/debspawn/global.toml

# Build image
./run-local-build.sh

In order for the build to work properly, you will need debspawn >= 0.5.1, the build may fail with prior versions.