diff options
| author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2025-12-31 11:14:06 +0000 |
|---|---|---|
| committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2026-01-14 11:16:23 +0000 |
| commit | d557ef0a6967a94e45243db6e7dbf0ad27add4bf (patch) | |
| tree | 87865edb0e4e16e20936284b2bcc49cdeb70aa5e /Makefile | |
| parent | 5667462b8db072b90b01eb10938b5e31e45a5c15 (diff) | |
| download | vyos-build-d557ef0a6967a94e45243db6e7dbf0ad27add4bf.tar.gz vyos-build-d557ef0a6967a94e45243db6e7dbf0ad27add4bf.zip | |
T8065: Dehardcode qemu settings to allow run tests on arch arm64
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,5 +1,6 @@ SHELL := /bin/bash +arch ?= $(shell dpkg --print-architecture 2>/dev/null || echo amd64) build_dir := build .PHONY: all @@ -13,8 +14,8 @@ all: .PHONY: checkiso .ONESHELL: checkiso: - if [ ! -f build/live-image-amd64.hybrid.iso ]; then - echo "Could not find build/live-image-amd64.hybrid.iso" + if [ ! -f build/live-image-$(arch).hybrid.iso ]; then + echo "Could not find build/live-image-$(arch).hybrid.iso" exit 1 fi @@ -31,7 +32,7 @@ test-no-interfaces: checkiso .PHONY: test-no-interfaces-no-vpp .ONESHELL: test-no-interfaces-no-vpp: checkiso - scripts/check-qemu-install --debug --configd --smoketest --uefi --no-interfaces --no-vpp --iso build/live-image-amd64.hybrid.iso + scripts/check-qemu-install --debug --configd --smoketest --uefi --no-interfaces --no-vpp --arch $(arch) --iso build/live-image-$(arch).hybrid.iso .PHONY: test-interfaces .ONESHELL: |
