summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@vyos.io>2021-09-26 19:38:11 +0700
committerGitHub <noreply@github.com>2021-09-26 19:38:11 +0700
commitd7c545fcb6a4298f4b3a297e4379d997f8e2bdb7 (patch)
treef975a5e31997246ce71fb9936febb9af9ea63fdb /Makefile
parent7ae916d98a8859aa53510b26d57121b6308354fe (diff)
parente1dade8feb639af7a4f1303c3314f84386feb6e8 (diff)
downloadvyos-build-d7c545fcb6a4298f4b3a297e4379d997f8e2bdb7.tar.gz
vyos-build-d7c545fcb6a4298f4b3a297e4379d997f8e2bdb7.zip
Merge pull request #187 from UnicronNL/equuleus
T3864: Add Edgecore build to VyOS 1.3 Equuleus
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile22
1 files changed, 22 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index d548edea..148c89ce 100644
--- a/Makefile
+++ b/Makefile
@@ -223,6 +223,19 @@ vep1400: check_build_config clean prepare
cd ..
@scripts/copy-image
+.PHONY: edgecore
+.ONESHELL:
+edgecore: check_build_config clean prepare
+ @set -e
+ @echo "It's not like I'm building this specially for you or anything!"
+ mkdir -p build/config/includes.chroot/lib/udev/rules.d/
+ cp tools/vendors_udev/64-vyos-SAF51015I-net.rules build/config/includes.chroot/lib/udev/rules.d/
+ cp tools/vendors_udev/64-vyos-SAF51003I-net.rules build/config/includes.chroot/lib/udev/rules.d/
+ cd $(build_dir)
+ lb build 2>&1 | tee build.log
+ cd ..
+ @scripts/copy-image
+
.PHONY: test
.ONESHELL:
test:
@@ -232,6 +245,15 @@ test:
fi
scripts/check-qemu-install --debug build/live-image-amd64.hybrid.iso
+.PHONY: test
+.ONESHELL:
+test-no-interfaces:
+ if [ ! -f build/live-image-amd64.hybrid.iso ]; then
+ echo "Could not find build/live-image-amd64.hybrid.iso"
+ exit 1
+ fi
+ scripts/check-qemu-install --debug --no-interfaces build/live-image-amd64.hybrid.iso
+
.PHONY: testd
.ONESHELL:
testd: