From 5753b4b6247271ab92c6be26b812bd15d7a4a9a8 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Tue, 28 May 2024 17:45:45 +0100 Subject: build: T6414: rename the "iso" flavor to "generic" --- Jenkinsfile | 2 +- Makefile | 2 +- data/build-flavors/generic.toml | 14 ++++++++++++++ data/build-flavors/iso.toml | 14 -------------- 4 files changed, 16 insertions(+), 16 deletions(-) create mode 100644 data/build-flavors/generic.toml delete mode 100644 data/build-flavors/iso.toml diff --git a/Jenkinsfile b/Jenkinsfile index 8539923..87e02cc 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -101,7 +101,7 @@ pipeline { --build-by "${params.BUILD_BY}" \ --debian-mirror http://deb.debian.org/debian/ \ --build-type release \ - --version "${VYOS_VERSION}" ${CUSTOM_PACKAGES} iso + --version "${VYOS_VERSION}" ${CUSTOM_PACKAGES} generic """ if (fileExists('build/live-image-amd64.hybrid.iso') == false) { diff --git a/Makefile b/Makefile index 55e32a0..15c3abc 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ build_dir := build .PHONY: all all: @echo "Make what specifically?" - @echo "The most common target is 'iso'" + @echo "The most common target is 'generic'" %: ./build-vyos-image $* diff --git a/data/build-flavors/generic.toml b/data/build-flavors/generic.toml new file mode 100644 index 0000000..9bf7044 --- /dev/null +++ b/data/build-flavors/generic.toml @@ -0,0 +1,14 @@ +# Generic (aka "universal") ISO image + +image_format = "iso" + +# Include these packages in the image regardless of the architecture +packages = [ + # QEMU and Xen guest tools exist for multiple architectures + "qemu-guest-agent", + "vyos-xe-guest-utilities", +] + +[architectures.amd64] + # Hyper-V and VMware guest tools are x86-only + packages = ["hyperv-daemons", "vyos-1x-vmware"] diff --git a/data/build-flavors/iso.toml b/data/build-flavors/iso.toml deleted file mode 100644 index 9bf7044..0000000 --- a/data/build-flavors/iso.toml +++ /dev/null @@ -1,14 +0,0 @@ -# Generic (aka "universal") ISO image - -image_format = "iso" - -# Include these packages in the image regardless of the architecture -packages = [ - # QEMU and Xen guest tools exist for multiple architectures - "qemu-guest-agent", - "vyos-xe-guest-utilities", -] - -[architectures.amd64] - # Hyper-V and VMware guest tools are x86-only - packages = ["hyperv-daemons", "vyos-1x-vmware"] -- cgit v1.2.3