summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorViacheslav <v.gletenko@vyos.io>2021-11-05 16:31:45 +0000
committerViacheslav <v.gletenko@vyos.io>2021-11-05 16:31:45 +0000
commit5a684cd9a7212964a9aba262b517b9315f314c15 (patch)
tree8d2bc62b848f9a84703dc9675798683aa9cd4d77 /Makefile
parent1da6287f178977ce8c7c001e9c04c5b08d3592df (diff)
downloadvyos-build-5a684cd9a7212964a9aba262b517b9315f314c15.tar.gz
vyos-build-5a684cd9a7212964a9aba262b517b9315f314c15.zip
build-iso: T3971: Ability to buid ISO images for xcp-ng
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 13 insertions, 0 deletions
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: