build / build (push) Successful in 38m26s
- das-shell 0.1.0: the Das two-line bash prompt by default (replaces the PS1 of Void's skel .bashrc once), dprompt (Textual prompt builder with presets and live preview) and dbanner (SSH login banner editor: canvas tools, fields with values, widgets, das-banner service for cached ones, Das OS logo and tryzub pictures). Python tests in make test. - das-server 0.3.0 depends on das-shell; the server installer mentions dprompt and dbanner; the desktop image includes it. - run-qemu.sh forwards the guest's SSH to localhost:2222. - Hardware fixes: Ventoy menu icon, boot menu titles "Das OS <version>". Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
46 lines
1.6 KiB
Makefile
46 lines
1.6 KiB
Makefile
# Das OS build entry points. Everything except QEMU runs in the Void builder container.
|
|
|
|
.PHONY: help packages iso iso-server qemu qemu-bios qemu-disk qemu-server test clean
|
|
|
|
help:
|
|
@echo "make packages build srcpkgs/* into the local repository (out/hostdir/binpkgs)"
|
|
@echo "make iso build packages, then the live ISO (out/iso)"
|
|
@echo "make iso-server build packages, then the server ISO (out/iso)"
|
|
@echo "make qemu boot the newest ISO in QEMU with UEFI"
|
|
@echo "make qemu-bios boot the newest ISO in QEMU with legacy BIOS"
|
|
@echo "make qemu-disk boot with a 20 GB virtual disk attached (for installer tests)"
|
|
@echo "make qemu-server boot the newest server ISO on a serial console, with the disk"
|
|
@echo "make test run Go and Python tests"
|
|
@echo "make clean remove build output (keeps download caches)"
|
|
|
|
packages:
|
|
scripts/builder.sh /work/scripts/container/build-packages.sh
|
|
|
|
iso: packages
|
|
scripts/builder.sh /work/scripts/container/build-iso.sh
|
|
|
|
iso-server: packages
|
|
scripts/builder.sh /work/scripts/container/build-iso.sh server
|
|
|
|
qemu:
|
|
scripts/run-qemu.sh
|
|
|
|
qemu-bios:
|
|
scripts/run-qemu.sh --bios
|
|
|
|
qemu-disk:
|
|
scripts/run-qemu.sh --disk
|
|
|
|
qemu-server:
|
|
scripts/run-qemu.sh --serial --disk
|
|
|
|
test:
|
|
cd srcpkgs/das-theme/files/xfwm4gen && go test ./...
|
|
cd srcpkgs/das-tools/files/src && go test ./...
|
|
cd srcpkgs/das-shell/files && PYTHONDONTWRITEBYTECODE=1 python3 -m unittest discover -s tests -t .
|
|
|
|
# Build output may be owned by root when a build was interrupted, so remove it from the container
|
|
clean:
|
|
scripts/builder.sh rm -rf /work/out/hostdir/binpkgs /work/out/hostdir/stamps /work/out/iso
|
|
rm -rf out/qemu
|