diff options
author | Viacheslav <v.gletenko@vyos.io> | 2021-11-05 16:31:45 +0000 |
---|---|---|
committer | Viacheslav <v.gletenko@vyos.io> | 2021-11-05 16:31:45 +0000 |
commit | 5a684cd9a7212964a9aba262b517b9315f314c15 (patch) | |
tree | 8d2bc62b848f9a84703dc9675798683aa9cd4d77 /Makefile | |
parent | 1da6287f178977ce8c7c001e9c04c5b08d3592df (diff) | |
download | vyos-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-- | Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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: |