From 5a684cd9a7212964a9aba262b517b9315f314c15 Mon Sep 17 00:00:00 2001 From: Viacheslav Date: Fri, 5 Nov 2021 16:31:45 +0000 Subject: build-iso: T3971: Ability to buid ISO images for xcp-ng --- Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Makefile b/Makefile index fe951e53..092b8386 100644 --- a/Makefile +++ b/Makefile @@ -236,6 +236,19 @@ edgecore: check_build_config clean prepare cd .. @scripts/copy-image +.PHONY: xcp-ng-iso +.ONESHELL: +xcp-ng-iso: check_build_config clean prepare + @set -e + @echo "It's not like I'm building this specially for you or anything!" + sed -i 's/vyos-xe-guest-utilities/xe-guest-utilities/g' data/package-lists/vyos-x86.list.chroot + cd $(build_dir) + set -o pipefail + lb build 2>&1 | tee build.log; if [ $$? -ne 0 ]; then exit 1; fi + cd .. + @scripts/copy-image + exit 0 + .PHONY: test .ONESHELL: test: -- cgit v1.2.3