autobuild/build-farm
Andrew S. Rightenburg a15955ca57
Autobuild setup now has a proper curses display
Halfway to solving #15
2024-05-04 15:22:58 +08:00
..
debian-stable-amd64 Autobuild setup now has a proper curses display 2024-05-04 15:22:58 +08:00
debian-stable-arm64 Autobuild setup now has a proper curses display 2024-05-04 15:22:58 +08:00
debian-stable-i386 Autobuild setup now has a proper curses display 2024-05-04 15:22:58 +08:00
scripts Telnet ports for the VMs are now randomized 2024-04-27 18:22:44 +08:00
templates Build farm 2023-03-31 21:01:29 -04:00
LICENSE Beginning to add VM build farm option 2023-03-31 20:54:19 -04:00
README.md Beginning to add an amd64 VM (to address #17) 2024-05-01 19:30:11 +08:00
preseed.cfg Beginning to add an amd64 VM (to address #17) 2024-05-01 19:30:11 +08:00
view-progress.sh Telnet ports for the VMs are now randomized 2024-04-27 18:22:44 +08:00

README.md

Build Farm

Many thanks to Philipp Pagel for writing the original script that this is based on

The original script seemed to aim for an interactive installation on genuine hardware which did not have peripherals such as a keyboard/monitor etc

This script has been modified to:

  • Have a completely non-interactive, fully-automatic installation
  • Focus on building & running in QEMU, rather than on actual hardware

With these changes, it's usable as the basis for a "build farm" to build packages for multiple distributions/architectures

What's included

So far, build scripts for VMs of:

  • Debian Stable amd64
  • Debian Stable i386
  • Debian Stable arm64

Usage

Descend into one of the VM directories and then follow the following procedure:

make install-depends

make download

make image

make boot-install

After installation, you can run make boot-run, and the script will open a terminal window with a telnet connection to your new VM

If you see an error complaining that "kvm" is not a valid accelerator, or something similar, this is because your host system is running on a different architecture than what these scripts were made for. You can remove the lines from the Makefile that say "-accel kvm"