summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2019-03-24 22:35:47 +0100
committerDaniil Baturin <daniil@baturin.org>2019-03-24 22:35:47 +0100
commitae8499944249d0b01639c308099148f3b0572874 (patch)
treec5841f9e15ddee8983ac3cef1b24911d10881dfa /Makefile
parent06a0d0e3f34f256bafd5f622c877b77e53d12ac8 (diff)
parent77a9fd1277912494392ec7a0fb75e06abca806b7 (diff)
downloadvyos-build-ae8499944249d0b01639c308099148f3b0572874.tar.gz
vyos-build-ae8499944249d0b01639c308099148f3b0572874.zip
Merge branch 'crux' of https://github.com/vyos/vyos-build into crux
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 11 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 065c1c11..79c9f98c 100644
--- a/Makefile
+++ b/Makefile
@@ -57,10 +57,14 @@ vagrant-libvirt:
.PHONY: vmware
.ONESHELL:
-vmware:
+vmware: clean prepare
@set -e
- @scripts/check-vm-build-env
- @scripts/build-vmware-image
+ @echo "It's not like I'm building this specially for you or anything!"
+ mkdir -p build/config/includes.chroot/etc/cloud/cloud.cfg.d
+ cp tools/cloud-init/vmware/90_dpkg.cfg build/config/includes.chroot/etc/cloud/cloud.cfg.d/
+ cp -f tools/cloud-init/vmware/config.boot.default build/config/includes.chroot/opt/vyatta/etc/
+ cd $(build_dir)
+ @../scripts/build-vmware-image
.PHONY: hyperv
.ONESHELL:
@@ -148,6 +152,10 @@ clean:
rm -f *.raw
rm -f *.tar.gz
rm -f *.qcow2
+ rm -f *.mf
+ rm -f *.ovf
+ rm -f *.ova
+ rm -f *.vmdk
.PHONY: purge
purge: