Andrew S. Rightenburg
a15955ca57
Halfway to solving #15 |
||
---|---|---|
.. | ||
debian-stable-amd64 | ||
debian-stable-arm64 | ||
debian-stable-i386 | ||
scripts | ||
templates | ||
LICENSE | ||
README.md | ||
preseed.cfg | ||
view-progress.sh |
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"