summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEshenko Dmitriy <dmitriy.eshenko@vyos.io>2019-11-24 22:50:46 +0300
committerKim Hagen <kim@sentrium.io>2021-09-26 07:15:44 -0500
commit8d3da190caaba1a94739b1f5cb8f0a35ef4474ed (patch)
tree7b961d5315a7ce9809a29b4d5e4b48a8f0ec7188 /Makefile
parente3a891b2c4dca19a5175d5d1525040a7be8449fd (diff)
downloadvyos-build-8d3da190caaba1a94739b1f5cb8f0a35ef4474ed.tar.gz
vyos-build-8d3da190caaba1a94739b1f5cb8f0a35ef4474ed.zip
Add build option for Edge-Core SAF51003L
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile27
1 files changed, 24 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index aac46e89..6842ee00 100644
--- a/Makefile
+++ b/Makefile
@@ -238,6 +238,21 @@ saf51015I: check_build_config clean prepare
cd ..
@scripts/copy-image
+.PHONY: saf51003I
+.ONESHELL:
+saf51003I: 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/etc/systemd/network
+ mkdir -p build/config/includes.chroot/usr/share/initramfs-tools/hooks
+ cp tools/saf51003I/90-saf51003I.chroot build/config/hooks/live/
+ cp tools/saf51003I/*.link build/config/includes.chroot/etc/systemd/network/
+ cp tools/saf51003I/saf51003I build/config/includes.chroot/usr/share/initramfs-tools/hooks/
+ cd $(build_dir)
+ lb build 2>&1 | tee build.log
+ cd ..
+ @scripts/copy-image
+
.PHONY: test
.ONESHELL:
test:
@@ -247,6 +262,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:
@@ -265,8 +289,6 @@ testc:
fi
scripts/check-qemu-install --debug --configd --configtest build/live-image-amd64.hybrid.iso
-=======
->>>>>>> a46cc51... add build option for Edge-Core saf51015I
.PHONY: clean
.ONESHELL:
clean:
@@ -286,7 +308,6 @@ clean:
rm -f *.mf
rm -f *.ovf
rm -f *.ova
- rm -f *.vmdk
.PHONY: purge
purge: