summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2016-03-03 18:28:31 -0500
committerDaniil Baturin <daniil@baturin.org>2016-03-03 18:28:31 -0500
commit6a7696a1122560073c3121fdecb5e3bd0c6549cf (patch)
tree5c95d699069547f0b3e4ecd43a498be3e9cb497d /Makefile
parent4499a0b196857b03bcf83caf2c902ab3f86f69bc (diff)
downloadvyos-build-6a7696a1122560073c3121fdecb5e3bd0c6549cf.tar.gz
vyos-build-6a7696a1122560073c3121fdecb5e3bd0c6549cf.zip
After build, create a properly named symlink to the ISO (ref T8).
This is important for nightly builds, and handy for release builds.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 38448f39..0a0cb2dd 100644
--- a/Makefile
+++ b/Makefile
@@ -23,11 +23,12 @@ prepare:
.PHONY: iso
.ONESHELL:
-iso: prepare
+iso: clean prepare
@set -e
@echo "It's not like I'm building this specially for you or anything!"
cd $(build_dir)
lb build 2>&1 | tee build.log
+ ln -nsf live-image-amd64.hybrid.iso vyos-`cat version`-`dpkg --print-architecture`.iso
.PHONY: prepare-package-env
.ONESHELL:
@@ -45,6 +46,7 @@ clean:
rm -f config/binary config/bootstrap config/chroot config/common config/source
rm -f build.log
+ rm -f vyos-*.iso
.PHONY: purge
purge: