summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorUnicronNL <kim.sidney@gmail.com>2019-05-21 22:15:55 +0200
committerUnicronNL <kim.sidney@gmail.com>2019-05-21 22:15:55 +0200
commitd8ee537f1528dfe3e37ad1afe2b9dd3dab81cbd0 (patch)
tree1f4d3d262d72e0bbb74d221e6220a23b9ba403ea /Makefile
parent217aa6afaebc021700cb6a4984f35720995f7ec5 (diff)
downloadvyos-build-d8ee537f1528dfe3e37ad1afe2b9dd3dab81cbd0.tar.gz
vyos-build-d8ee537f1528dfe3e37ad1afe2b9dd3dab81cbd0.zip
update cloud builds
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile48
1 files changed, 47 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3bfa959..c42766a 100644
--- a/Makefile
+++ b/Makefile
@@ -112,7 +112,7 @@ GCE-debug: 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/GCE/99-debug-user.chroot build/config/hooks/live/
+ cp tools/cloud-init/99-debug-user.chroot build/config/hooks/live/
cp tools/cloud-init/GCE/90_dpkg.cfg build/config/includes.chroot/etc/cloud/cloud.cfg.d/
cp tools/cloud-init/cloud-init.list.chroot build/config/package-lists/
cp -f tools/cloud-init/GCE/config.boot.default-debug build/config/includes.chroot/opt/vyatta/etc/config.boot.default
@@ -133,6 +133,20 @@ AWS: clean prepare
cd ..
@scripts/copy-image
+.PHONY: openstack
+.ONESHELL:
+openstack: 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/openstack/90_dpkg.cfg build/config/includes.chroot/etc/cloud/cloud.cfg.d/
+ cp tools/cloud-init/cloud-init.list.chroot build/config/package-lists/
+ cp -f tools/cloud-init/openstack/config.boot.default build/config/includes.chroot/opt/vyatta/etc/
+ cd $(build_dir)
+ lb build 2>&1 | tee build.log
+ cd ..
+ @scripts/copy-image
+
.PHONY: oracle
.ONESHELL:
oracle: clean prepare
@@ -141,9 +155,41 @@ oracle: clean prepare
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/
cp tools/cloud-init/cloud-init.list.chroot build/config/package-lists/
+ cp -f tools/cloud-init/OCI/config.boot.default build/config/includes.chroot/opt/vyatta/etc/
cd $(build_dir)
@../scripts/build-oracle-image
+.PHONY: PACKET
+.ONESHELL:
+PACKET: 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/99-disable-networking.chroot build/config/hooks/live/
+ cp tools/cloud-init/PACKET/90_dpkg.cfg build/config/includes.chroot/etc/cloud/cloud.cfg.d/
+ cp tools/cloud-init/cloud-init.list.chroot build/config/package-lists/
+ cp -f tools/cloud-init/PACKET/config.boot.default build/config/includes.chroot/opt/vyatta/etc/
+ cd $(build_dir)
+ lb build 2>&1 | tee build.log
+ cd ..
+ @scripts/copy-image
+
+.PHONY: PACKET-debug
+.ONESHELL:
+PACKET-debug: 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/99-debug-user.chroot build/config/hooks/live/
+ cp tools/cloud-init/99-disable-networking.chroot build/config/hooks/live/
+ cp tools/cloud-init/PACKET/90_dpkg.cfg build/config/includes.chroot/etc/cloud/cloud.cfg.d/
+ cp tools/cloud-init/cloud-init.list.chroot build/config/package-lists/
+ cp -f tools/cloud-init/PACKET/config.boot.default-debug build/config/includes.chroot/opt/vyatta/etc/config.boot.default
+ cd $(build_dir)
+ lb build 2>&1 | tee build.log
+ cd ..
+ @scripts/copy-image
+
.PHONY: clean
.ONESHELL:
clean: