summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKim Hagen <kim.sidney@gmail.com>2018-10-29 21:43:09 +0100
committerKim Hagen <kim.sidney@gmail.com>2018-10-29 21:43:09 +0100
commit7a19a16233edce226791fea64ee8db7e4400e4bd (patch)
tree153785450772fe409965f9a5847da3642225486f /Makefile
parent4d16dbead89c44aca5bcc91981a98572b9c15f16 (diff)
downloadvyos-build-7a19a16233edce226791fea64ee8db7e4400e4bd.tar.gz
vyos-build-7a19a16233edce226791fea64ee8db7e4400e4bd.zip
Add part of oracle cloud build
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index b0904772..92160ee6 100644
--- a/Makefile
+++ b/Makefile
@@ -114,6 +114,16 @@ AWS: clean prepare
cd ..
@scripts/copy-image
+.PHONY: oracle
+.ONESHELL:
+oracle: 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/cloud/cloud.cfg.d
+ cp tools/cloud-init/OCI/90_dpkg.cfg build/config/includes.chroot/etc/cloud/cloud.cfg.d/
+ cd $(build_dir)
+ @../scripts/build-oracle-image
+
.PHONY: clean
.ONESHELL:
clean:
@@ -129,6 +139,7 @@ clean:
rm -f *.vhd
rm -f *.raw
rm -f *.tar.gz
+ rm -f *.qcow2
.PHONY: purge
purge: