summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2021-11-06 18:12:10 +0700
committerGitHub <noreply@github.com>2021-11-06 18:12:10 +0700
commitf150b107202497350a9a8984f33bc8b4e30e567e (patch)
treeb91014539a049f851d81115534e7e56868a3d376
parentf94e196e4fb8c3c92ddaaee6425979a7b05b2889 (diff)
parentb6771ca5e7be94a1a06276f301a0c12d2933d33e (diff)
downloadvyos-build-f150b107202497350a9a8984f33bc8b4e30e567e.tar.gz
vyos-build-f150b107202497350a9a8984f33bc8b4e30e567e.zip
Merge pull request #198 from sever-sever/T3971-crux
build-iso: T3971: Ability to build ISO images for xcp-ng
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 54a536a8..7a4850be 100644
--- a/Makefile
+++ b/Makefile
@@ -238,6 +238,18 @@ lanner_nca25xx: 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 $(init_msg)
+ sed -i 's/vyos-xe-guest-utilities/xe-guest-utilities/g' data/package-lists/vyos-x86.list.chroot
+ sed -i 's/vyos-xe-guest-utilities/xe-guest-utilities/g' scripts/build-submodules
+ cd $(build_dir)
+ lb build 2>&1 | tee build.log
+ cd ..
+ @scripts/copy-image
+
.PHONY: test
.ONESHELL:
test: