From 25041b86249fe763fd4171e2ab1aca535b3eb14f Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Mon, 11 Apr 2016 17:57:57 +0100 Subject: Add a simple templating system to Baserock definitions This is currently independent of the actual definitions format. The 'configure' tool generates actual .morph files from .morph.in files, and build tools then operate on these generated .morph files.t This is largely untested and no doubt broken! --- clusters/altera-socfpga-devkit-sd-image.morph | 14 - clusters/altera-socfpga-devkit-sd-image.morph.in | 14 + clusters/cephclient.morph | 20 -- clusters/cephclient.morph.in | 20 ++ clusters/ci.morph | 140 --------- clusters/ci.morph.in | 140 +++++++++ clusters/example-ceph-cluster-on-openstack.morph | 55 ---- .../example-ceph-cluster-on-openstack.morph.in | 55 ++++ clusters/example-distbuild-cluster.morph | 37 --- clusters/example-distbuild-cluster.morph.in | 37 +++ clusters/example-swift-storage-cluster.morph | 62 ---- clusters/example-swift-storage-cluster.morph.in | 62 ++++ clusters/gdp-jetson-upgrade.morph | 19 -- clusters/gdp-jetson-upgrade.morph.in | 19 ++ clusters/gnome-system-armv7lhf-jetson-deploy.morph | 17 -- .../gnome-system-armv7lhf-jetson-deploy.morph.in | 17 ++ clusters/gnome-system-deploy.morph.in | 24 ++ clusters/gnome-system-x86_64-deploy.morph | 24 -- clusters/hardware-deployment.morph | 35 --- clusters/hardware-deployment.morph.in | 35 +++ clusters/image-package-example.morph | 12 - clusters/image-package-example.morph.in | 12 + clusters/initramfs-test.morph | 22 -- clusters/initramfs-test.morph.in | 22 ++ clusters/installer-build-system-x86_64.morph | 52 ---- clusters/installer-build-system-x86_64.morph.in | 52 ++++ clusters/ivi-system-armv7lhf-jetson-deploy.morph | 4 +- clusters/ivi-system-deploy.morph.in | 24 ++ clusters/ivi-system-x86_64-deploy.morph | 24 -- clusters/jetson-upgrade.morph | 17 -- clusters/jetson-upgrade.morph.in | 17 ++ clusters/mason-openstack.morph | 39 --- clusters/mason-openstack.morph.in | 39 +++ clusters/mason.morph | 56 ---- clusters/mason.morph.in | 56 ++++ ...nimal-system-armv5l-openbmc-aspeed-deploy.morph | 2 +- clusters/minimal-system-deploy.morph | 14 - clusters/minimal-system-deploy.morph.in | 14 + clusters/moonshot-m2-armv8b64.morph | 4 +- clusters/moonshot-pxe-armv8b64.morph | 2 +- clusters/moonshot-pxe-armv8l64.morph | 2 +- clusters/openstack-one-node-swift.morph | 142 --------- clusters/openstack-one-node-swift.morph.in | 142 +++++++++ clusters/openstack-one-node.morph | 104 ------- clusters/openstack-one-node.morph.in | 104 +++++++ clusters/openstack-three-node-installer.morph | 238 --------------- clusters/openstack-three-node-installer.morph.in | 238 +++++++++++++++ clusters/openstack-two-node-installer.morph | 199 ------------- clusters/openstack-two-node-installer.morph.in | 199 +++++++++++++ clusters/release-genivi-baseline.morph | 41 --- clusters/release-genivi-baseline.morph.in | 41 +++ clusters/release.morph | 62 ---- clusters/release.morph.in | 62 ++++ clusters/sdk-example-cluster.morph | 46 --- clusters/sdk-example-cluster.morph.in | 46 +++ clusters/trove-example.morph | 58 ---- clusters/trove-example.morph.in | 58 ++++ clusters/upgrade-devel.morph | 39 --- clusters/upgrade-devel.morph.in | 39 +++ clusters/weston-qt5-system-deploy.morph.in | 23 ++ clusters/weston-qt5-system-x86_64-deploy.morph | 23 -- clusters/weston-system-deploy.morph.in | 23 ++ clusters/weston-system-x86_64-generic-deploy.morph | 23 -- clusters/xfce-system-deploy.morph.in | 23 ++ clusters/xfce-system-x86_64-deploy.morph | 23 -- clusters/zookeeper.morph | 21 -- clusters/zookeeper.morph.in | 21 ++ configure | 330 +++++++++++++++++++++ strata/bsp-x86_both-tools.morph | 21 -- strata/bsp-x86_both-tools/nasm.morph | 5 - strata/bsp-x86_both-tools/syslinux.morph | 12 - strata/syslinux-group.morph | 21 ++ strata/syslinux-group/nasm.morph | 5 + strata/syslinux-group/syslinux.morph | 12 + strata/virtualbox-guest-x86_64.morph | 22 -- strata/virtualbox-guest-x86_64.morph.in | 22 ++ strata/virtualbox-guest-x86_64/vboxguest.morph | 34 --- strata/virtualbox-guest-x86_64/yasm.morph | 4 - strata/virtualbox-guest/vboxguest.morph | 34 +++ strata/virtualbox-guest/yasm.morph | 4 + .../armv7lhf-cross-toolchain-system-x86_32.morph | 19 -- .../armv7lhf-cross-toolchain-system-x86_64.morph | 19 -- systems/armv7lhf-cross-toolchain-system.morph.in | 19 ++ systems/base-system-armv7-highbank.morph | 20 -- systems/base-system-armv7-versatile.morph | 20 -- systems/base-system-armv7b-highbank.morph | 20 -- systems/base-system-armv7b-vexpress-tc2.morph | 19 -- .../base-system-armv7l-altera-socfpga-devkit.morph | 21 -- systems/base-system-armv7lhf-highbank.morph | 20 -- systems/base-system-armv8b64.morph | 22 -- systems/base-system-armv8l64.morph | 22 -- systems/base-system-ppc64-generic.morph | 20 -- systems/base-system-x86_32-generic.morph | 19 -- systems/base-system-x86_64-generic.morph | 20 -- systems/base-system.morph.in | 22 ++ systems/build-system-armv5l-openbmc-aspeed.morph | 47 --- ...build-system-armv7l-altera-socfpga-devkit.morph | 51 ---- systems/build-system-armv7lhf-highbank.morph | 61 ---- systems/build-system-armv7lhf-jetson.morph | 59 ---- systems/build-system-armv7lhf-rootfs.morph | 57 ---- systems/build-system-armv8b64.morph | 61 ---- systems/build-system-armv8l64.morph | 61 ---- systems/build-system-ppc64.morph | 59 ---- systems/build-system-x86_32-chroot.morph | 59 ---- systems/build-system-x86_32.morph | 59 ---- systems/build-system-x86_64-chroot.morph | 59 ---- systems/build-system-x86_64.morph | 59 ---- systems/build-system.morph.in | 54 ++++ systems/ceph-service-x86_64-generic.morph | 68 ----- systems/ceph-service.morph.in | 70 +++++ systems/chef-system-x86_64-container.morph | 32 -- systems/chef-system.morph.in | 36 +++ .../cross-bootstrap-system-armv5l-generic.morph | 23 -- .../cross-bootstrap-system-armv7lhf-generic.morph | 23 -- .../cross-bootstrap-system-armv8b64-generic.morph | 23 -- .../cross-bootstrap-system-armv8l64-generic.morph | 23 -- systems/cross-bootstrap-system-ppc64-generic.morph | 23 -- .../cross-bootstrap-system-x86_64-generic.morph | 23 -- systems/cross-bootstrap-system.morph.in | 23 ++ systems/cxmanage-system-x86_64-generic.morph | 26 -- systems/cxmanage-system.morph.in | 28 ++ systems/devel-system-armv7-chroot.morph | 70 ----- systems/devel-system-armv7-highbank.morph | 73 ----- systems/devel-system-armv7-versatile.morph | 71 ----- systems/devel-system-armv7-wandboard.morph | 71 ----- systems/devel-system-armv7b-chroot.morph | 62 ---- systems/devel-system-armv7b-highbank.morph | 69 ----- ...devel-system-armv7l-altera-socfpga-devkit.morph | 66 ----- systems/devel-system-armv7lhf-chroot.morph | 70 ----- systems/devel-system-armv7lhf-highbank.morph | 76 ----- systems/devel-system-armv7lhf-jetson.morph | 74 ----- systems/devel-system-armv7lhf-wandboard.morph | 74 ----- systems/devel-system-armv8b64.morph | 75 ----- systems/devel-system-armv8l64.morph | 76 ----- systems/devel-system-ppc64-chroot.morph | 68 ----- systems/devel-system-ppc64-generic.morph | 71 ----- systems/devel-system-x86_32-chroot.morph | 70 ----- systems/devel-system-x86_32-generic.morph | 76 ----- systems/devel-system-x86_64-chroot.morph | 72 ----- systems/devel-system-x86_64-generic.morph | 81 ----- systems/devel-system-x86_64-vagrant.morph | 74 ----- systems/devel-system.morph.in | 92 ++++++ .../genivi-baseline-system-armv7lhf-jetson.morph | 52 ---- ...genivi-baseline-system-armv7lhf-versatile.morph | 50 ---- .../genivi-baseline-system-x86_64-generic.morph | 53 ---- systems/genivi-baseline-system.morph.in | 56 ++++ systems/genivi-demo-platform-armv7lhf-jetson.morph | 79 ----- systems/genivi-demo-platform-x86_64-generic.morph | 81 ----- systems/genivi-demo-platform.morph.in | 83 ++++++ systems/gnome-system-armv7lhf-jetson.morph | 92 ------ systems/gnome-system-x86_64.morph | 100 ------- systems/gnome-system.morph.in | 105 +++++++ systems/initramfs-x86_64.morph | 11 - systems/initramfs.morph.in | 11 + systems/installer-system-armv8b64.morph | 39 --- systems/installer-system-x86_64.morph | 38 --- systems/installer-system.morph.in | 40 +++ systems/ivi-system-armv7lhf-jetson.morph | 90 ------ systems/ivi-system-x86_64.morph | 92 ------ systems/ivi-system.morph.in | 96 ++++++ systems/java-build-system-x86_64-generic.morph | 86 ------ systems/java-build-system.morph.in | 86 ++++++ systems/minimal-system-armv5l-openbmc-aspeed.morph | 20 -- systems/minimal-system-x86_32-generic.morph | 21 -- systems/minimal-system-x86_64-generic.morph | 21 -- systems/minimal-system.morph.in | 23 ++ systems/nodejs-system-x86_64.morph | 24 -- systems/nodejs-system.morph.in | 26 ++ systems/ocaml-system-x86_64.morph | 20 -- systems/ocaml-system.morph.in | 22 ++ systems/openstack-system-x86_64.morph | 88 ------ systems/openstack-system.morph.in | 91 ++++++ systems/qt4-devel-system-x86_64-generic.morph | 48 --- systems/qt4-devel-system.morph.in | 50 ++++ systems/qt5-devel-system-x86_64-generic.morph | 50 ---- systems/qt5-devel-system.morph.in | 52 ++++ systems/swift-system-x86_64.morph | 34 --- systems/swift-system.morph.in | 37 +++ systems/trove-system-x86_64.morph | 65 ---- systems/trove-system.morph.in | 68 +++++ systems/web-system-x86_64-generic.morph | 43 --- systems/web-system.morph.in | 46 +++ systems/weston-qt5-system-x86_64.morph | 68 ----- systems/weston-qt5-system.morph.in | 70 +++++ systems/weston-system-armv7lhf-jetson.morph | 54 ---- systems/weston-system-x86_64-generic.morph | 53 ---- systems/weston-system.morph.in | 56 ++++ systems/xfce-system-x86_64.morph | 75 ----- systems/xfce-system.morph.in | 78 +++++ systems/zookeeper-client-x86_64.morph | 30 -- systems/zookeeper-client.morph.in | 31 ++ systems/zookeeper-server-x86_64.morph | 30 -- systems/zookeeper-server.morph.in | 31 ++ 193 files changed, 3615 insertions(+), 6046 deletions(-) delete mode 100644 clusters/altera-socfpga-devkit-sd-image.morph create mode 100644 clusters/altera-socfpga-devkit-sd-image.morph.in delete mode 100644 clusters/cephclient.morph create mode 100644 clusters/cephclient.morph.in delete mode 100644 clusters/ci.morph create mode 100644 clusters/ci.morph.in delete mode 100644 clusters/example-ceph-cluster-on-openstack.morph create mode 100644 clusters/example-ceph-cluster-on-openstack.morph.in delete mode 100644 clusters/example-distbuild-cluster.morph create mode 100644 clusters/example-distbuild-cluster.morph.in delete mode 100644 clusters/example-swift-storage-cluster.morph create mode 100644 clusters/example-swift-storage-cluster.morph.in delete mode 100644 clusters/gdp-jetson-upgrade.morph create mode 100644 clusters/gdp-jetson-upgrade.morph.in delete mode 100644 clusters/gnome-system-armv7lhf-jetson-deploy.morph create mode 100644 clusters/gnome-system-armv7lhf-jetson-deploy.morph.in create mode 100644 clusters/gnome-system-deploy.morph.in delete mode 100644 clusters/gnome-system-x86_64-deploy.morph delete mode 100644 clusters/hardware-deployment.morph create mode 100644 clusters/hardware-deployment.morph.in delete mode 100644 clusters/image-package-example.morph create mode 100644 clusters/image-package-example.morph.in delete mode 100644 clusters/initramfs-test.morph create mode 100644 clusters/initramfs-test.morph.in delete mode 100644 clusters/installer-build-system-x86_64.morph create mode 100644 clusters/installer-build-system-x86_64.morph.in create mode 100644 clusters/ivi-system-deploy.morph.in delete mode 100644 clusters/ivi-system-x86_64-deploy.morph delete mode 100644 clusters/jetson-upgrade.morph create mode 100644 clusters/jetson-upgrade.morph.in delete mode 100644 clusters/mason-openstack.morph create mode 100644 clusters/mason-openstack.morph.in delete mode 100644 clusters/mason.morph create mode 100644 clusters/mason.morph.in delete mode 100644 clusters/minimal-system-deploy.morph create mode 100644 clusters/minimal-system-deploy.morph.in delete mode 100644 clusters/openstack-one-node-swift.morph create mode 100644 clusters/openstack-one-node-swift.morph.in delete mode 100644 clusters/openstack-one-node.morph create mode 100644 clusters/openstack-one-node.morph.in delete mode 100644 clusters/openstack-three-node-installer.morph create mode 100644 clusters/openstack-three-node-installer.morph.in delete mode 100644 clusters/openstack-two-node-installer.morph create mode 100644 clusters/openstack-two-node-installer.morph.in delete mode 100644 clusters/release-genivi-baseline.morph create mode 100644 clusters/release-genivi-baseline.morph.in delete mode 100644 clusters/release.morph create mode 100644 clusters/release.morph.in delete mode 100644 clusters/sdk-example-cluster.morph create mode 100644 clusters/sdk-example-cluster.morph.in delete mode 100644 clusters/trove-example.morph create mode 100644 clusters/trove-example.morph.in delete mode 100644 clusters/upgrade-devel.morph create mode 100644 clusters/upgrade-devel.morph.in create mode 100644 clusters/weston-qt5-system-deploy.morph.in delete mode 100644 clusters/weston-qt5-system-x86_64-deploy.morph create mode 100644 clusters/weston-system-deploy.morph.in delete mode 100644 clusters/weston-system-x86_64-generic-deploy.morph create mode 100644 clusters/xfce-system-deploy.morph.in delete mode 100644 clusters/xfce-system-x86_64-deploy.morph delete mode 100644 clusters/zookeeper.morph create mode 100644 clusters/zookeeper.morph.in create mode 100755 configure delete mode 100644 strata/bsp-x86_both-tools.morph delete mode 100644 strata/bsp-x86_both-tools/nasm.morph delete mode 100644 strata/bsp-x86_both-tools/syslinux.morph create mode 100644 strata/syslinux-group.morph create mode 100644 strata/syslinux-group/nasm.morph create mode 100644 strata/syslinux-group/syslinux.morph delete mode 100644 strata/virtualbox-guest-x86_64.morph create mode 100644 strata/virtualbox-guest-x86_64.morph.in delete mode 100644 strata/virtualbox-guest-x86_64/vboxguest.morph delete mode 100644 strata/virtualbox-guest-x86_64/yasm.morph create mode 100644 strata/virtualbox-guest/vboxguest.morph create mode 100644 strata/virtualbox-guest/yasm.morph delete mode 100644 systems/armv7lhf-cross-toolchain-system-x86_32.morph delete mode 100644 systems/armv7lhf-cross-toolchain-system-x86_64.morph create mode 100644 systems/armv7lhf-cross-toolchain-system.morph.in delete mode 100644 systems/base-system-armv7-highbank.morph delete mode 100644 systems/base-system-armv7-versatile.morph delete mode 100644 systems/base-system-armv7b-highbank.morph delete mode 100644 systems/base-system-armv7b-vexpress-tc2.morph delete mode 100644 systems/base-system-armv7l-altera-socfpga-devkit.morph delete mode 100644 systems/base-system-armv7lhf-highbank.morph delete mode 100644 systems/base-system-armv8b64.morph delete mode 100644 systems/base-system-armv8l64.morph delete mode 100644 systems/base-system-ppc64-generic.morph delete mode 100644 systems/base-system-x86_32-generic.morph delete mode 100644 systems/base-system-x86_64-generic.morph create mode 100644 systems/base-system.morph.in delete mode 100644 systems/build-system-armv5l-openbmc-aspeed.morph delete mode 100644 systems/build-system-armv7l-altera-socfpga-devkit.morph delete mode 100644 systems/build-system-armv7lhf-highbank.morph delete mode 100644 systems/build-system-armv7lhf-jetson.morph delete mode 100644 systems/build-system-armv7lhf-rootfs.morph delete mode 100644 systems/build-system-armv8b64.morph delete mode 100644 systems/build-system-armv8l64.morph delete mode 100644 systems/build-system-ppc64.morph delete mode 100644 systems/build-system-x86_32-chroot.morph delete mode 100644 systems/build-system-x86_32.morph delete mode 100644 systems/build-system-x86_64-chroot.morph delete mode 100644 systems/build-system-x86_64.morph create mode 100644 systems/build-system.morph.in delete mode 100644 systems/ceph-service-x86_64-generic.morph create mode 100644 systems/ceph-service.morph.in delete mode 100644 systems/chef-system-x86_64-container.morph create mode 100644 systems/chef-system.morph.in delete mode 100644 systems/cross-bootstrap-system-armv5l-generic.morph delete mode 100644 systems/cross-bootstrap-system-armv7lhf-generic.morph delete mode 100644 systems/cross-bootstrap-system-armv8b64-generic.morph delete mode 100644 systems/cross-bootstrap-system-armv8l64-generic.morph delete mode 100644 systems/cross-bootstrap-system-ppc64-generic.morph delete mode 100644 systems/cross-bootstrap-system-x86_64-generic.morph create mode 100644 systems/cross-bootstrap-system.morph.in delete mode 100644 systems/cxmanage-system-x86_64-generic.morph create mode 100644 systems/cxmanage-system.morph.in delete mode 100644 systems/devel-system-armv7-chroot.morph delete mode 100644 systems/devel-system-armv7-highbank.morph delete mode 100644 systems/devel-system-armv7-versatile.morph delete mode 100644 systems/devel-system-armv7-wandboard.morph delete mode 100644 systems/devel-system-armv7b-chroot.morph delete mode 100644 systems/devel-system-armv7b-highbank.morph delete mode 100644 systems/devel-system-armv7l-altera-socfpga-devkit.morph delete mode 100644 systems/devel-system-armv7lhf-chroot.morph delete mode 100644 systems/devel-system-armv7lhf-highbank.morph delete mode 100644 systems/devel-system-armv7lhf-jetson.morph delete mode 100644 systems/devel-system-armv7lhf-wandboard.morph delete mode 100644 systems/devel-system-armv8b64.morph delete mode 100644 systems/devel-system-armv8l64.morph delete mode 100644 systems/devel-system-ppc64-chroot.morph delete mode 100644 systems/devel-system-ppc64-generic.morph delete mode 100644 systems/devel-system-x86_32-chroot.morph delete mode 100644 systems/devel-system-x86_32-generic.morph delete mode 100644 systems/devel-system-x86_64-chroot.morph delete mode 100644 systems/devel-system-x86_64-generic.morph delete mode 100644 systems/devel-system-x86_64-vagrant.morph create mode 100644 systems/devel-system.morph.in delete mode 100644 systems/genivi-baseline-system-armv7lhf-jetson.morph delete mode 100644 systems/genivi-baseline-system-armv7lhf-versatile.morph delete mode 100644 systems/genivi-baseline-system-x86_64-generic.morph create mode 100644 systems/genivi-baseline-system.morph.in delete mode 100644 systems/genivi-demo-platform-armv7lhf-jetson.morph delete mode 100644 systems/genivi-demo-platform-x86_64-generic.morph create mode 100644 systems/genivi-demo-platform.morph.in delete mode 100644 systems/gnome-system-armv7lhf-jetson.morph delete mode 100644 systems/gnome-system-x86_64.morph create mode 100644 systems/gnome-system.morph.in delete mode 100644 systems/initramfs-x86_64.morph create mode 100644 systems/initramfs.morph.in delete mode 100644 systems/installer-system-armv8b64.morph delete mode 100644 systems/installer-system-x86_64.morph create mode 100644 systems/installer-system.morph.in delete mode 100644 systems/ivi-system-armv7lhf-jetson.morph delete mode 100644 systems/ivi-system-x86_64.morph create mode 100644 systems/ivi-system.morph.in delete mode 100644 systems/java-build-system-x86_64-generic.morph create mode 100644 systems/java-build-system.morph.in delete mode 100644 systems/minimal-system-armv5l-openbmc-aspeed.morph delete mode 100644 systems/minimal-system-x86_32-generic.morph delete mode 100644 systems/minimal-system-x86_64-generic.morph create mode 100644 systems/minimal-system.morph.in delete mode 100644 systems/nodejs-system-x86_64.morph create mode 100644 systems/nodejs-system.morph.in delete mode 100644 systems/ocaml-system-x86_64.morph create mode 100644 systems/ocaml-system.morph.in delete mode 100644 systems/openstack-system-x86_64.morph create mode 100644 systems/openstack-system.morph.in delete mode 100644 systems/qt4-devel-system-x86_64-generic.morph create mode 100644 systems/qt4-devel-system.morph.in delete mode 100644 systems/qt5-devel-system-x86_64-generic.morph create mode 100644 systems/qt5-devel-system.morph.in delete mode 100644 systems/swift-system-x86_64.morph create mode 100644 systems/swift-system.morph.in delete mode 100644 systems/trove-system-x86_64.morph create mode 100644 systems/trove-system.morph.in delete mode 100644 systems/web-system-x86_64-generic.morph create mode 100644 systems/web-system.morph.in delete mode 100644 systems/weston-qt5-system-x86_64.morph create mode 100644 systems/weston-qt5-system.morph.in delete mode 100644 systems/weston-system-armv7lhf-jetson.morph delete mode 100644 systems/weston-system-x86_64-generic.morph create mode 100644 systems/weston-system.morph.in delete mode 100644 systems/xfce-system-x86_64.morph create mode 100644 systems/xfce-system.morph.in delete mode 100644 systems/zookeeper-client-x86_64.morph create mode 100644 systems/zookeeper-client.morph.in delete mode 100644 systems/zookeeper-server-x86_64.morph create mode 100644 systems/zookeeper-server.morph.in diff --git a/clusters/altera-socfpga-devkit-sd-image.morph b/clusters/altera-socfpga-devkit-sd-image.morph deleted file mode 100644 index 71d3da2d..00000000 --- a/clusters/altera-socfpga-devkit-sd-image.morph +++ /dev/null @@ -1,14 +0,0 @@ -name: altera-socfpga-devkit-sd-image -kind: cluster -description: | - This cluster morph deploys a little endian Baserock system to - an SD image for the Altera Cyclone V development kit -systems: -- morph: systems/build-system-armv7l-altera-socfpga-devkit.morph - deploy: - self: - type: extensions/rawdisk - location: build-system-armv7l-altera-socfpga-devkit.img - DISK_SIZE: 7G - USE_PARTITIONING: yes - PARTITION_FILE: partitioning/socfpga-devkit diff --git a/clusters/altera-socfpga-devkit-sd-image.morph.in b/clusters/altera-socfpga-devkit-sd-image.morph.in new file mode 100644 index 00000000..d7b5255c --- /dev/null +++ b/clusters/altera-socfpga-devkit-sd-image.morph.in @@ -0,0 +1,14 @@ +name: altera-socfpga-devkit-sd-image +kind: cluster +description: | + This cluster morph deploys a Baserock system to + an SD image for the Altera Cyclone V development kit +systems: +- morph: systems/build-system.{{CONFIG}}.morph + deploy: + self: + type: extensions/rawdisk + location: build-system.{{CONFIG}}.img + DISK_SIZE: 7G + USE_PARTITIONING: yes + PARTITION_FILE: partitioning/socfpga-devkit diff --git a/clusters/cephclient.morph b/clusters/cephclient.morph deleted file mode 100644 index 9eaf92ee..00000000 --- a/clusters/cephclient.morph +++ /dev/null @@ -1,20 +0,0 @@ -name: ceph-cluster -kind: cluster -systems: -- morph: systems/ceph-service-x86_64-generic.morph - deploy: - ceph-node-virtualbox-image: - type: extensions/virtualbox-ssh - SYSTEM: systems/ceph-service-x86_64-generic.morph - location: vbox+ssh://user@machine/ChefNode4/home/user/chefnode4.vdi - # HOST_IPADDR and NETMASK should be set to the IP address and netmask of the virtualbox host on the host-only interface. - #HOST_IPADDR: 10.0.100.100 - #NETMASK: 255.255.255.0 - - # This is an example of how to configure the three interfaces necessary to support ceph in the BCPC configuration. - #NETWORK_CONFIG: lo:loopback;enp0s3:static,address=10.0.100.14,netmask=255.255.255.0;enp0s8:static,address=172.16.100.14,netmask=255.255.255.0;enp0s9:static,address=192.168.100.14,netmask=255.255.255.0 - DISK_SIZE: 8G - HOSTNAME: CephNode4 - - # You must install authorized_keys in chef/root/.ssh/ before this will work. - INSTALL_FILES: install-files/chef/manifest diff --git a/clusters/cephclient.morph.in b/clusters/cephclient.morph.in new file mode 100644 index 00000000..42ea33f7 --- /dev/null +++ b/clusters/cephclient.morph.in @@ -0,0 +1,20 @@ +name: ceph-cluster +kind: cluster +systems: +- morph: systems/ceph-service.{{CONFIG}}.morph + deploy: + ceph-node-virtualbox-image: + type: extensions/virtualbox-ssh + SYSTEM: systems/ceph-service.{{CONFIG}}.morph + location: vbox+ssh://user@machine/ChefNode4/home/user/chefnode4.vdi + # HOST_IPADDR and NETMASK should be set to the IP address and netmask of the virtualbox host on the host-only interface. + #HOST_IPADDR: 10.0.100.100 + #NETMASK: 255.255.255.0 + + # This is an example of how to configure the three interfaces necessary to support ceph in the BCPC configuration. + #NETWORK_CONFIG: lo:loopback;enp0s3:static,address=10.0.100.14,netmask=255.255.255.0;enp0s8:static,address=172.16.100.14,netmask=255.255.255.0;enp0s9:static,address=192.168.100.14,netmask=255.255.255.0 + DISK_SIZE: 8G + HOSTNAME: CephNode4 + + # You must install authorized_keys in chef/root/.ssh/ before this will work. + INSTALL_FILES: install-files/chef/manifest diff --git a/clusters/ci.morph b/clusters/ci.morph deleted file mode 100644 index a7469512..00000000 --- a/clusters/ci.morph +++ /dev/null @@ -1,140 +0,0 @@ -name: ci -kind: cluster -description: | - Deploy all the systems for CD. - - This cluster morph is for use by the Mason Continuous Delivery pipeline - during development. -systems: -- morph: systems/minimal-system-x86_64-generic.morph - deploy: - minimal-system-x86_64-generic: - type: extensions/rawdisk - location: minimal-system-x86_64-generic.img - DISK_SIZE: 512M - INIT_SYSTEM: busybox -- morph: systems/devel-system-x86_64-generic.morph - deploy: - devel-system-x86_64-generic: - type: extensions/rawdisk - location: devel-system-x86_64-generic.img - DISK_SIZE: 4G -- morph: systems/devel-system-x86_32-generic.morph - deploy: - devel-system-x86_32-generic: - type: extensions/rawdisk - location: devel-system-x86_32-generic.img - DISK_SIZE: 4G -- morph: systems/build-system-armv7lhf-jetson.morph - deploy: - build-system-armv7lhf-jetson: - type: extensions/rawdisk - location: build-system-armv7lhf-jetson.img - DISK_SIZE: 3G - BOOT_DEVICE: /dev/mmcblk0p1 - ROOT_DEVICE: /dev/mmcblk0p2 - DTB_PATH: boot/tegra124-jetson-tk1.dtb - BOOTLOADER_CONFIG_FORMAT: extlinux - BOOTLOADER_INSTALL: none - KERNEL_ARGS: cma=256M console=tty0 console=ttyS0,115200n8 no_console_suspend=1 - nouveau.pstate=1 -- morph: systems/gnome-system-x86_64.morph - deploy: - gnome-system-x86_64: - type: extensions/rawdisk - location: gnome-system-x86_64.img - DISK_SIZE: 7G - KERNEL_ARGS: vga=788 -- morph: systems/xfce-system-x86_64.morph - deploy: - xfce-system-x86_64: - type: extensions/rawdisk - location: xfce-system-x86_64.img - DISK_SIZE: 4G - KERNEL_ARGS: vga=788 -- morph: systems/weston-system-armv7lhf-jetson.morph - deploy: - weston-system-armv7lhf-jetson: - type: extensions/rawdisk - location: weston-system-armv7lhf-jetson.img - DISK_SIZE: 4G - BOOT_DEVICE: /dev/mmcblk0p1 - ROOT_DEVICE: /dev/mmcblk0p2 - DTB_PATH: boot/tegra124-jetson-tk1.dtb - BOOTLOADER_CONFIG_FORMAT: extlinux - BOOTLOADER_INSTALL: none - KERNEL_ARGS: cma=256M console=tty0 console=ttyS0,115200n8 no_console_suspend=1 - nouveau.pstate=1 -- morph: systems/genivi-baseline-system-x86_64-generic.morph - deploy: - genivi-baseline-system-x86_64-generic: - type: extensions/rawdisk - location: genivi-baseline-system-x86_64-generic.img - DISK_SIZE: 4G - KERNEL_ARGS: vga=788 - GENIVI_WESTON_BACKEND: fbdev - GENIVI_WESTON_CONFIG: baseline - GENIVI_WESTON_AUTOSTART: False -- morph: systems/genivi-baseline-system-armv7lhf-jetson.morph - deploy: - genivi-baseline-system-armv7lhf-jetson: - type: extensions/rawdisk - location: genivi-baseline-system-armv7lhf-jetson.img - DISK_SIZE: 4G - BOOT_DEVICE: /dev/mmcblk0p1 - ROOT_DEVICE: /dev/mmcblk0p2 - DTB_PATH: boot/tegra124-jetson-tk1.dtb - BOOTLOADER_CONFIG_FORMAT: extlinux - BOOTLOADER_INSTALL: none - KERNEL_ARGS: cma=256M console=tty0 console=ttyS0,115200n8 no_console_suspend=1 - nouveau.pstate=1 - GENIVI_WESTON_BACKEND: drm - GENIVI_WESTON_CONFIG: baseline - GENIVI_WESTON_AUTOSTART: True -- morph: systems/openstack-system-x86_64.morph - deploy: - openstack-system-x86_64: - type: extensions/rawdisk - location: baserock-openstack-system-x86_64.img - DISK_SIZE: 5G - INSTALL_FILES: install-files/openstack/manifest - HOSTNAME: onenode - RABBITMQ_HOST: onenode - RABBITMQ_PORT: 5672 - RABBITMQ_USER: rabbitmq - RABBITMQ_PASSWORD: veryinsecure - CONTROLLER_HOST_ADDRESS: onenode - MANAGEMENT_INTERFACE_IP_ADDRESS: 127.0.0.1 - KEYSTONE_TEMPORARY_ADMIN_TOKEN: 22f3aa1cf538e3f6d5e8 - KEYSTONE_ADMIN_PASSWORD: veryinsecure - KEYSTONE_DB_USER: keystoneDB - KEYSTONE_DB_PASSWORD: veryinsecure - GLANCE_SERVICE_USER: glance - GLANCE_SERVICE_PASSWORD: veryinsecure - GLANCE_DB_USER: glanceDB - GLANCE_DB_PASSWORD: veryinsecure - NOVA_SERVICE_USER: nova - NOVA_SERVICE_PASSWORD: veryinsecure - NOVA_DB_USER: novaDB - NOVA_DB_PASSWORD: veryinsecure - NOVA_VIRT_TYPE: qemu - CINDER_SERVICE_USER: cinder - CINDER_SERVICE_PASSWORD: veryinsecure - CINDER_DB_USER: cinderDB - CINDER_DB_PASSWORD: veryinsecure - CINDER_DEVICE: /dev/sdb - NEUTRON_SERVICE_USER: neutron - NEUTRON_SERVICE_PASSWORD: veryinsecure - NEUTRON_DB_USER: neutronDB - NEUTRON_DB_PASSWORD: veryinsecure - METADATA_PROXY_SHARED_SECRET: novaneutronmetasecret - IRONIC_SERVICE_USER: ironic - IRONIC_SERVICE_PASSWORD: veryinsecure - IRONIC_DB_USER: ironicDB - IRONIC_DB_PASSWORD: veryinsecure - CEILOMETER_SERVICE_USER: ceilometer - CEILOMETER_SERVICE_PASSWORD: veryinsecure - CEILOMETER_DB_USER: ceilometerDB - CEILOMETER_DB_PASSWORD: veryinsecure - METERING_SECRET: insecureceilometersecret - HOSTS_CONTROLLER: 127.0.0.1 onenode diff --git a/clusters/ci.morph.in b/clusters/ci.morph.in new file mode 100644 index 00000000..a7469512 --- /dev/null +++ b/clusters/ci.morph.in @@ -0,0 +1,140 @@ +name: ci +kind: cluster +description: | + Deploy all the systems for CD. + + This cluster morph is for use by the Mason Continuous Delivery pipeline + during development. +systems: +- morph: systems/minimal-system-x86_64-generic.morph + deploy: + minimal-system-x86_64-generic: + type: extensions/rawdisk + location: minimal-system-x86_64-generic.img + DISK_SIZE: 512M + INIT_SYSTEM: busybox +- morph: systems/devel-system-x86_64-generic.morph + deploy: + devel-system-x86_64-generic: + type: extensions/rawdisk + location: devel-system-x86_64-generic.img + DISK_SIZE: 4G +- morph: systems/devel-system-x86_32-generic.morph + deploy: + devel-system-x86_32-generic: + type: extensions/rawdisk + location: devel-system-x86_32-generic.img + DISK_SIZE: 4G +- morph: systems/build-system-armv7lhf-jetson.morph + deploy: + build-system-armv7lhf-jetson: + type: extensions/rawdisk + location: build-system-armv7lhf-jetson.img + DISK_SIZE: 3G + BOOT_DEVICE: /dev/mmcblk0p1 + ROOT_DEVICE: /dev/mmcblk0p2 + DTB_PATH: boot/tegra124-jetson-tk1.dtb + BOOTLOADER_CONFIG_FORMAT: extlinux + BOOTLOADER_INSTALL: none + KERNEL_ARGS: cma=256M console=tty0 console=ttyS0,115200n8 no_console_suspend=1 + nouveau.pstate=1 +- morph: systems/gnome-system-x86_64.morph + deploy: + gnome-system-x86_64: + type: extensions/rawdisk + location: gnome-system-x86_64.img + DISK_SIZE: 7G + KERNEL_ARGS: vga=788 +- morph: systems/xfce-system-x86_64.morph + deploy: + xfce-system-x86_64: + type: extensions/rawdisk + location: xfce-system-x86_64.img + DISK_SIZE: 4G + KERNEL_ARGS: vga=788 +- morph: systems/weston-system-armv7lhf-jetson.morph + deploy: + weston-system-armv7lhf-jetson: + type: extensions/rawdisk + location: weston-system-armv7lhf-jetson.img + DISK_SIZE: 4G + BOOT_DEVICE: /dev/mmcblk0p1 + ROOT_DEVICE: /dev/mmcblk0p2 + DTB_PATH: boot/tegra124-jetson-tk1.dtb + BOOTLOADER_CONFIG_FORMAT: extlinux + BOOTLOADER_INSTALL: none + KERNEL_ARGS: cma=256M console=tty0 console=ttyS0,115200n8 no_console_suspend=1 + nouveau.pstate=1 +- morph: systems/genivi-baseline-system-x86_64-generic.morph + deploy: + genivi-baseline-system-x86_64-generic: + type: extensions/rawdisk + location: genivi-baseline-system-x86_64-generic.img + DISK_SIZE: 4G + KERNEL_ARGS: vga=788 + GENIVI_WESTON_BACKEND: fbdev + GENIVI_WESTON_CONFIG: baseline + GENIVI_WESTON_AUTOSTART: False +- morph: systems/genivi-baseline-system-armv7lhf-jetson.morph + deploy: + genivi-baseline-system-armv7lhf-jetson: + type: extensions/rawdisk + location: genivi-baseline-system-armv7lhf-jetson.img + DISK_SIZE: 4G + BOOT_DEVICE: /dev/mmcblk0p1 + ROOT_DEVICE: /dev/mmcblk0p2 + DTB_PATH: boot/tegra124-jetson-tk1.dtb + BOOTLOADER_CONFIG_FORMAT: extlinux + BOOTLOADER_INSTALL: none + KERNEL_ARGS: cma=256M console=tty0 console=ttyS0,115200n8 no_console_suspend=1 + nouveau.pstate=1 + GENIVI_WESTON_BACKEND: drm + GENIVI_WESTON_CONFIG: baseline + GENIVI_WESTON_AUTOSTART: True +- morph: systems/openstack-system-x86_64.morph + deploy: + openstack-system-x86_64: + type: extensions/rawdisk + location: baserock-openstack-system-x86_64.img + DISK_SIZE: 5G + INSTALL_FILES: install-files/openstack/manifest + HOSTNAME: onenode + RABBITMQ_HOST: onenode + RABBITMQ_PORT: 5672 + RABBITMQ_USER: rabbitmq + RABBITMQ_PASSWORD: veryinsecure + CONTROLLER_HOST_ADDRESS: onenode + MANAGEMENT_INTERFACE_IP_ADDRESS: 127.0.0.1 + KEYSTONE_TEMPORARY_ADMIN_TOKEN: 22f3aa1cf538e3f6d5e8 + KEYSTONE_ADMIN_PASSWORD: veryinsecure + KEYSTONE_DB_USER: keystoneDB + KEYSTONE_DB_PASSWORD: veryinsecure + GLANCE_SERVICE_USER: glance + GLANCE_SERVICE_PASSWORD: veryinsecure + GLANCE_DB_USER: glanceDB + GLANCE_DB_PASSWORD: veryinsecure + NOVA_SERVICE_USER: nova + NOVA_SERVICE_PASSWORD: veryinsecure + NOVA_DB_USER: novaDB + NOVA_DB_PASSWORD: veryinsecure + NOVA_VIRT_TYPE: qemu + CINDER_SERVICE_USER: cinder + CINDER_SERVICE_PASSWORD: veryinsecure + CINDER_DB_USER: cinderDB + CINDER_DB_PASSWORD: veryinsecure + CINDER_DEVICE: /dev/sdb + NEUTRON_SERVICE_USER: neutron + NEUTRON_SERVICE_PASSWORD: veryinsecure + NEUTRON_DB_USER: neutronDB + NEUTRON_DB_PASSWORD: veryinsecure + METADATA_PROXY_SHARED_SECRET: novaneutronmetasecret + IRONIC_SERVICE_USER: ironic + IRONIC_SERVICE_PASSWORD: veryinsecure + IRONIC_DB_USER: ironicDB + IRONIC_DB_PASSWORD: veryinsecure + CEILOMETER_SERVICE_USER: ceilometer + CEILOMETER_SERVICE_PASSWORD: veryinsecure + CEILOMETER_DB_USER: ceilometerDB + CEILOMETER_DB_PASSWORD: veryinsecure + METERING_SECRET: insecureceilometersecret + HOSTS_CONTROLLER: 127.0.0.1 onenode diff --git a/clusters/example-ceph-cluster-on-openstack.morph b/clusters/example-ceph-cluster-on-openstack.morph deleted file mode 100644 index 6ddabc90..00000000 --- a/clusters/example-ceph-cluster-on-openstack.morph +++ /dev/null @@ -1,55 +0,0 @@ -name: example-ceph-cluster-on-openstack -kind: cluster -description: | - This cluster morphology will deploy a 3 node ceph storage cluster to an - openstack server. - - It was written for use with the following guide on the baserock wiki: - http://wiki.baserock.org/guides/ceph-cluster-deploy/ - - See this guide for more information. - - See the ceph.configure file for more informatiion on the ceph - specific fields used in this cluster morphology. - -systems: -- morph: systems/ceph-service-x86_64-generic.morph - deploy: - ceph-mon-0-openstack: - # openstack info - <<: &common-config - type: openstack - location: http://:5000/v2.0/ - OPENSTACK_USER: demo - OPENSTACK_PASSWORD: demo - OPENSTACK_TENANT: demo - CLOUD_INIT: true - KERNEL_ARGS: console=ttyS0 console=tty0 - CEPH_CLUSTER: ceph - CEPH_CONF: ceph.conf - CEPH_CLIENT_ADMIN: ceph.client.admin.keyring - CEPH_MON_IP: - CEPH_CLUSTER_FSID: - - OPENSTACK_IMAGENAME: mon-0-nd - DISK_SIZE: 10G - # Ceph info - HOSTNAME: mon-0 - CEPH_MON: - ceph-osd-0-openstack: - <<: *common-config - OPENSTACK_IMAGENAME: osd-0 - DISK_SIZE: 7G - # ceph info - HOSTNAME: osd-0 - CEPH_OSD: - CEPH_OSD_STORAGE_DEV: /dev/vdb - ceph-osd-1-openstack: - <<: *common-config - OPENSTACK_IMAGENAME: osd-1 - DISK_SIZE: 7G - # ceph info - HOSTNAME: osd-1 - - CEPH_OSD: - CEPH_OSD_STORAGE_DEV: /dev/vdb diff --git a/clusters/example-ceph-cluster-on-openstack.morph.in b/clusters/example-ceph-cluster-on-openstack.morph.in new file mode 100644 index 00000000..6ddabc90 --- /dev/null +++ b/clusters/example-ceph-cluster-on-openstack.morph.in @@ -0,0 +1,55 @@ +name: example-ceph-cluster-on-openstack +kind: cluster +description: | + This cluster morphology will deploy a 3 node ceph storage cluster to an + openstack server. + + It was written for use with the following guide on the baserock wiki: + http://wiki.baserock.org/guides/ceph-cluster-deploy/ + + See this guide for more information. + + See the ceph.configure file for more informatiion on the ceph + specific fields used in this cluster morphology. + +systems: +- morph: systems/ceph-service-x86_64-generic.morph + deploy: + ceph-mon-0-openstack: + # openstack info + <<: &common-config + type: openstack + location: http://:5000/v2.0/ + OPENSTACK_USER: demo + OPENSTACK_PASSWORD: demo + OPENSTACK_TENANT: demo + CLOUD_INIT: true + KERNEL_ARGS: console=ttyS0 console=tty0 + CEPH_CLUSTER: ceph + CEPH_CONF: ceph.conf + CEPH_CLIENT_ADMIN: ceph.client.admin.keyring + CEPH_MON_IP: + CEPH_CLUSTER_FSID: + + OPENSTACK_IMAGENAME: mon-0-nd + DISK_SIZE: 10G + # Ceph info + HOSTNAME: mon-0 + CEPH_MON: + ceph-osd-0-openstack: + <<: *common-config + OPENSTACK_IMAGENAME: osd-0 + DISK_SIZE: 7G + # ceph info + HOSTNAME: osd-0 + CEPH_OSD: + CEPH_OSD_STORAGE_DEV: /dev/vdb + ceph-osd-1-openstack: + <<: *common-config + OPENSTACK_IMAGENAME: osd-1 + DISK_SIZE: 7G + # ceph info + HOSTNAME: osd-1 + + CEPH_OSD: + CEPH_OSD_STORAGE_DEV: /dev/vdb diff --git a/clusters/example-distbuild-cluster.morph b/clusters/example-distbuild-cluster.morph deleted file mode 100644 index 5208a5ca..00000000 --- a/clusters/example-distbuild-cluster.morph +++ /dev/null @@ -1,37 +0,0 @@ -name: example-distbuild-cluster -kind: cluster -description: | - This is an example cluster morph that can be adapted to set up a - Baserock distributed build network. - - You will need to deploy a Trove for the distributed build network - to use before deploying this cluster. The worker SSH key file should - be generated as part of the Trove deployment. It is the key used by - workers to authenticate with the Trove to give them read access to - all source repositories. -systems: -- morph: systems/build-system-x86_64.morph - deploy-defaults: - CONTROLLERHOST: build-controller - DISTBUILD_CONTROLLER: false - DISTBUILD_WORKER: true - FSTAB_SRC: LABEL=src /srv/distbuild auto defaults,rw,noatime 0 2 - INSTALL_FILES: install-files/distbuild/manifest - NFSBOOT_CONFIGURE: true - TROVE_ID: $MY_TROVE - WORKER_SSH_KEY: ssh-keys/worker.key - deploy: - build-controller: - type: extensions/nfsboot - location: $MY_TROVE - DISTBUILD_CONTROLLER: true - HOSTNAME: build-controller - WORKERS: build-node-1, build-node-2 - build-node-1: - type: extensions/nfsboot - location: $MY_TROVE - HOSTNAME: build-node-1 - build-node-2: - type: extensions/nfsboot - location: $MY_TROVE - HOSTNAME: build-node-2 diff --git a/clusters/example-distbuild-cluster.morph.in b/clusters/example-distbuild-cluster.morph.in new file mode 100644 index 00000000..5208a5ca --- /dev/null +++ b/clusters/example-distbuild-cluster.morph.in @@ -0,0 +1,37 @@ +name: example-distbuild-cluster +kind: cluster +description: | + This is an example cluster morph that can be adapted to set up a + Baserock distributed build network. + + You will need to deploy a Trove for the distributed build network + to use before deploying this cluster. The worker SSH key file should + be generated as part of the Trove deployment. It is the key used by + workers to authenticate with the Trove to give them read access to + all source repositories. +systems: +- morph: systems/build-system-x86_64.morph + deploy-defaults: + CONTROLLERHOST: build-controller + DISTBUILD_CONTROLLER: false + DISTBUILD_WORKER: true + FSTAB_SRC: LABEL=src /srv/distbuild auto defaults,rw,noatime 0 2 + INSTALL_FILES: install-files/distbuild/manifest + NFSBOOT_CONFIGURE: true + TROVE_ID: $MY_TROVE + WORKER_SSH_KEY: ssh-keys/worker.key + deploy: + build-controller: + type: extensions/nfsboot + location: $MY_TROVE + DISTBUILD_CONTROLLER: true + HOSTNAME: build-controller + WORKERS: build-node-1, build-node-2 + build-node-1: + type: extensions/nfsboot + location: $MY_TROVE + HOSTNAME: build-node-1 + build-node-2: + type: extensions/nfsboot + location: $MY_TROVE + HOSTNAME: build-node-2 diff --git a/clusters/example-swift-storage-cluster.morph b/clusters/example-swift-storage-cluster.morph deleted file mode 100644 index ddab6481..00000000 --- a/clusters/example-swift-storage-cluster.morph +++ /dev/null @@ -1,62 +0,0 @@ -name: example-swift-storage-cluster -kind: cluster -systems: -- morph: systems/swift-system-x86_64.morph - deploy-defaults: - INSTALL_FILES: install-files/swift/manifest - - CONTROLLER_HOST_ADDRESS: - - SWIFT_PART_POWER: 10 - SWIFT_REPLICAS: 3 - SWIFT_MIN_PART_HOURS: 1 - - SWIFT_STORAGE_DEVICES: - - {ip: , device: sdb, weight: 100} - - {ip: , device: sdc, weight: 100} - - {ip: , device: sdd, weight: 100} - - {ip: , device: sdb, weight: 100} - - {ip: , device: sdc, weight: 100} - - {ip: , device: sdd, weight: 100} - - # This value can be any random string or number - # but each node in your swift cluster must have the same value - SWIFT_REBALANCE_SEED: 3828 - - # NOTE: Replace SWIFT_HASH_PATH_PREFIX and SWIFT_HASH_PATH_SUFFIX - # with your own unique values, - # - # `openssl rand -hex 10' can be used to generate unique values - # - # These values should be kept secret, do not lose them. - # - SWIFT_HASH_PATH_PREFIX: 041fc210e4e1d333ce1d - SWIFT_HASH_PATH_SUFFIX: 4d6f5362a356dda7fb7d - - FSTAB_SDB: /dev/sdb /srv/node/sdb xfs defaults,user,rw 0 0 - FSTAB_SDC: /dev/sdc /srv/node/sdc xfs defaults,user,rw 0 0 - FSTAB_SDD: /dev/sdd /srv/node/sdd xfs defaults,user,rw 0 0 - - deploy: - node0: - type: extensions/kvm - location: kvm+ssh://user@host/swift-storage-0/home/user/swift-storage-0.img - DISK_SIZE: 10G - RAM_SIZE: 1G - VCPUS: 1 - HOSTNAME: swift-storage-0 - NIC_CONFIG: network=default - NETWORK_CONFIG: ens3:static,address=,netmask=255.255.255.0 - MANAGEMENT_INTERFACE_IP_ADDRESS: - ATTACH_DISKS: /dev/node0_sdb:/dev/node0_sdc:/dev/node0_sdd - node1: - type: extensions/kvm - location: kvm+ssh://user@host/swift-storage-1/home/user/swift-storage-1.img - DISK_SIZE: 10G - RAM_SIZE: 1G - VCPUS: 1 - HOSTNAME: swift-storage-1 - NIC_CONFIG: network=default - NETWORK_CONFIG: ens3:static,address=,netmask=255.255.255.0 - MANAGEMENT_INTERFACE_IP_ADDRESS: - ATTACH_DISKS: /dev/node1_sdb:/dev/node1_sdc:/dev/node1_sdd diff --git a/clusters/example-swift-storage-cluster.morph.in b/clusters/example-swift-storage-cluster.morph.in new file mode 100644 index 00000000..ddab6481 --- /dev/null +++ b/clusters/example-swift-storage-cluster.morph.in @@ -0,0 +1,62 @@ +name: example-swift-storage-cluster +kind: cluster +systems: +- morph: systems/swift-system-x86_64.morph + deploy-defaults: + INSTALL_FILES: install-files/swift/manifest + + CONTROLLER_HOST_ADDRESS: + + SWIFT_PART_POWER: 10 + SWIFT_REPLICAS: 3 + SWIFT_MIN_PART_HOURS: 1 + + SWIFT_STORAGE_DEVICES: + - {ip: , device: sdb, weight: 100} + - {ip: , device: sdc, weight: 100} + - {ip: , device: sdd, weight: 100} + - {ip: , device: sdb, weight: 100} + - {ip: , device: sdc, weight: 100} + - {ip: , device: sdd, weight: 100} + + # This value can be any random string or number + # but each node in your swift cluster must have the same value + SWIFT_REBALANCE_SEED: 3828 + + # NOTE: Replace SWIFT_HASH_PATH_PREFIX and SWIFT_HASH_PATH_SUFFIX + # with your own unique values, + # + # `openssl rand -hex 10' can be used to generate unique values + # + # These values should be kept secret, do not lose them. + # + SWIFT_HASH_PATH_PREFIX: 041fc210e4e1d333ce1d + SWIFT_HASH_PATH_SUFFIX: 4d6f5362a356dda7fb7d + + FSTAB_SDB: /dev/sdb /srv/node/sdb xfs defaults,user,rw 0 0 + FSTAB_SDC: /dev/sdc /srv/node/sdc xfs defaults,user,rw 0 0 + FSTAB_SDD: /dev/sdd /srv/node/sdd xfs defaults,user,rw 0 0 + + deploy: + node0: + type: extensions/kvm + location: kvm+ssh://user@host/swift-storage-0/home/user/swift-storage-0.img + DISK_SIZE: 10G + RAM_SIZE: 1G + VCPUS: 1 + HOSTNAME: swift-storage-0 + NIC_CONFIG: network=default + NETWORK_CONFIG: ens3:static,address=,netmask=255.255.255.0 + MANAGEMENT_INTERFACE_IP_ADDRESS: + ATTACH_DISKS: /dev/node0_sdb:/dev/node0_sdc:/dev/node0_sdd + node1: + type: extensions/kvm + location: kvm+ssh://user@host/swift-storage-1/home/user/swift-storage-1.img + DISK_SIZE: 10G + RAM_SIZE: 1G + VCPUS: 1 + HOSTNAME: swift-storage-1 + NIC_CONFIG: network=default + NETWORK_CONFIG: ens3:static,address=,netmask=255.255.255.0 + MANAGEMENT_INTERFACE_IP_ADDRESS: + ATTACH_DISKS: /dev/node1_sdb:/dev/node1_sdc:/dev/node1_sdd diff --git a/clusters/gdp-jetson-upgrade.morph b/clusters/gdp-jetson-upgrade.morph deleted file mode 100644 index 33eb8ec1..00000000 --- a/clusters/gdp-jetson-upgrade.morph +++ /dev/null @@ -1,19 +0,0 @@ -name: gdp-jetson-upgrade -kind: cluster -systems: -- morph: systems/genivi-demo-platform-armv7lhf-jetson.morph - deploy-defaults: - BOOT_DEVICE: "/dev/mmcblk0p1" - ROOT_DEVICE: "/dev/mmcblk0p2" - DTB_PATH: "boot/tegra124-jetson-tk1.dtb" - BOOTLOADER_CONFIG_FORMAT: "extlinux" - BOOTLOADER_INSTALL: "none" - KERNEL_ARGS: cma=256M console=tty0 console=ttyS0,115200n8 no_console_suspend=1 nouveau.pstate=1 - FSTAB_SRC: LABEL=src /src auto defaults,rw,noatime,nofail 0 2 - GENIVI_WESTON_BACKEND: drm - GENIVI_WESTON_CONFIG: gdp - GENIVI_WESTON_AUTOSTART: True - deploy: - self: - type: extensions/ssh-rsync - location: root@127.0.0.1 diff --git a/clusters/gdp-jetson-upgrade.morph.in b/clusters/gdp-jetson-upgrade.morph.in new file mode 100644 index 00000000..33eb8ec1 --- /dev/null +++ b/clusters/gdp-jetson-upgrade.morph.in @@ -0,0 +1,19 @@ +name: gdp-jetson-upgrade +kind: cluster +systems: +- morph: systems/genivi-demo-platform-armv7lhf-jetson.morph + deploy-defaults: + BOOT_DEVICE: "/dev/mmcblk0p1" + ROOT_DEVICE: "/dev/mmcblk0p2" + DTB_PATH: "boot/tegra124-jetson-tk1.dtb" + BOOTLOADER_CONFIG_FORMAT: "extlinux" + BOOTLOADER_INSTALL: "none" + KERNEL_ARGS: cma=256M console=tty0 console=ttyS0,115200n8 no_console_suspend=1 nouveau.pstate=1 + FSTAB_SRC: LABEL=src /src auto defaults,rw,noatime,nofail 0 2 + GENIVI_WESTON_BACKEND: drm + GENIVI_WESTON_CONFIG: gdp + GENIVI_WESTON_AUTOSTART: True + deploy: + self: + type: extensions/ssh-rsync + location: root@127.0.0.1 diff --git a/clusters/gnome-system-armv7lhf-jetson-deploy.morph b/clusters/gnome-system-armv7lhf-jetson-deploy.morph deleted file mode 100644 index c74f1209..00000000 --- a/clusters/gnome-system-armv7lhf-jetson-deploy.morph +++ /dev/null @@ -1,17 +0,0 @@ -name: gnome-system-armv7lhf-jetson-deploy -kind: cluster -description: Deploy a GNOME system. -systems: -- morph: systems/gnome-system-armv7lhf-jetson.morph - deploy: - gnome-system-armv7lhf-jetson: - type: extensions/rawdisk - location: gnome-system-armv7lhf-jetson.img - DISK_SIZE: 7G - BOOT_DEVICE: /dev/mmcblk0p1 - ROOT_DEVICE: /dev/mmcblk0p2 - DTB_PATH: boot/tegra124-jetson-tk1.dtb - BOOTLOADER_CONFIG_FORMAT: extlinux - BOOTLOADER_INSTALL: none - KERNEL_ARGS: cma=256M console=tty0 console=ttyS0,115200n8 no_console_suspend=1 - nouveau.pstate=1 diff --git a/clusters/gnome-system-armv7lhf-jetson-deploy.morph.in b/clusters/gnome-system-armv7lhf-jetson-deploy.morph.in new file mode 100644 index 00000000..c74f1209 --- /dev/null +++ b/clusters/gnome-system-armv7lhf-jetson-deploy.morph.in @@ -0,0 +1,17 @@ +name: gnome-system-armv7lhf-jetson-deploy +kind: cluster +description: Deploy a GNOME system. +systems: +- morph: systems/gnome-system-armv7lhf-jetson.morph + deploy: + gnome-system-armv7lhf-jetson: + type: extensions/rawdisk + location: gnome-system-armv7lhf-jetson.img + DISK_SIZE: 7G + BOOT_DEVICE: /dev/mmcblk0p1 + ROOT_DEVICE: /dev/mmcblk0p2 + DTB_PATH: boot/tegra124-jetson-tk1.dtb + BOOTLOADER_CONFIG_FORMAT: extlinux + BOOTLOADER_INSTALL: none + KERNEL_ARGS: cma=256M console=tty0 console=ttyS0,115200n8 no_console_suspend=1 + nouveau.pstate=1 diff --git a/clusters/gnome-system-deploy.morph.in b/clusters/gnome-system-deploy.morph.in new file mode 100644 index 00000000..b3015ff2 --- /dev/null +++ b/clusters/gnome-system-deploy.morph.in @@ -0,0 +1,24 @@ +name: gnome-system-x86_64-deploy +kind: cluster +description: | + Deploy a stock weston system. + + The resulting image can be copied to a USB and booted from there, + as well as in a virtual machine. + +systems: +- morph: systems/gnome-system-x86_64.morph + deploy: + gnome-system-x86_64: + type: extensions/rawdisk + location: /gnome-system-x86_64.img + DISK_SIZE: 7G + INSTALL_FILES: install-files/gnome/manifest + KERNEL_ARGS: vga=788 + INITRAMFS_PATH: boot/initramfs.gz + subsystems: + - morph: systems/initramfs-x86_64.morph + deploy: + initramfs: + type: initramfs + location: boot/initramfs.gz diff --git a/clusters/gnome-system-x86_64-deploy.morph b/clusters/gnome-system-x86_64-deploy.morph deleted file mode 100644 index b3015ff2..00000000 --- a/clusters/gnome-system-x86_64-deploy.morph +++ /dev/null @@ -1,24 +0,0 @@ -name: gnome-system-x86_64-deploy -kind: cluster -description: | - Deploy a stock weston system. - - The resulting image can be copied to a USB and booted from there, - as well as in a virtual machine. - -systems: -- morph: systems/gnome-system-x86_64.morph - deploy: - gnome-system-x86_64: - type: extensions/rawdisk - location: /gnome-system-x86_64.img - DISK_SIZE: 7G - INSTALL_FILES: install-files/gnome/manifest - KERNEL_ARGS: vga=788 - INITRAMFS_PATH: boot/initramfs.gz - subsystems: - - morph: systems/initramfs-x86_64.morph - deploy: - initramfs: - type: initramfs - location: boot/initramfs.gz diff --git a/clusters/hardware-deployment.morph b/clusters/hardware-deployment.morph deleted file mode 100644 index 674d6587..00000000 --- a/clusters/hardware-deployment.morph +++ /dev/null @@ -1,35 +0,0 @@ -name: hardware-deployment -kind: cluster -description: | - Deploy a build-system into hardware using the combination - of the pxeboot.write extension and the installer system. - This examples uses the spawn-novlan mode of pxeboot.write. -systems: -- morph: systems/installer-system-x86_64.morph - deploy: - installer: - type: extensions/pxeboot - location: AB:CD:EF:12:34:56:78 #MAC address. - PXEBOOT_MODE: spawn-novlan - PXEBOOT_DEPLOYER_INTERFACE: ens6 - KERNEL_ARGS: console=ttyS1,9600 console=tty0 init=/usr/lib/baserock-installer/installer - HOSTNAME: installer-system - IPMI_USER: myipmiuser - IPMI_PASSWORD: myipmipassword - IPMI_HOST: 123.34.45.120 #IPMI ip address - INSTALLER_TARGET_STORAGE_DEVICE: /dev/sda - INSTALLER_ROOTFS_TO_INSTALL: /rootfs - subsystems: - - morph: systems/build-system-x86_64.morph - deploy: - to-install: - type: extensions/sysroot - location: /rootfs - INITRAMFS_PATH: boot/initramfs.gz - KERNEL_ARGS: console=ttyS1,9600 console=tty0 - subsystems: - - morph: systems/initramfs-x86_64.morph - deploy: - initramfs: - type: extensions/initramfs - location: boot/initramfs.gz diff --git a/clusters/hardware-deployment.morph.in b/clusters/hardware-deployment.morph.in new file mode 100644 index 00000000..674d6587 --- /dev/null +++ b/clusters/hardware-deployment.morph.in @@ -0,0 +1,35 @@ +name: hardware-deployment +kind: cluster +description: | + Deploy a build-system into hardware using the combination + of the pxeboot.write extension and the installer system. + This examples uses the spawn-novlan mode of pxeboot.write. +systems: +- morph: systems/installer-system-x86_64.morph + deploy: + installer: + type: extensions/pxeboot + location: AB:CD:EF:12:34:56:78 #MAC address. + PXEBOOT_MODE: spawn-novlan + PXEBOOT_DEPLOYER_INTERFACE: ens6 + KERNEL_ARGS: console=ttyS1,9600 console=tty0 init=/usr/lib/baserock-installer/installer + HOSTNAME: installer-system + IPMI_USER: myipmiuser + IPMI_PASSWORD: myipmipassword + IPMI_HOST: 123.34.45.120 #IPMI ip address + INSTALLER_TARGET_STORAGE_DEVICE: /dev/sda + INSTALLER_ROOTFS_TO_INSTALL: /rootfs + subsystems: + - morph: systems/build-system-x86_64.morph + deploy: + to-install: + type: extensions/sysroot + location: /rootfs + INITRAMFS_PATH: boot/initramfs.gz + KERNEL_ARGS: console=ttyS1,9600 console=tty0 + subsystems: + - morph: systems/initramfs-x86_64.morph + deploy: + initramfs: + type: extensions/initramfs + location: boot/initramfs.gz diff --git a/clusters/image-package-example.morph b/clusters/image-package-example.morph deleted file mode 100644 index ca79ec97..00000000 --- a/clusters/image-package-example.morph +++ /dev/null @@ -1,12 +0,0 @@ -name: image-package-example -kind: cluster -description: | - Packaged system and script for installing it, for deferred instantiation. -systems: -- morph: systems/base-system-x86_32-generic.morph - deploy: - imgpkg: - type: extensions/image-package - location: image-package-example.tar - BOOTLOADER_BLOBS: /usr/share/syslinux/mbr.bin - INCLUDE_SCRIPTS: extensions/image-package-example/make-disk-image.sh.in:extensions/image-package-example/disk-install.sh.in:extensions/image-package-example/common.sh.in diff --git a/clusters/image-package-example.morph.in b/clusters/image-package-example.morph.in new file mode 100644 index 00000000..ca79ec97 --- /dev/null +++ b/clusters/image-package-example.morph.in @@ -0,0 +1,12 @@ +name: image-package-example +kind: cluster +description: | + Packaged system and script for installing it, for deferred instantiation. +systems: +- morph: systems/base-system-x86_32-generic.morph + deploy: + imgpkg: + type: extensions/image-package + location: image-package-example.tar + BOOTLOADER_BLOBS: /usr/share/syslinux/mbr.bin + INCLUDE_SCRIPTS: extensions/image-package-example/make-disk-image.sh.in:extensions/image-package-example/disk-install.sh.in:extensions/image-package-example/common.sh.in diff --git a/clusters/initramfs-test.morph b/clusters/initramfs-test.morph deleted file mode 100644 index a4ce7f32..00000000 --- a/clusters/initramfs-test.morph +++ /dev/null @@ -1,22 +0,0 @@ -name: initramfs-test -kind: cluster -systems: -- morph: systems/base-system-x86_64-generic.morph - deploy: - system: - type: extensions/rawdisk - location: initramfs-system-x86_64.img - DISK_SIZE: 1G - HOSTNAME: initramfs-system - INITRAMFS_PATH: boot/initramfs.gz - subsystems: - - morph: systems/initramfs-x86_64.morph - deploy: - initramfs: - type: extensions/initramfs - location: boot/initramfs.gz - - morph: systems/initramfs-x86_64.morph - deploy: - shutdownramfs: - type: sysroot - location: usr/lib/shutdownramfs diff --git a/clusters/initramfs-test.morph.in b/clusters/initramfs-test.morph.in new file mode 100644 index 00000000..a4ce7f32 --- /dev/null +++ b/clusters/initramfs-test.morph.in @@ -0,0 +1,22 @@ +name: initramfs-test +kind: cluster +systems: +- morph: systems/base-system-x86_64-generic.morph + deploy: + system: + type: extensions/rawdisk + location: initramfs-system-x86_64.img + DISK_SIZE: 1G + HOSTNAME: initramfs-system + INITRAMFS_PATH: boot/initramfs.gz + subsystems: + - morph: systems/initramfs-x86_64.morph + deploy: + initramfs: + type: extensions/initramfs + location: boot/initramfs.gz + - morph: systems/initramfs-x86_64.morph + deploy: + shutdownramfs: + type: sysroot + location: usr/lib/shutdownramfs diff --git a/clusters/installer-build-system-x86_64.morph b/clusters/installer-build-system-x86_64.morph deleted file mode 100644 index d9a2a28b..00000000 --- a/clusters/installer-build-system-x86_64.morph +++ /dev/null @@ -1,52 +0,0 @@ -name: installer-build-system-x86_64 -kind: cluster -description: | - This is a cluster morphology that can be used to deploy - installer systems. This is done by adding the files needed - using a manifest file (installer/manifest) with the INSTALL_FILES - extension, and using the installer.configure extension to generate - the configuration needed in the system. - - This manifest, which is installing the installer script in - /usr/lib/installer/installer.py, in combination of adding - "init=/usr/lib/installer/installer.py" as KERNEL_ARGS in the system - makes the system run the installer.py script as init script. - - The installer.py script will read the information needed to - install the system (where is the root filesystem to install and - where to install it) from /etc/install.conf. - - This cluster also deploys a subsystem (a build-system in this case) - which is going to be the system that the installer system/script is - going to install. - -systems: -- morph: systems/installer-system-x86_64.morph - deploy: - installer: - type: extensions/rawdisk - location: installer-build-system-x86_64.img - KERNEL_ARGS: init=/usr/lib/baserock-installer/installer - DISK_SIZE: 6G - HOSTNAME: installer-x86_64 - INSTALLER_TARGET_STORAGE_DEVICE: /dev/sda - INSTALLER_ROOTFS_TO_INSTALL: /rootfs - INITRAMFS_PATH: boot/initramfs.gz - subsystems: - - morph: systems/initramfs-x86_64.morph - deploy: - installer-initramfs: - type: extensions/initramfs - location: boot/initramfs.gz - - morph: systems/build-system-x86_64.morph - deploy: - to-install: - type: extensions/sysroot - location: /rootfs - INITRAMFS_PATH: boot/initramfs.gz - subsystems: - - morph: systems/initramfs-x86_64.morph - deploy: - to-install-initramfs: - type: extensions/initramfs - location: boot/initramfs.gz diff --git a/clusters/installer-build-system-x86_64.morph.in b/clusters/installer-build-system-x86_64.morph.in new file mode 100644 index 00000000..d9a2a28b --- /dev/null +++ b/clusters/installer-build-system-x86_64.morph.in @@ -0,0 +1,52 @@ +name: installer-build-system-x86_64 +kind: cluster +description: | + This is a cluster morphology that can be used to deploy + installer systems. This is done by adding the files needed + using a manifest file (installer/manifest) with the INSTALL_FILES + extension, and using the installer.configure extension to generate + the configuration needed in the system. + + This manifest, which is installing the installer script in + /usr/lib/installer/installer.py, in combination of adding + "init=/usr/lib/installer/installer.py" as KERNEL_ARGS in the system + makes the system run the installer.py script as init script. + + The installer.py script will read the information needed to + install the system (where is the root filesystem to install and + where to install it) from /etc/install.conf. + + This cluster also deploys a subsystem (a build-system in this case) + which is going to be the system that the installer system/script is + going to install. + +systems: +- morph: systems/installer-system-x86_64.morph + deploy: + installer: + type: extensions/rawdisk + location: installer-build-system-x86_64.img + KERNEL_ARGS: init=/usr/lib/baserock-installer/installer + DISK_SIZE: 6G + HOSTNAME: installer-x86_64 + INSTALLER_TARGET_STORAGE_DEVICE: /dev/sda + INSTALLER_ROOTFS_TO_INSTALL: /rootfs + INITRAMFS_PATH: boot/initramfs.gz + subsystems: + - morph: systems/initramfs-x86_64.morph + deploy: + installer-initramfs: + type: extensions/initramfs + location: boot/initramfs.gz + - morph: systems/build-system-x86_64.morph + deploy: + to-install: + type: extensions/sysroot + location: /rootfs + INITRAMFS_PATH: boot/initramfs.gz + subsystems: + - morph: systems/initramfs-x86_64.morph + deploy: + to-install-initramfs: + type: extensions/initramfs + location: boot/initramfs.gz diff --git a/clusters/ivi-system-armv7lhf-jetson-deploy.morph b/clusters/ivi-system-armv7lhf-jetson-deploy.morph index fef89351..9e3e3cd6 100644 --- a/clusters/ivi-system-armv7lhf-jetson-deploy.morph +++ b/clusters/ivi-system-armv7lhf-jetson-deploy.morph @@ -1,8 +1,8 @@ name: ivi-system-armv7lhf-jetson-deploy kind: cluster -description: Deploy a IVI system. +description: Deploy a IVI system for an NVIDIA Jetson. systems: -- morph: systems/ivi-system-armv7lhf-jetson.morph +- morph: systems/ivi-system.armv7lhf-jetson.morph deploy: ivi-system-armv7lhf-jetson: type: extensions/rawdisk diff --git a/clusters/ivi-system-deploy.morph.in b/clusters/ivi-system-deploy.morph.in new file mode 100644 index 00000000..f5ed3340 --- /dev/null +++ b/clusters/ivi-system-deploy.morph.in @@ -0,0 +1,24 @@ +name: ivi-system-deploy +kind: cluster +description: | + Deploy a stock IVI system. + + The resulting image can be copied to a USB and booted from there, + as well as in a virtual machine. + +systems: +- morph: systems/ivi-system.{{CONFIG}}.morph + deploy: + ivi-system-x86_64: + type: extensions/rawdisk + location: /ivi-system.img + HOSTNAME: ivi-system + DISK_SIZE: 6G + KERNEL_ARGS: vga=788 + INITRAMFS_PATH: boot/initramfs.gz + subsystems: + - morph: systems/initramfs.morph + deploy: + initramfs: + type: initramfs + location: boot/initramfs.gz diff --git a/clusters/ivi-system-x86_64-deploy.morph b/clusters/ivi-system-x86_64-deploy.morph deleted file mode 100644 index 0833ec8c..00000000 --- a/clusters/ivi-system-x86_64-deploy.morph +++ /dev/null @@ -1,24 +0,0 @@ -name: ivi-system-x86_64-deploy -kind: cluster -description: | - Deploy a stock IVI system. - - The resulting image can be copied to a USB and booted from there, - as well as in a virtual machine. - -systems: -- morph: systems/ivi-system-x86_64.morph - deploy: - ivi-system-x86_64: - type: extensions/rawdisk - location: /ivi-system-x86_64.img - HOSTNAME: ivi-system-x86-64 - DISK_SIZE: 6G - KERNEL_ARGS: vga=788 - INITRAMFS_PATH: boot/initramfs.gz - subsystems: - - morph: systems/initramfs-x86_64.morph - deploy: - initramfs: - type: initramfs - location: boot/initramfs.gz diff --git a/clusters/jetson-upgrade.morph b/clusters/jetson-upgrade.morph deleted file mode 100644 index c8ac0681..00000000 --- a/clusters/jetson-upgrade.morph +++ /dev/null @@ -1,17 +0,0 @@ -name: jetson-upgrade -kind: cluster -systems: -- morph: systems/devel-system-armv7lhf-jetson.morph - deploy-defaults: - BOOT_DEVICE: /dev/mmcblk0p1 - ROOT_DEVICE: /dev/mmcblk0p2 - DTB_PATH: boot/tegra124-jetson-tk1.dtb - BOOTLOADER_CONFIG_FORMAT: extlinux - BOOTLOADER_INSTALL: none - KERNEL_ARGS: cma=256M console=tty0 console=ttyS0,115200n8 no_console_suspend=1 - nouveau.pstate=1 - FSTAB_SRC: LABEL=src /src auto defaults,rw,noatime,nofail 0 2 - deploy: - self: - upgrade-type: extensions/ssh-rsync - upgrade-location: root@127.0.0.1 diff --git a/clusters/jetson-upgrade.morph.in b/clusters/jetson-upgrade.morph.in new file mode 100644 index 00000000..c8ac0681 --- /dev/null +++ b/clusters/jetson-upgrade.morph.in @@ -0,0 +1,17 @@ +name: jetson-upgrade +kind: cluster +systems: +- morph: systems/devel-system-armv7lhf-jetson.morph + deploy-defaults: + BOOT_DEVICE: /dev/mmcblk0p1 + ROOT_DEVICE: /dev/mmcblk0p2 + DTB_PATH: boot/tegra124-jetson-tk1.dtb + BOOTLOADER_CONFIG_FORMAT: extlinux + BOOTLOADER_INSTALL: none + KERNEL_ARGS: cma=256M console=tty0 console=ttyS0,115200n8 no_console_suspend=1 + nouveau.pstate=1 + FSTAB_SRC: LABEL=src /src auto defaults,rw,noatime,nofail 0 2 + deploy: + self: + upgrade-type: extensions/ssh-rsync + upgrade-location: root@127.0.0.1 diff --git a/clusters/mason-openstack.morph b/clusters/mason-openstack.morph deleted file mode 100644 index cc7c1d4d..00000000 --- a/clusters/mason-openstack.morph +++ /dev/null @@ -1,39 +0,0 @@ -name: openstack-mason -kind: cluster -description: | - This is a template cluster morphology that can be adapted to set up a - Mason. Masons are composed of a trove and a distbuild system. -systems: -- morph: systems/build-system-x86_64.morph - deploy-defaults: - ARTIFACT_CACHE_SERVER: example-cache-server - CONTROLLERHOST: controller-hostname - DISTBUILD_CONTROLLER: true - DISTBUILD_WORKER: true - INSTALL_FILES: install-files/distbuild/manifest - RAM_SIZE: 8G - TROVE_HOST: your-upstream-trove - TROVE_ID: your-upstream-trove-prefix - VCPUS: 2 - WORKER_SSH_KEY: ssh-keys/worker.key - deploy: - mason-openstack: - type: extensions/openstack - location: openstack-auth-url (eg example.com:5000/v2.0) - DISK_SIZE: 6G - DISTBUILD_CONTROLLER: true - HOSTNAME: controller-hostname - MASON_CLUSTER_MORPHOLOGY: clusters/ci.morph - MASON_DEFINITIONS_REF: master - MASON_DISTBUILD_ARCH: x86_64 - MASON_TEST_HOST: user@openstack-auth-url - WORKERS: controller-hostname - OPENSTACK_AUTH_URL: openstack-auth-url - OPENSTACK_USER: baserock - OPENSTACK_TENANT: baserock - OPENSTACK_TENANT_ID: 7d7ebfe23367490b973a10fa426c3aec - OPENSTACK_IMAGENAME: mason-openstack - OPENSTACK_NETWORK_ID: 71f5151a-b7c3-405d-a841-d1b07e5db099 - CLOUD_INIT: true - KERNEL_ARGS: console=ttyS0 console=tty0 - TEST_INFRASTRUCTURE_TYPE: openstack diff --git a/clusters/mason-openstack.morph.in b/clusters/mason-openstack.morph.in new file mode 100644 index 00000000..cc7c1d4d --- /dev/null +++ b/clusters/mason-openstack.morph.in @@ -0,0 +1,39 @@ +name: openstack-mason +kind: cluster +description: | + This is a template cluster morphology that can be adapted to set up a + Mason. Masons are composed of a trove and a distbuild system. +systems: +- morph: systems/build-system-x86_64.morph + deploy-defaults: + ARTIFACT_CACHE_SERVER: example-cache-server + CONTROLLERHOST: controller-hostname + DISTBUILD_CONTROLLER: true + DISTBUILD_WORKER: true + INSTALL_FILES: install-files/distbuild/manifest + RAM_SIZE: 8G + TROVE_HOST: your-upstream-trove + TROVE_ID: your-upstream-trove-prefix + VCPUS: 2 + WORKER_SSH_KEY: ssh-keys/worker.key + deploy: + mason-openstack: + type: extensions/openstack + location: openstack-auth-url (eg example.com:5000/v2.0) + DISK_SIZE: 6G + DISTBUILD_CONTROLLER: true + HOSTNAME: controller-hostname + MASON_CLUSTER_MORPHOLOGY: clusters/ci.morph + MASON_DEFINITIONS_REF: master + MASON_DISTBUILD_ARCH: x86_64 + MASON_TEST_HOST: user@openstack-auth-url + WORKERS: controller-hostname + OPENSTACK_AUTH_URL: openstack-auth-url + OPENSTACK_USER: baserock + OPENSTACK_TENANT: baserock + OPENSTACK_TENANT_ID: 7d7ebfe23367490b973a10fa426c3aec + OPENSTACK_IMAGENAME: mason-openstack + OPENSTACK_NETWORK_ID: 71f5151a-b7c3-405d-a841-d1b07e5db099 + CLOUD_INIT: true + KERNEL_ARGS: console=ttyS0 console=tty0 + TEST_INFRASTRUCTURE_TYPE: openstack diff --git a/clusters/mason.morph b/clusters/mason.morph deleted file mode 100644 index 376cf337..00000000 --- a/clusters/mason.morph +++ /dev/null @@ -1,56 +0,0 @@ -name: example-mason-cluster -kind: cluster -description: | - This is a template cluster morphology that can be adapted to set up a - Mason. Masons are composed of a trove and a distbuild system. - - It is suggested that you use mason/mason-generator.sh to adapt this - template to suit your needs. It also handles the generation of - keys to let the systems communicate. -systems: -- morph: systems/trove-system-x86_64.morph - deploy: - red-box-v1-trove: - type: extensions/kvm - location: kvm+ssh://vm-user@vm-host/red-box-v1-trove/vm-path/red-box-v1-trove.img - AUTOSTART: true - DISK_SIZE: 20G - HOSTNAME: red-box-v1-trove - LORRY_SSH_KEY: ssh_keys/lorry.key - MASON_SSH_PUBKEY: ssh_keys/mason.key.pub - RAM_SIZE: 8G - TROVE_ADMIN_EMAIL: adminuser@example.com - TROVE_ADMIN_NAME: Nobody - TROVE_ADMIN_SSH_PUBKEY: ssh_keys/id_rsa.pub - TROVE_ADMIN_USER: adminuser - TROVE_COMPANY: Company name goes here - TROVE_HOST: red-box-v1 - TROVE_ID: red-box-v1-trove - UPSTREAM_TROVE: upstream-trove - VCPUS: 2 - VERSION_LABEL: 45 - WORKER_SSH_PUBKEY: ssh_keys/worker.key.pub -- morph: systems/build-system-x86_64.morph - deploy-defaults: - ARTIFACT_CACHE_SERVER: red-box-v1-trove.example.com - CONTROLLERHOST: red-box-v1-controller.example.com - DISTBUILD_CONTROLLER: false - DISTBUILD_WORKER: true - INSTALL_FILES: install-files/distbuild/manifest - RAM_SIZE: 8G - TROVE_HOST: upstream-trove - TROVE_ID: upstream-trove - VCPUS: 2 - WORKER_SSH_KEY: ssh_keys/worker.key - deploy: - red-box-v1-controller: - type: extensions/kvm - location: kvm+ssh://vm-user@vm-host/red-box-v1-controller/vm-path/red-box-v1-controller.img - DISK_SIZE: 60G - DISTBUILD_CONTROLLER: true - HOSTNAME: red-box-v1-controller - MASON_CLUSTER_MORPHOLOGY: clusters/ci.morph - MASON_DEFINITIONS_REF: master - MASON_DISTBUILD_ARCH: x86_64 - MASON_TEST_HOST: vm-user@vm-host:/vm-path/ - WORKERS: red-box-v1-controller diff --git a/clusters/mason.morph.in b/clusters/mason.morph.in new file mode 100644 index 00000000..376cf337 --- /dev/null +++ b/clusters/mason.morph.in @@ -0,0 +1,56 @@ +name: example-mason-cluster +kind: cluster +description: | + This is a template cluster morphology that can be adapted to set up a + Mason. Masons are composed of a trove and a distbuild system. + + It is suggested that you use mason/mason-generator.sh to adapt this + template to suit your needs. It also handles the generation of + keys to let the systems communicate. +systems: +- morph: systems/trove-system-x86_64.morph + deploy: + red-box-v1-trove: + type: extensions/kvm + location: kvm+ssh://vm-user@vm-host/red-box-v1-trove/vm-path/red-box-v1-trove.img + AUTOSTART: true + DISK_SIZE: 20G + HOSTNAME: red-box-v1-trove + LORRY_SSH_KEY: ssh_keys/lorry.key + MASON_SSH_PUBKEY: ssh_keys/mason.key.pub + RAM_SIZE: 8G + TROVE_ADMIN_EMAIL: adminuser@example.com + TROVE_ADMIN_NAME: Nobody + TROVE_ADMIN_SSH_PUBKEY: ssh_keys/id_rsa.pub + TROVE_ADMIN_USER: adminuser + TROVE_COMPANY: Company name goes here + TROVE_HOST: red-box-v1 + TROVE_ID: red-box-v1-trove + UPSTREAM_TROVE: upstream-trove + VCPUS: 2 + VERSION_LABEL: 45 + WORKER_SSH_PUBKEY: ssh_keys/worker.key.pub +- morph: systems/build-system-x86_64.morph + deploy-defaults: + ARTIFACT_CACHE_SERVER: red-box-v1-trove.example.com + CONTROLLERHOST: red-box-v1-controller.example.com + DISTBUILD_CONTROLLER: false + DISTBUILD_WORKER: true + INSTALL_FILES: install-files/distbuild/manifest + RAM_SIZE: 8G + TROVE_HOST: upstream-trove + TROVE_ID: upstream-trove + VCPUS: 2 + WORKER_SSH_KEY: ssh_keys/worker.key + deploy: + red-box-v1-controller: + type: extensions/kvm + location: kvm+ssh://vm-user@vm-host/red-box-v1-controller/vm-path/red-box-v1-controller.img + DISK_SIZE: 60G + DISTBUILD_CONTROLLER: true + HOSTNAME: red-box-v1-controller + MASON_CLUSTER_MORPHOLOGY: clusters/ci.morph + MASON_DEFINITIONS_REF: master + MASON_DISTBUILD_ARCH: x86_64 + MASON_TEST_HOST: vm-user@vm-host:/vm-path/ + WORKERS: red-box-v1-controller diff --git a/clusters/minimal-system-armv5l-openbmc-aspeed-deploy.morph b/clusters/minimal-system-armv5l-openbmc-aspeed-deploy.morph index 3154fa26..931b9b11 100644 --- a/clusters/minimal-system-armv5l-openbmc-aspeed-deploy.morph +++ b/clusters/minimal-system-armv5l-openbmc-aspeed-deploy.morph @@ -1,7 +1,7 @@ name: minimal-system-armv5l-openbmc-aspeed-deploy kind: cluster systems: -- morph: systems/minimal-system-armv5l-openbmc-aspeed.morph +- morph: systems/minimal-system.armv5l-openbmc-aspeed.morph deploy: minimal-system-armv5l-openbmc-aspeed: type: extensions/jffs2 diff --git a/clusters/minimal-system-deploy.morph b/clusters/minimal-system-deploy.morph deleted file mode 100644 index cf8de54f..00000000 --- a/clusters/minimal-system-deploy.morph +++ /dev/null @@ -1,14 +0,0 @@ -name: minimal-system-deploy -kind: cluster -description: | - Deploy a minimal system to a system running KVM -systems: -- morph: systems/minimal-system-x86_32-generic.morph - deploy: - vm: - type: extensions/kvm - location: kvm+ssh://192.168.122.1/tiny-x86_32/srv/VMs/tiny-x86_32.img - DISK_SIZE: 512M - HOSTNAME: tiny-x86_32 - INIT_SYSTEM: busybox - RAM_SIZE: 512M diff --git a/clusters/minimal-system-deploy.morph.in b/clusters/minimal-system-deploy.morph.in new file mode 100644 index 00000000..cf8de54f --- /dev/null +++ b/clusters/minimal-system-deploy.morph.in @@ -0,0 +1,14 @@ +name: minimal-system-deploy +kind: cluster +description: | + Deploy a minimal system to a system running KVM +systems: +- morph: systems/minimal-system-x86_32-generic.morph + deploy: + vm: + type: extensions/kvm + location: kvm+ssh://192.168.122.1/tiny-x86_32/srv/VMs/tiny-x86_32.img + DISK_SIZE: 512M + HOSTNAME: tiny-x86_32 + INIT_SYSTEM: busybox + RAM_SIZE: 512M diff --git a/clusters/moonshot-m2-armv8b64.morph b/clusters/moonshot-m2-armv8b64.morph index caa460c3..d14b4435 100644 --- a/clusters/moonshot-m2-armv8b64.morph +++ b/clusters/moonshot-m2-armv8b64.morph @@ -5,7 +5,7 @@ description: | Moonshot node, using a combination of the pxeboot.write extension and the installer system. systems: -- morph: systems/installer-system-armv8b64.morph +- morph: systems/installer-system.armv8b64.morph deploy: installer: type: extensions/pxeboot @@ -41,7 +41,7 @@ systems: INSTALL_FILES: install-files/moonshot/manifest MOONSHOT_KERNEL: true subsystems: - - morph: systems/devel-system-armv8b64.morph + - morph: systems/devel-system.armv8b64.morph deploy: to-install: type: extensions/sysroot diff --git a/clusters/moonshot-pxe-armv8b64.morph b/clusters/moonshot-pxe-armv8b64.morph index af59817a..2b723b11 100644 --- a/clusters/moonshot-pxe-armv8b64.morph +++ b/clusters/moonshot-pxe-armv8b64.morph @@ -6,7 +6,7 @@ description: | The system will be configured to boot through PXE from existing DHCP, TFTP and NFS servers. systems: -- morph: systems/devel-system-armv8b64.morph +- morph: systems/devel-system.armv8b64.morph deploy: netboot: type: extensions/pxeboot diff --git a/clusters/moonshot-pxe-armv8l64.morph b/clusters/moonshot-pxe-armv8l64.morph index 80771d52..def8a0bd 100644 --- a/clusters/moonshot-pxe-armv8l64.morph +++ b/clusters/moonshot-pxe-armv8l64.morph @@ -6,7 +6,7 @@ description: | The system will be configured to boot through PXE from existing DHCP, TFTP and NFS servers. systems: -- morph: systems/devel-system-armv8l64.morph +- morph: systems/devel-system.armv8l64.morph deploy: netboot: type: extensions/pxeboot diff --git a/clusters/openstack-one-node-swift.morph b/clusters/openstack-one-node-swift.morph deleted file mode 100644 index fc289538..00000000 --- a/clusters/openstack-one-node-swift.morph +++ /dev/null @@ -1,142 +0,0 @@ -name: openstack-one-node-swift -kind: cluster -description: | - This is a cluster morphology for deploying a x86_64 OpenStack system - all-in-one-node. - - Requirements to be able to run and test the system: - - - DISK_SIZE should be bigger than 5G - - The system has to have available at least 4G of RAM, but once - you start instantiating VMs you will need more. - - The IP of the system can't change, and you need to know it beforehand, - that is, the system needs a static IP address. - - This cluster is configurable, but with the following constraints: - - - The hostname in RABBITMQ_HOST has to match CONTROLLER_HOST_ADDRESS, - and HOST_CONTROLLER. - - HOSTS_CONTROLLER is only needed if the hostname (see previous point) - is not a FQDN. - - The IP listed in MANAGEMENT_INTERFACE_IP_ADDRESS has to match the one - used in HOSTS_CONTROLLER. - - CINDER_DEVICE should be a path to a storage device ready to be - used/formated for cinder data. - - EXTERNAL_INTERFACE is required when the system has more than one network - interface. - - You can also have a look at the following suggestions: - - - NOVA_VIRT_TYPE can be either 'kvm' or 'qemu', depending on where the - system is being deployed to. - - We recommend changing all the PASSWORDs variables, also the - KEYSTONE_TEMPORARY_ADMIN_TOKEN, METADATA_PROXY_SHARED_SECRET and - METERING_SECRET - - Setting NOVA_BAREMETAL_SCHEDULING with an YAML truth value will configure - Nova to schedule baremetal machines through the Ironic driver, instead of - sheduling virtual machines. - -systems: -- morph: systems/openstack-system-x86_64.morph - deploy: - release: - type: extensions/rawdisk - location: baserock-openstack-system-x86_64.img - DISK_SIZE: 10G - INSTALL_FILES: install-files/openstack/manifest install-files/swift/manifest - - HOSTNAME: onenode - - ######################################################################### - ## Swift config options - ######################################################################### - - SWIFT_CONTROLLER: true - - SWIFT_ADMIN_PASSWORD: insecure - - SWIFT_PART_POWER: 10 - SWIFT_REPLICAS: 3 - SWIFT_MIN_PART_HOURS: 1 - - SWIFT_STORAGE_DEVICES: - - {ip: , device: sdb, weight: 100} - - {ip: , device: sdc, weight: 100} - - {ip: , device: sdd, weight: 100} - - {ip: , device: sdb, weight: 100} - - {ip: , device: sdc, weight: 100} - - {ip: , device: sdd, weight: 100} - - # This value can be any random string or number - # but each node in your swift cluster must have the same values - SWIFT_REBALANCE_SEED: 3828 - - # NOTE: Replace SWIFT_HASH_PATH_PREFIX and SWIFT_HASH_PATH_SUFFIX - # with your own unique values, - # - # `openssl rand -hex 10' can be used to generate unique values - # - # These values should be kept secret, do not lose them. - # - SWIFT_HASH_PATH_PREFIX: 041fc210e4e1d333ce1d - SWIFT_HASH_PATH_SUFFIX: 4d6f5362a356dda7fb7d - - ######################################################################### - - RABBITMQ_HOST: onenode - RABBITMQ_PORT: 5672 - RABBITMQ_USER: rabbitmq - RABBITMQ_PASSWORD: veryinsecure - - CONTROLLER_HOST_ADDRESS: onenode - MANAGEMENT_INTERFACE_IP_ADDRESS: - - KEYSTONE_ENABLE_SERVICE: true - KEYSTONE_TEMPORARY_ADMIN_TOKEN: 22f3aa1cf538e3f6d5e8 - KEYSTONE_ADMIN_PASSWORD: veryinsecure - KEYSTONE_DB_USER: keystoneDB - KEYSTONE_DB_PASSWORD: veryinsecure - - GLANCE_ENABLE_SERVICE: true - GLANCE_SERVICE_USER: glance - GLANCE_SERVICE_PASSWORD: veryinsecure - GLANCE_DB_USER: glanceDB - GLANCE_DB_PASSWORD: veryinsecure - - NOVA_SERVICE_USER: nova - NOVA_SERVICE_PASSWORD: veryinsecure - NOVA_DB_USER: novaDB - NOVA_DB_PASSWORD: veryinsecure - NOVA_VIRT_TYPE: qemu - NOVA_BAREMETAL_SCHEDULING: false - - CINDER_SERVICE_USER: cinder - CINDER_SERVICE_PASSWORD: veryinsecure - CINDER_DB_USER: cinderDB - CINDER_DB_PASSWORD: veryinsecure - # Storage device to be used by Cinder - CINDER_DEVICE: /dev/sdb - - NEUTRON_SERVICE_USER: neutron - NEUTRON_SERVICE_PASSWORD: veryinsecure - NEUTRON_DB_USER: neutronDB - NEUTRON_DB_PASSWORD: veryinsecure - METADATA_PROXY_SHARED_SECRET: novaneutronmetasecret - - IRONIC_ENABLE_SERVICE: true - IRONIC_SERVICE_USER: ironic - IRONIC_SERVICE_PASSWORD: veryinsecure - IRONIC_DB_USER: ironicDB - IRONIC_DB_PASSWORD: veryinsecure - - CEILOMETER_SERVICE_USER: ceilometer - CEILOMETER_SERVICE_PASSWORD: veryinsecure - CEILOMETER_DB_USER: ceilometerDB - CEILOMETER_DB_PASSWORD: veryinsecure - METERING_SECRET: insecureceilometersecret - - HOSTS_CONTROLLER: onenode - - # Network interface to be used, only needed if there are more - # than one available. - # EXTERNAL_INTERFACE: eno1 diff --git a/clusters/openstack-one-node-swift.morph.in b/clusters/openstack-one-node-swift.morph.in new file mode 100644 index 00000000..fc289538 --- /dev/null +++ b/clusters/openstack-one-node-swift.morph.in @@ -0,0 +1,142 @@ +name: openstack-one-node-swift +kind: cluster +description: | + This is a cluster morphology for deploying a x86_64 OpenStack system + all-in-one-node. + + Requirements to be able to run and test the system: + + - DISK_SIZE should be bigger than 5G + - The system has to have available at least 4G of RAM, but once + you start instantiating VMs you will need more. + - The IP of the system can't change, and you need to know it beforehand, + that is, the system needs a static IP address. + + This cluster is configurable, but with the following constraints: + + - The hostname in RABBITMQ_HOST has to match CONTROLLER_HOST_ADDRESS, + and HOST_CONTROLLER. + - HOSTS_CONTROLLER is only needed if the hostname (see previous point) + is not a FQDN. + - The IP listed in MANAGEMENT_INTERFACE_IP_ADDRESS has to match the one + used in HOSTS_CONTROLLER. + - CINDER_DEVICE should be a path to a storage device ready to be + used/formated for cinder data. + - EXTERNAL_INTERFACE is required when the system has more than one network + interface. + + You can also have a look at the following suggestions: + + - NOVA_VIRT_TYPE can be either 'kvm' or 'qemu', depending on where the + system is being deployed to. + - We recommend changing all the PASSWORDs variables, also the + KEYSTONE_TEMPORARY_ADMIN_TOKEN, METADATA_PROXY_SHARED_SECRET and + METERING_SECRET + - Setting NOVA_BAREMETAL_SCHEDULING with an YAML truth value will configure + Nova to schedule baremetal machines through the Ironic driver, instead of + sheduling virtual machines. + +systems: +- morph: systems/openstack-system-x86_64.morph + deploy: + release: + type: extensions/rawdisk + location: baserock-openstack-system-x86_64.img + DISK_SIZE: 10G + INSTALL_FILES: install-files/openstack/manifest install-files/swift/manifest + + HOSTNAME: onenode + + ######################################################################### + ## Swift config options + ######################################################################### + + SWIFT_CONTROLLER: true + + SWIFT_ADMIN_PASSWORD: insecure + + SWIFT_PART_POWER: 10 + SWIFT_REPLICAS: 3 + SWIFT_MIN_PART_HOURS: 1 + + SWIFT_STORAGE_DEVICES: + - {ip: , device: sdb, weight: 100} + - {ip: , device: sdc, weight: 100} + - {ip: , device: sdd, weight: 100} + - {ip: , device: sdb, weight: 100} + - {ip: , device: sdc, weight: 100} + - {ip: , device: sdd, weight: 100} + + # This value can be any random string or number + # but each node in your swift cluster must have the same values + SWIFT_REBALANCE_SEED: 3828 + + # NOTE: Replace SWIFT_HASH_PATH_PREFIX and SWIFT_HASH_PATH_SUFFIX + # with your own unique values, + # + # `openssl rand -hex 10' can be used to generate unique values + # + # These values should be kept secret, do not lose them. + # + SWIFT_HASH_PATH_PREFIX: 041fc210e4e1d333ce1d + SWIFT_HASH_PATH_SUFFIX: 4d6f5362a356dda7fb7d + + ######################################################################### + + RABBITMQ_HOST: onenode + RABBITMQ_PORT: 5672 + RABBITMQ_USER: rabbitmq + RABBITMQ_PASSWORD: veryinsecure + + CONTROLLER_HOST_ADDRESS: onenode + MANAGEMENT_INTERFACE_IP_ADDRESS: + + KEYSTONE_ENABLE_SERVICE: true + KEYSTONE_TEMPORARY_ADMIN_TOKEN: 22f3aa1cf538e3f6d5e8 + KEYSTONE_ADMIN_PASSWORD: veryinsecure + KEYSTONE_DB_USER: keystoneDB + KEYSTONE_DB_PASSWORD: veryinsecure + + GLANCE_ENABLE_SERVICE: true + GLANCE_SERVICE_USER: glance + GLANCE_SERVICE_PASSWORD: veryinsecure + GLANCE_DB_USER: glanceDB + GLANCE_DB_PASSWORD: veryinsecure + + NOVA_SERVICE_USER: nova + NOVA_SERVICE_PASSWORD: veryinsecure + NOVA_DB_USER: novaDB + NOVA_DB_PASSWORD: veryinsecure + NOVA_VIRT_TYPE: qemu + NOVA_BAREMETAL_SCHEDULING: false + + CINDER_SERVICE_USER: cinder + CINDER_SERVICE_PASSWORD: veryinsecure + CINDER_DB_USER: cinderDB + CINDER_DB_PASSWORD: veryinsecure + # Storage device to be used by Cinder + CINDER_DEVICE: /dev/sdb + + NEUTRON_SERVICE_USER: neutron + NEUTRON_SERVICE_PASSWORD: veryinsecure + NEUTRON_DB_USER: neutronDB + NEUTRON_DB_PASSWORD: veryinsecure + METADATA_PROXY_SHARED_SECRET: novaneutronmetasecret + + IRONIC_ENABLE_SERVICE: true + IRONIC_SERVICE_USER: ironic + IRONIC_SERVICE_PASSWORD: veryinsecure + IRONIC_DB_USER: ironicDB + IRONIC_DB_PASSWORD: veryinsecure + + CEILOMETER_SERVICE_USER: ceilometer + CEILOMETER_SERVICE_PASSWORD: veryinsecure + CEILOMETER_DB_USER: ceilometerDB + CEILOMETER_DB_PASSWORD: veryinsecure + METERING_SECRET: insecureceilometersecret + + HOSTS_CONTROLLER: onenode + + # Network interface to be used, only needed if there are more + # than one available. + # EXTERNAL_INTERFACE: eno1 diff --git a/clusters/openstack-one-node.morph b/clusters/openstack-one-node.morph deleted file mode 100644 index 12985463..00000000 --- a/clusters/openstack-one-node.morph +++ /dev/null @@ -1,104 +0,0 @@ -name: openstack-one-node -kind: cluster -description: | - This is a cluster morphology for deploying a x86_64 OpenStack system - all-in-one-node. - - Requirements to be able to run and test the system: - - - DISK_SIZE should be bigger than 5G - - The system has to have available at least 4G of RAM, but once - you start instantiating VMs you will need more. - - The IP of the system can't change, and you need to know it beforehand, - that is, the system needs a static IP address. - - This cluster is configurable, but with the following constraints: - - - The hostname in RABBITMQ_HOST has to match CONTROLLER_HOST_ADDRESS, - and HOST_CONTROLLER. - - HOSTS_CONTROLLER is only needed if the hostname (see previous point) - is not a FQDN. - - The IP listed in MANAGEMENT_INTERFACE_IP_ADDRESS has to match the one - used in HOSTS_CONTROLLER. - - CINDER_DEVICE should be a path to a storage device ready to be - used/formated for cinder data. - - EXTERNAL_INTERFACE is required when the system has more than one network - interface. - - You can also have a look at the following suggestions: - - - NOVA_VIRT_TYPE can be either 'kvm' or 'qemu', depending on where the - system is being deployed to. - - We recommend changing all the PASSWORDs variables, also the - KEYSTONE_TEMPORARY_ADMIN_TOKEN, METADATA_PROXY_SHARED_SECRET and - METERING_SECRET - - Setting NOVA_BAREMETAL_SCHEDULING with an YAML truth value will configure - Nova to schedule baremetal machines through the Ironic driver, instead of - sheduling virtual machines. - -systems: -- morph: systems/openstack-system-x86_64.morph - deploy: - release: - type: extensions/rawdisk - location: baserock-openstack-system-x86_64.img - DISK_SIZE: 10G - INSTALL_FILES: install-files/openstack/manifest - - HOSTNAME: onenode - - RABBITMQ_HOST: onenode - RABBITMQ_PORT: 5672 - RABBITMQ_USER: rabbitmq - RABBITMQ_PASSWORD: veryinsecure - - CONTROLLER_HOST_ADDRESS: onenode - MANAGEMENT_INTERFACE_IP_ADDRESS: - - KEYSTONE_ENABLE_SERVICE: true - KEYSTONE_TEMPORARY_ADMIN_TOKEN: 22f3aa1cf538e3f6d5e8 - KEYSTONE_ADMIN_PASSWORD: veryinsecure - KEYSTONE_DB_USER: keystoneDB - KEYSTONE_DB_PASSWORD: veryinsecure - - GLANCE_ENABLE_SERVICE: true - GLANCE_SERVICE_USER: glance - GLANCE_SERVICE_PASSWORD: veryinsecure - GLANCE_DB_USER: glanceDB - GLANCE_DB_PASSWORD: veryinsecure - - NOVA_SERVICE_USER: nova - NOVA_SERVICE_PASSWORD: veryinsecure - NOVA_DB_USER: novaDB - NOVA_DB_PASSWORD: veryinsecure - NOVA_VIRT_TYPE: qemu - NOVA_BAREMETAL_SCHEDULING: false - - CINDER_SERVICE_USER: cinder - CINDER_SERVICE_PASSWORD: veryinsecure - CINDER_DB_USER: cinderDB - CINDER_DB_PASSWORD: veryinsecure - # Storage device to be used by Cinder - CINDER_DEVICE: /dev/sdb - - NEUTRON_SERVICE_USER: neutron - NEUTRON_SERVICE_PASSWORD: veryinsecure - NEUTRON_DB_USER: neutronDB - NEUTRON_DB_PASSWORD: veryinsecure - METADATA_PROXY_SHARED_SECRET: novaneutronmetasecret - - IRONIC_ENABLE_SERVICE: true - IRONIC_SERVICE_USER: ironic - IRONIC_SERVICE_PASSWORD: veryinsecure - IRONIC_DB_USER: ironicDB - IRONIC_DB_PASSWORD: veryinsecure - - CEILOMETER_SERVICE_USER: ceilometer - CEILOMETER_SERVICE_PASSWORD: veryinsecure - CEILOMETER_DB_USER: ceilometerDB - CEILOMETER_DB_PASSWORD: veryinsecure - METERING_SECRET: insecureceilometersecret - - # Network interface to be used, only needed if there are more - # than one available. - # EXTERNAL_INTERFACE: eno1 diff --git a/clusters/openstack-one-node.morph.in b/clusters/openstack-one-node.morph.in new file mode 100644 index 00000000..12985463 --- /dev/null +++ b/clusters/openstack-one-node.morph.in @@ -0,0 +1,104 @@ +name: openstack-one-node +kind: cluster +description: | + This is a cluster morphology for deploying a x86_64 OpenStack system + all-in-one-node. + + Requirements to be able to run and test the system: + + - DISK_SIZE should be bigger than 5G + - The system has to have available at least 4G of RAM, but once + you start instantiating VMs you will need more. + - The IP of the system can't change, and you need to know it beforehand, + that is, the system needs a static IP address. + + This cluster is configurable, but with the following constraints: + + - The hostname in RABBITMQ_HOST has to match CONTROLLER_HOST_ADDRESS, + and HOST_CONTROLLER. + - HOSTS_CONTROLLER is only needed if the hostname (see previous point) + is not a FQDN. + - The IP listed in MANAGEMENT_INTERFACE_IP_ADDRESS has to match the one + used in HOSTS_CONTROLLER. + - CINDER_DEVICE should be a path to a storage device ready to be + used/formated for cinder data. + - EXTERNAL_INTERFACE is required when the system has more than one network + interface. + + You can also have a look at the following suggestions: + + - NOVA_VIRT_TYPE can be either 'kvm' or 'qemu', depending on where the + system is being deployed to. + - We recommend changing all the PASSWORDs variables, also the + KEYSTONE_TEMPORARY_ADMIN_TOKEN, METADATA_PROXY_SHARED_SECRET and + METERING_SECRET + - Setting NOVA_BAREMETAL_SCHEDULING with an YAML truth value will configure + Nova to schedule baremetal machines through the Ironic driver, instead of + sheduling virtual machines. + +systems: +- morph: systems/openstack-system-x86_64.morph + deploy: + release: + type: extensions/rawdisk + location: baserock-openstack-system-x86_64.img + DISK_SIZE: 10G + INSTALL_FILES: install-files/openstack/manifest + + HOSTNAME: onenode + + RABBITMQ_HOST: onenode + RABBITMQ_PORT: 5672 + RABBITMQ_USER: rabbitmq + RABBITMQ_PASSWORD: veryinsecure + + CONTROLLER_HOST_ADDRESS: onenode + MANAGEMENT_INTERFACE_IP_ADDRESS: + + KEYSTONE_ENABLE_SERVICE: true + KEYSTONE_TEMPORARY_ADMIN_TOKEN: 22f3aa1cf538e3f6d5e8 + KEYSTONE_ADMIN_PASSWORD: veryinsecure + KEYSTONE_DB_USER: keystoneDB + KEYSTONE_DB_PASSWORD: veryinsecure + + GLANCE_ENABLE_SERVICE: true + GLANCE_SERVICE_USER: glance + GLANCE_SERVICE_PASSWORD: veryinsecure + GLANCE_DB_USER: glanceDB + GLANCE_DB_PASSWORD: veryinsecure + + NOVA_SERVICE_USER: nova + NOVA_SERVICE_PASSWORD: veryinsecure + NOVA_DB_USER: novaDB + NOVA_DB_PASSWORD: veryinsecure + NOVA_VIRT_TYPE: qemu + NOVA_BAREMETAL_SCHEDULING: false + + CINDER_SERVICE_USER: cinder + CINDER_SERVICE_PASSWORD: veryinsecure + CINDER_DB_USER: cinderDB + CINDER_DB_PASSWORD: veryinsecure + # Storage device to be used by Cinder + CINDER_DEVICE: /dev/sdb + + NEUTRON_SERVICE_USER: neutron + NEUTRON_SERVICE_PASSWORD: veryinsecure + NEUTRON_DB_USER: neutronDB + NEUTRON_DB_PASSWORD: veryinsecure + METADATA_PROXY_SHARED_SECRET: novaneutronmetasecret + + IRONIC_ENABLE_SERVICE: true + IRONIC_SERVICE_USER: ironic + IRONIC_SERVICE_PASSWORD: veryinsecure + IRONIC_DB_USER: ironicDB + IRONIC_DB_PASSWORD: veryinsecure + + CEILOMETER_SERVICE_USER: ceilometer + CEILOMETER_SERVICE_PASSWORD: veryinsecure + CEILOMETER_DB_USER: ceilometerDB + CEILOMETER_DB_PASSWORD: veryinsecure + METERING_SECRET: insecureceilometersecret + + # Network interface to be used, only needed if there are more + # than one available. + # EXTERNAL_INTERFACE: eno1 diff --git a/clusters/openstack-three-node-installer.morph b/clusters/openstack-three-node-installer.morph deleted file mode 100644 index 144f29f2..00000000 --- a/clusters/openstack-three-node-installer.morph +++ /dev/null @@ -1,238 +0,0 @@ -name: openstack-three-node-installer -kind: cluster -description: | - This is a cluster morphology for deploying an installer for an x86_64 - OpenStack system spread across three nodes. - - This cluster creates disk images that may be `dd`'d onto install media to - produce an OpenStack cluster when instantiated. - - Alternatively it may be used to install directly onto a physical disk by - running: - - morph deploy clusters/openstack-three-node-installer.morph \ - network-installer network-installer.location=/dev/vdb - - Substituting network-installer for either compute-installer or - controller-installer will produce different configurations, and it is possible - to substitue /dev/vdb for a different path to a disk image to install to a - different disk image. - - Substitute the values of HOSTNAME, NETWORK_CONFIG, EXTERNAL_INTERFACE, - MANAGEMENT_IP_ADDRESS, CONTROLLER_HOST_ADDRESS, RABBITMQ_HOST and HOSTS_* to - match your hardware and networking configuration. - - Requirements to be able to run and test the system: - - - DISK_SIZE should be bigger than 5G - - The system has to have available at least 4G of RAM, but once - you start instantiating VMs you will need more. - - The IP of the system can't change, and you need to know it beforehand, - that is, the system needs a static IP address. - - This cluster is configurable, but with the following constraints: - - - The hostname in RABBITMQ_HOST has to match CONTROLLER_HOST_ADDRESS, - and HOST_CONTROLLER. - - HOSTS_CONTROLLER is only needed if the hostname (see previous point) - is not a FQDN. - - The IP listed in MANAGEMENT_INTERFACE_IP_ADDRESS has to match the one - used in HOSTS_CONTROLLER. - - CINDER_DEVICE should be a path to a storage device ready to be - used/formated for cinder data. - - EXTERNAL_INTERFACE is required when the system has more than one network - interface. - - You can also have a look at the following suggestions: - - - NOVA_VIRT_TYPE can be either 'kvm' or 'qemu', depending on where the - system is being deployed to. - - We recommend changing all the PASSWORDs variables, also the - KEYSTONE_TEMPORARY_ADMIN_TOKEN, METADATA_PROXY_SHARED_SECRET and - METERING_SECRET. - - Setting NOVA_BAREMETAL_SCHEDULING with an YAML truth value will configure - Nova to schedule baremetal machines through the Ironic driver, instead of - sheduling virtual machines. - -systems: -- morph: systems/installer-system-x86_64.morph - deploy: - network-installer: &installer - type: extensions/rawdisk - location: installer-openstack-network-x86_64.img - KERNEL_ARGS: init=/usr/lib/baserock-installer/installer - DISK_SIZE: 6G - HOSTNAME: installer-x86_64 - INSTALLER_TARGET_STORAGE_DEVICE: /dev/sda - INSTALLER_ROOTFS_TO_INSTALL: /rootfs - INSTALLER_POST_INSTALL_COMMAND: sync; poweroff -f - INITRAMFS_PATH: boot/initramfs.gz - subsystems: - - morph: systems/initramfs-x86_64.morph - deploy: - network-initramfs: &initramfs - type: extensions/initramfs - location: boot/initramfs.gz - - morph: systems/openstack-system-x86_64.morph - deploy: - network-to-install: &stack-node - type: extensions/sysroot - location: rootfs - INSTALL_FILES: install-files/openstack/manifest - INITRAMFS_PATH: boot/initramfs.gz - - HOSTNAME: threenode-network - - RABBITMQ_HOST: threenode-controller.os-mgmt - RABBITMQ_PORT: 5672 - RABBITMQ_USER: rabbitmq - RABBITMQ_PASSWORD: veryinsecure - - # This token needs to be unique and secret - KEYSTONE_ENABLE_SERVICE: false - KEYSTONE_TEMPORARY_ADMIN_TOKEN: 22f3aa1cf538e3f6d5e8 - KEYSTONE_ADMIN_PASSWORD: veryinsecure - KEYSTONE_DB_USER: keystoneDB - KEYSTONE_DB_PASSWORD: veryinsecure - - GLANCE_ENABLE_SERVICE: false - GLANCE_SERVICE_USER: glance - GLANCE_SERVICE_PASSWORD: veryinsecure - GLANCE_DB_USER: glanceDB - GLANCE_DB_PASSWORD: veryinsecure - - NOVA_ENABLE_CONTROLLER: false - NOVA_ENABLE_COMPUTE: false - NOVA_SERVICE_USER: nova - NOVA_SERVICE_PASSWORD: veryinsecure - NOVA_DB_USER: novaDB - NOVA_DB_PASSWORD: veryinsecure - NOVA_VIRT_TYPE: kvm - NOVA_BAREMETAL_SCHEDULING: false - - CINDER_ENABLE_CONTROLLER: false - CINDER_ENABLE_COMPUTE: false - CINDER_ENABLE_STORAGE: false - CINDER_SERVICE_USER: cinder - CINDER_SERVICE_PASSWORD: veryinsecure - CINDER_DB_USER: cinderDB - CINDER_DB_PASSWORD: veryinsecure - # Storage device to be used by Cinder - CINDER_DEVICE: /dev/sdb - - NEUTRON_ENABLE_AGENT: false - NEUTRON_ENABLE_MANAGER: true - NEUTRON_ENABLE_CONTROLLER: false - NEUTRON_SERVICE_USER: neutron - NEUTRON_SERVICE_PASSWORD: veryinsecure - NEUTRON_DB_USER: neutronDB - NEUTRON_DB_PASSWORD: veryinsecure - METADATA_PROXY_SHARED_SECRET: novaneutronmetasecret - - IRONIC_ENABLE_SERVICE: false - IRONIC_SERVICE_USER: ironic - IRONIC_SERVICE_PASSWORD: veryinsecure - IRONIC_DB_USER: ironicDB - IRONIC_DB_PASSWORD: veryinsecure - - CEILOMETER_SERVICE_USER: ceilometer - CEILOMETER_SERVICE_PASSWORD: veryinsecure - CEILOMETER_DB_USER: ceilometerDB - CEILOMETER_DB_PASSWORD: veryinsecure - CEILOMETER_ENABLE_CONTROLLER: false - CEILOMETER_ENABLE_COMPUTE: false - METERING_SECRET: insecureceilometersecret - - CONTROLLER_HOST_ADDRESS: threenode-controller.os-mgmt - MANAGEMENT_INTERFACE_IP_ADDRESS: 10.0.0.1 - - HOSTS_NETWORK: 10.0.0.1 threenode-network.os-mgmt - HOSTS_CONTROL: 10.0.0.2 threenode-controller.os-mgmt - HOSTS_COMPUTE: 10.0.0.3 threenode-compute.os-mgmt - - EXTERNAL_INTERFACE: enp3s0 - NETWORK_CONFIG: enp3s0:dhcp;enp2s0:static,address=10.0.0.1,netmask=255.255.255.0 - SYNC_TIME_WITH_CONTROLLER: true - subsystems: - - morph: systems/initramfs-x86_64.morph - deploy: - network-to-install-initramfs: *initramfs -- morph: systems/installer-system-x86_64.morph - deploy: - controller-installer: - <<: *installer - location: installer-openstack-controller-x86_64.img - subsystems: - - morph: systems/initramfs-x86_64.morph - deploy: - controller-initramfs: *initramfs - - morph: systems/openstack-system-x86_64.morph - deploy: - controller-to-install: - <<: *stack-node - HOSTNAME: threenode-controller - - KEYSTONE_ENABLE_SERVICE: true - - GLANCE_ENABLE_SERVICE: true - - NOVA_ENABLE_CONTROLLER: true - - CINDER_ENABLE_CONTROLLER: true - CINDER_ENABLE_COMPUTE: false - CINDER_ENABLE_STORAGE: false - - NEUTRON_ENABLE_AGENT: false - NEUTRON_ENABLE_MANAGER: false - NEUTRON_ENABLE_CONTROLLER: true - METADATA_PROXY_SHARED_SECRET: novaneutronmetasecret - - IRONIC_ENABLE_SERVICE: true - - CEILOMETER_ENABLE_CONTROLLER: true - CEILOMETER_ENABLE_COMPUTE: false - - MANAGEMENT_INTERFACE_IP_ADDRESS: 10.0.0.2 - EXTERNAL_INTERFACE: enp2s0 - NETWORK_CONFIG: enp2s0:dhcp;enp0s26u1u2:static,address=10.0.0.2,netmask=255.255.255.0 - SYNC_TIME_WITH_CONTROLLER: false - subsystems: - - morph: systems/initramfs-x86_64.morph - deploy: - controller-to-install-initramfs: *initramfs -- morph: systems/installer-system-x86_64.morph - deploy: - compute-installer: - <<: *installer - location: installer-openstack-compute-x86_64.img - subsystems: - - morph: systems/initramfs-x86_64.morph - deploy: - compute-initramfs: *initramfs - - morph: systems/openstack-system-x86_64.morph - deploy: - compute-to-install: - <<: *stack-node - HOSTNAME: threenode-compute - - NOVA_ENABLE_COMPUTE: true - - CINDER_ENABLE_CONTROLLER: false - CINDER_ENABLE_COMPUTE: true - CINDER_ENABLE_STORAGE: true - - NEUTRON_ENABLE_AGENT: true - NEUTRON_ENABLE_MANAGER: false - NEUTRON_ENABLE_CONTROLLER: false - - CEILOMETER_ENABLE_CONTROLLER: false - CEILOMETER_ENABLE_COMPUTE: true - - MANAGEMENT_INTERFACE_IP_ADDRESS: 10.0.0.3 - EXTERNAL_INTERFACE: eno1 - NETWORK_CONFIG: eno1:dhcp;enp0s29u1u3:static,address=10.0.0.3,netmask=255.255.255.0 - SYNC_TIME_WITH_CONTROLLER: true - subsystems: - - morph: systems/initramfs-x86_64.morph - deploy: - compute-to-install-initramfs: *initramfs diff --git a/clusters/openstack-three-node-installer.morph.in b/clusters/openstack-three-node-installer.morph.in new file mode 100644 index 00000000..144f29f2 --- /dev/null +++ b/clusters/openstack-three-node-installer.morph.in @@ -0,0 +1,238 @@ +name: openstack-three-node-installer +kind: cluster +description: | + This is a cluster morphology for deploying an installer for an x86_64 + OpenStack system spread across three nodes. + + This cluster creates disk images that may be `dd`'d onto install media to + produce an OpenStack cluster when instantiated. + + Alternatively it may be used to install directly onto a physical disk by + running: + + morph deploy clusters/openstack-three-node-installer.morph \ + network-installer network-installer.location=/dev/vdb + + Substituting network-installer for either compute-installer or + controller-installer will produce different configurations, and it is possible + to substitue /dev/vdb for a different path to a disk image to install to a + different disk image. + + Substitute the values of HOSTNAME, NETWORK_CONFIG, EXTERNAL_INTERFACE, + MANAGEMENT_IP_ADDRESS, CONTROLLER_HOST_ADDRESS, RABBITMQ_HOST and HOSTS_* to + match your hardware and networking configuration. + + Requirements to be able to run and test the system: + + - DISK_SIZE should be bigger than 5G + - The system has to have available at least 4G of RAM, but once + you start instantiating VMs you will need more. + - The IP of the system can't change, and you need to know it beforehand, + that is, the system needs a static IP address. + + This cluster is configurable, but with the following constraints: + + - The hostname in RABBITMQ_HOST has to match CONTROLLER_HOST_ADDRESS, + and HOST_CONTROLLER. + - HOSTS_CONTROLLER is only needed if the hostname (see previous point) + is not a FQDN. + - The IP listed in MANAGEMENT_INTERFACE_IP_ADDRESS has to match the one + used in HOSTS_CONTROLLER. + - CINDER_DEVICE should be a path to a storage device ready to be + used/formated for cinder data. + - EXTERNAL_INTERFACE is required when the system has more than one network + interface. + + You can also have a look at the following suggestions: + + - NOVA_VIRT_TYPE can be either 'kvm' or 'qemu', depending on where the + system is being deployed to. + - We recommend changing all the PASSWORDs variables, also the + KEYSTONE_TEMPORARY_ADMIN_TOKEN, METADATA_PROXY_SHARED_SECRET and + METERING_SECRET. + - Setting NOVA_BAREMETAL_SCHEDULING with an YAML truth value will configure + Nova to schedule baremetal machines through the Ironic driver, instead of + sheduling virtual machines. + +systems: +- morph: systems/installer-system-x86_64.morph + deploy: + network-installer: &installer + type: extensions/rawdisk + location: installer-openstack-network-x86_64.img + KERNEL_ARGS: init=/usr/lib/baserock-installer/installer + DISK_SIZE: 6G + HOSTNAME: installer-x86_64 + INSTALLER_TARGET_STORAGE_DEVICE: /dev/sda + INSTALLER_ROOTFS_TO_INSTALL: /rootfs + INSTALLER_POST_INSTALL_COMMAND: sync; poweroff -f + INITRAMFS_PATH: boot/initramfs.gz + subsystems: + - morph: systems/initramfs-x86_64.morph + deploy: + network-initramfs: &initramfs + type: extensions/initramfs + location: boot/initramfs.gz + - morph: systems/openstack-system-x86_64.morph + deploy: + network-to-install: &stack-node + type: extensions/sysroot + location: rootfs + INSTALL_FILES: install-files/openstack/manifest + INITRAMFS_PATH: boot/initramfs.gz + + HOSTNAME: threenode-network + + RABBITMQ_HOST: threenode-controller.os-mgmt + RABBITMQ_PORT: 5672 + RABBITMQ_USER: rabbitmq + RABBITMQ_PASSWORD: veryinsecure + + # This token needs to be unique and secret + KEYSTONE_ENABLE_SERVICE: false + KEYSTONE_TEMPORARY_ADMIN_TOKEN: 22f3aa1cf538e3f6d5e8 + KEYSTONE_ADMIN_PASSWORD: veryinsecure + KEYSTONE_DB_USER: keystoneDB + KEYSTONE_DB_PASSWORD: veryinsecure + + GLANCE_ENABLE_SERVICE: false + GLANCE_SERVICE_USER: glance + GLANCE_SERVICE_PASSWORD: veryinsecure + GLANCE_DB_USER: glanceDB + GLANCE_DB_PASSWORD: veryinsecure + + NOVA_ENABLE_CONTROLLER: false + NOVA_ENABLE_COMPUTE: false + NOVA_SERVICE_USER: nova + NOVA_SERVICE_PASSWORD: veryinsecure + NOVA_DB_USER: novaDB + NOVA_DB_PASSWORD: veryinsecure + NOVA_VIRT_TYPE: kvm + NOVA_BAREMETAL_SCHEDULING: false + + CINDER_ENABLE_CONTROLLER: false + CINDER_ENABLE_COMPUTE: false + CINDER_ENABLE_STORAGE: false + CINDER_SERVICE_USER: cinder + CINDER_SERVICE_PASSWORD: veryinsecure + CINDER_DB_USER: cinderDB + CINDER_DB_PASSWORD: veryinsecure + # Storage device to be used by Cinder + CINDER_DEVICE: /dev/sdb + + NEUTRON_ENABLE_AGENT: false + NEUTRON_ENABLE_MANAGER: true + NEUTRON_ENABLE_CONTROLLER: false + NEUTRON_SERVICE_USER: neutron + NEUTRON_SERVICE_PASSWORD: veryinsecure + NEUTRON_DB_USER: neutronDB + NEUTRON_DB_PASSWORD: veryinsecure + METADATA_PROXY_SHARED_SECRET: novaneutronmetasecret + + IRONIC_ENABLE_SERVICE: false + IRONIC_SERVICE_USER: ironic + IRONIC_SERVICE_PASSWORD: veryinsecure + IRONIC_DB_USER: ironicDB + IRONIC_DB_PASSWORD: veryinsecure + + CEILOMETER_SERVICE_USER: ceilometer + CEILOMETER_SERVICE_PASSWORD: veryinsecure + CEILOMETER_DB_USER: ceilometerDB + CEILOMETER_DB_PASSWORD: veryinsecure + CEILOMETER_ENABLE_CONTROLLER: false + CEILOMETER_ENABLE_COMPUTE: false + METERING_SECRET: insecureceilometersecret + + CONTROLLER_HOST_ADDRESS: threenode-controller.os-mgmt + MANAGEMENT_INTERFACE_IP_ADDRESS: 10.0.0.1 + + HOSTS_NETWORK: 10.0.0.1 threenode-network.os-mgmt + HOSTS_CONTROL: 10.0.0.2 threenode-controller.os-mgmt + HOSTS_COMPUTE: 10.0.0.3 threenode-compute.os-mgmt + + EXTERNAL_INTERFACE: enp3s0 + NETWORK_CONFIG: enp3s0:dhcp;enp2s0:static,address=10.0.0.1,netmask=255.255.255.0 + SYNC_TIME_WITH_CONTROLLER: true + subsystems: + - morph: systems/initramfs-x86_64.morph + deploy: + network-to-install-initramfs: *initramfs +- morph: systems/installer-system-x86_64.morph + deploy: + controller-installer: + <<: *installer + location: installer-openstack-controller-x86_64.img + subsystems: + - morph: systems/initramfs-x86_64.morph + deploy: + controller-initramfs: *initramfs + - morph: systems/openstack-system-x86_64.morph + deploy: + controller-to-install: + <<: *stack-node + HOSTNAME: threenode-controller + + KEYSTONE_ENABLE_SERVICE: true + + GLANCE_ENABLE_SERVICE: true + + NOVA_ENABLE_CONTROLLER: true + + CINDER_ENABLE_CONTROLLER: true + CINDER_ENABLE_COMPUTE: false + CINDER_ENABLE_STORAGE: false + + NEUTRON_ENABLE_AGENT: false + NEUTRON_ENABLE_MANAGER: false + NEUTRON_ENABLE_CONTROLLER: true + METADATA_PROXY_SHARED_SECRET: novaneutronmetasecret + + IRONIC_ENABLE_SERVICE: true + + CEILOMETER_ENABLE_CONTROLLER: true + CEILOMETER_ENABLE_COMPUTE: false + + MANAGEMENT_INTERFACE_IP_ADDRESS: 10.0.0.2 + EXTERNAL_INTERFACE: enp2s0 + NETWORK_CONFIG: enp2s0:dhcp;enp0s26u1u2:static,address=10.0.0.2,netmask=255.255.255.0 + SYNC_TIME_WITH_CONTROLLER: false + subsystems: + - morph: systems/initramfs-x86_64.morph + deploy: + controller-to-install-initramfs: *initramfs +- morph: systems/installer-system-x86_64.morph + deploy: + compute-installer: + <<: *installer + location: installer-openstack-compute-x86_64.img + subsystems: + - morph: systems/initramfs-x86_64.morph + deploy: + compute-initramfs: *initramfs + - morph: systems/openstack-system-x86_64.morph + deploy: + compute-to-install: + <<: *stack-node + HOSTNAME: threenode-compute + + NOVA_ENABLE_COMPUTE: true + + CINDER_ENABLE_CONTROLLER: false + CINDER_ENABLE_COMPUTE: true + CINDER_ENABLE_STORAGE: true + + NEUTRON_ENABLE_AGENT: true + NEUTRON_ENABLE_MANAGER: false + NEUTRON_ENABLE_CONTROLLER: false + + CEILOMETER_ENABLE_CONTROLLER: false + CEILOMETER_ENABLE_COMPUTE: true + + MANAGEMENT_INTERFACE_IP_ADDRESS: 10.0.0.3 + EXTERNAL_INTERFACE: eno1 + NETWORK_CONFIG: eno1:dhcp;enp0s29u1u3:static,address=10.0.0.3,netmask=255.255.255.0 + SYNC_TIME_WITH_CONTROLLER: true + subsystems: + - morph: systems/initramfs-x86_64.morph + deploy: + compute-to-install-initramfs: *initramfs diff --git a/clusters/openstack-two-node-installer.morph b/clusters/openstack-two-node-installer.morph deleted file mode 100644 index 0c08bd4f..00000000 --- a/clusters/openstack-two-node-installer.morph +++ /dev/null @@ -1,199 +0,0 @@ -name: openstack-two-node-installer -kind: cluster -description: | - This is a cluster morphology for deploying an installer for an x86_64 - OpenStack system spread across three nodes. - - This cluster creates disk images that may be `dd`'d onto install media to - produce an OpenStack cluster when instantiated. - - Alternatively it may be used to install directly onto a physical disk by - running: - - morph deploy clusters/openstack-two-node-installer.morph \ - controller-installer controller-installer.location=/dev/vdb - - Substituting contrller-installer for compute-installer will produce - different configurations, and it is possible to substitue /dev/vdb for a - different path to a disk image to install to a different disk image. - - Substitute the values of HOSTNAME, NETWORK_CONFIG, EXTERNAL_INTERFACE, - MANAGEMENT_IP_ADDRESS, CONTROLLER_HOST_ADDRESS, RABBITMQ_HOST and HOSTS_* to - match your hardware and networking configuration. - - Requirements to be able to run and test the system: - - - DISK_SIZE should be bigger than 5G - - The system has to have available at least 4G of RAM, but once - you start instantiating VMs you will need more. - - The IP of the system can't change, and you need to know it beforehand, - that is, the system needs a static IP address. - - This cluster is configurable, but with the following constraints: - - - The hostname in RABBITMQ_HOST has to match CONTROLLER_HOST_ADDRESS, - and HOST_CONTROLLER. - - HOSTS_CONTROLLER is only needed if the hostname (see previous point) - is not a FQDN. - - The IP listed in MANAGEMENT_INTERFACE_IP_ADDRESS has to match the one - used in HOSTS_CONTROLLER. - - CINDER_DEVICE should be a path to a storage device ready to be - used/formated for cinder data. - - EXTERNAL_INTERFACE is required when the system has more than one network - interface. - - You can also have a look at the following suggestions: - - - NOVA_VIRT_TYPE can be either 'kvm' or 'qemu', depending on where the - system is being deployed to. - - We recommend changing all the PASSWORDs variables, also the - KEYSTONE_TEMPORARY_ADMIN_TOKEN, METADATA_PROXY_SHARED_SECRET and - METERING_SECRET. - - Setting NOVA_BAREMETAL_SCHEDULING with a YAML truth value will configure - Nova to schedule baremetal machines through the Ironic driver, instead of - sheduling virtual machines. - -systems: -- morph: systems/installer-system-x86_64.morph - deploy: - controller-installer: &installer - type: extensions/rawdisk - location: installer-openstack-controller-x86_64.img - KERNEL_ARGS: init=/usr/lib/baserock-installer/installer - DISK_SIZE: 6G - HOSTNAME: installer-x86_64 - INSTALLER_TARGET_STORAGE_DEVICE: /dev/sda - INSTALLER_ROOTFS_TO_INSTALL: /rootfs - INSTALLER_POST_INSTALL_COMMAND: sync; poweroff -f - INITRAMFS_PATH: boot/initramfs.gz - subsystems: - - morph: systems/initramfs-x86_64.morph - deploy: - controller-initramfs: &initramfs - type: extensions/initramfs - location: boot/initramfs.gz - - morph: systems/openstack-system-x86_64.morph - deploy: - controller-to-install: &stack-node - type: extensions/sysroot - location: rootfs - INSTALL_FILES: install-files/openstack/manifest - INITRAMFS_PATH: boot/initramfs.gz - - HOSTNAME: twonode-controller - - RABBITMQ_HOST: twonode-controller.os-mgmt - RABBITMQ_PORT: 5672 - RABBITMQ_USER: rabbitmq - RABBITMQ_PASSWORD: veryinsecure - - # This token needs to be unique and secret - KEYSTONE_ENABLE_SERVICE: true - KEYSTONE_TEMPORARY_ADMIN_TOKEN: 22f3aa1cf538e3f6d5e8 - KEYSTONE_ADMIN_PASSWORD: veryinsecure - KEYSTONE_DB_USER: keystoneDB - KEYSTONE_DB_PASSWORD: veryinsecure - - GLANCE_ENABLE_SERVICE: true - GLANCE_SERVICE_USER: glance - GLANCE_SERVICE_PASSWORD: veryinsecure - GLANCE_DB_USER: glanceDB - GLANCE_DB_PASSWORD: veryinsecure - - NOVA_ENABLE_CONTROLLER: true - NOVA_ENABLE_COMPUTE: false - NOVA_SERVICE_USER: nova - NOVA_SERVICE_PASSWORD: veryinsecure - NOVA_DB_USER: novaDB - NOVA_DB_PASSWORD: veryinsecure - NOVA_VIRT_TYPE: kvm - NOVA_BAREMETAL_SCHEDULING: false - - CINDER_ENABLE_CONTROLLER: true - CINDER_ENABLE_COMPUTE: false - CINDER_ENABLE_STORAGE: false - CINDER_SERVICE_USER: cinder - CINDER_SERVICE_PASSWORD: veryinsecure - CINDER_DB_USER: cinderDB - CINDER_DB_PASSWORD: veryinsecure - # Storage device to be used by Cinder - CINDER_DEVICE: /dev/sdb - - NEUTRON_ENABLE_AGENT: false - NEUTRON_ENABLE_MANAGER: true - NEUTRON_ENABLE_CONTROLLER: true - NEUTRON_SERVICE_USER: neutron - NEUTRON_SERVICE_PASSWORD: veryinsecure - NEUTRON_DB_USER: neutronDB - NEUTRON_DB_PASSWORD: veryinsecure - METADATA_PROXY_SHARED_SECRET: novaneutronmetasecret - - IRONIC_ENABLE_SERVICE: true - IRONIC_SERVICE_USER: ironic - IRONIC_SERVICE_PASSWORD: veryinsecure - IRONIC_DB_USER: ironicDB - IRONIC_DB_PASSWORD: veryinsecure - - CEILOMETER_SERVICE_USER: ceilometer - CEILOMETER_SERVICE_PASSWORD: veryinsecure - CEILOMETER_DB_USER: ceilometerDB - CEILOMETER_DB_PASSWORD: veryinsecure - CEILOMETER_ENABLE_CONTROLLER: true - CEILOMETER_ENABLE_COMPUTE: false - METERING_SECRET: insecureceilometersecret - - CONTROLLER_HOST_ADDRESS: twonode-controller.os-mgmt - MANAGEMENT_INTERFACE_IP_ADDRESS: 10.0.0.1 - - HOSTS_CONTROL: 10.0.0.1 twonode-controller.os-mgmt - HOSTS_COMPUTE: 10.0.0.3 twonode-compute.os-mgmt - EXTERNAL_INTERFACE: enp3s0 - NETWORK_CONFIG: enp3s0:dhcp;enp2s0:static,address=10.0.0.1,netmask=255.255.255.0 - SYNC_TIME_WITH_CONTROLLER: false - subsystems: - - morph: systems/initramfs-x86_64.morph - deploy: - controller-to-install-initramfs: *initramfs -- morph: systems/installer-system-x86_64.morph - deploy: - compute-installer: - <<: *installer - location: installer-openstack-compute-x86_64.img - subsystems: - - morph: systems/initramfs-x86_64.morph - deploy: - compute-initramfs: *initramfs - - morph: systems/openstack-system-x86_64.morph - deploy: - compute-to-install: - <<: *stack-node - HOSTNAME: twonode-compute - - KEYSTONE_ENABLE_SERVICE: false - - GLANCE_ENABLE_SERVICE: false - - NOVA_ENABLE_COMPUTE: true - NOVA_ENABLE_CONTROLLER: false - - CINDER_ENABLE_CONTROLLER: false - CINDER_ENABLE_COMPUTE: true - CINDER_ENABLE_STORAGE: true - - NEUTRON_ENABLE_AGENT: true - NEUTRON_ENABLE_MANAGER: false - NEUTRON_ENABLE_CONTROLLER: false - - IRONIC_ENABLE_SERVICE: false - - CEILOMETER_ENABLE_CONTROLLER: false - CEILOMETER_ENABLE_COMPUTE: true - - MANAGEMENT_INTERFACE_IP_ADDRESS: 10.0.0.3 - EXTERNAL_INTERFACE: eno1 - NETWORK_CONFIG: eno1:dhcp;enp0s29u1u3:static,address=10.0.0.3,netmask=255.255.255.0 - SYNC_TIME_WITH_CONTROLLER: true - subsystems: - - morph: systems/initramfs-x86_64.morph - deploy: - compute-to-install-initramfs: *initramfs diff --git a/clusters/openstack-two-node-installer.morph.in b/clusters/openstack-two-node-installer.morph.in new file mode 100644 index 00000000..0c08bd4f --- /dev/null +++ b/clusters/openstack-two-node-installer.morph.in @@ -0,0 +1,199 @@ +name: openstack-two-node-installer +kind: cluster +description: | + This is a cluster morphology for deploying an installer for an x86_64 + OpenStack system spread across three nodes. + + This cluster creates disk images that may be `dd`'d onto install media to + produce an OpenStack cluster when instantiated. + + Alternatively it may be used to install directly onto a physical disk by + running: + + morph deploy clusters/openstack-two-node-installer.morph \ + controller-installer controller-installer.location=/dev/vdb + + Substituting contrller-installer for compute-installer will produce + different configurations, and it is possible to substitue /dev/vdb for a + different path to a disk image to install to a different disk image. + + Substitute the values of HOSTNAME, NETWORK_CONFIG, EXTERNAL_INTERFACE, + MANAGEMENT_IP_ADDRESS, CONTROLLER_HOST_ADDRESS, RABBITMQ_HOST and HOSTS_* to + match your hardware and networking configuration. + + Requirements to be able to run and test the system: + + - DISK_SIZE should be bigger than 5G + - The system has to have available at least 4G of RAM, but once + you start instantiating VMs you will need more. + - The IP of the system can't change, and you need to know it beforehand, + that is, the system needs a static IP address. + + This cluster is configurable, but with the following constraints: + + - The hostname in RABBITMQ_HOST has to match CONTROLLER_HOST_ADDRESS, + and HOST_CONTROLLER. + - HOSTS_CONTROLLER is only needed if the hostname (see previous point) + is not a FQDN. + - The IP listed in MANAGEMENT_INTERFACE_IP_ADDRESS has to match the one + used in HOSTS_CONTROLLER. + - CINDER_DEVICE should be a path to a storage device ready to be + used/formated for cinder data. + - EXTERNAL_INTERFACE is required when the system has more than one network + interface. + + You can also have a look at the following suggestions: + + - NOVA_VIRT_TYPE can be either 'kvm' or 'qemu', depending on where the + system is being deployed to. + - We recommend changing all the PASSWORDs variables, also the + KEYSTONE_TEMPORARY_ADMIN_TOKEN, METADATA_PROXY_SHARED_SECRET and + METERING_SECRET. + - Setting NOVA_BAREMETAL_SCHEDULING with a YAML truth value will configure + Nova to schedule baremetal machines through the Ironic driver, instead of + sheduling virtual machines. + +systems: +- morph: systems/installer-system-x86_64.morph + deploy: + controller-installer: &installer + type: extensions/rawdisk + location: installer-openstack-controller-x86_64.img + KERNEL_ARGS: init=/usr/lib/baserock-installer/installer + DISK_SIZE: 6G + HOSTNAME: installer-x86_64 + INSTALLER_TARGET_STORAGE_DEVICE: /dev/sda + INSTALLER_ROOTFS_TO_INSTALL: /rootfs + INSTALLER_POST_INSTALL_COMMAND: sync; poweroff -f + INITRAMFS_PATH: boot/initramfs.gz + subsystems: + - morph: systems/initramfs-x86_64.morph + deploy: + controller-initramfs: &initramfs + type: extensions/initramfs + location: boot/initramfs.gz + - morph: systems/openstack-system-x86_64.morph + deploy: + controller-to-install: &stack-node + type: extensions/sysroot + location: rootfs + INSTALL_FILES: install-files/openstack/manifest + INITRAMFS_PATH: boot/initramfs.gz + + HOSTNAME: twonode-controller + + RABBITMQ_HOST: twonode-controller.os-mgmt + RABBITMQ_PORT: 5672 + RABBITMQ_USER: rabbitmq + RABBITMQ_PASSWORD: veryinsecure + + # This token needs to be unique and secret + KEYSTONE_ENABLE_SERVICE: true + KEYSTONE_TEMPORARY_ADMIN_TOKEN: 22f3aa1cf538e3f6d5e8 + KEYSTONE_ADMIN_PASSWORD: veryinsecure + KEYSTONE_DB_USER: keystoneDB + KEYSTONE_DB_PASSWORD: veryinsecure + + GLANCE_ENABLE_SERVICE: true + GLANCE_SERVICE_USER: glance + GLANCE_SERVICE_PASSWORD: veryinsecure + GLANCE_DB_USER: glanceDB + GLANCE_DB_PASSWORD: veryinsecure + + NOVA_ENABLE_CONTROLLER: true + NOVA_ENABLE_COMPUTE: false + NOVA_SERVICE_USER: nova + NOVA_SERVICE_PASSWORD: veryinsecure + NOVA_DB_USER: novaDB + NOVA_DB_PASSWORD: veryinsecure + NOVA_VIRT_TYPE: kvm + NOVA_BAREMETAL_SCHEDULING: false + + CINDER_ENABLE_CONTROLLER: true + CINDER_ENABLE_COMPUTE: false + CINDER_ENABLE_STORAGE: false + CINDER_SERVICE_USER: cinder + CINDER_SERVICE_PASSWORD: veryinsecure + CINDER_DB_USER: cinderDB + CINDER_DB_PASSWORD: veryinsecure + # Storage device to be used by Cinder + CINDER_DEVICE: /dev/sdb + + NEUTRON_ENABLE_AGENT: false + NEUTRON_ENABLE_MANAGER: true + NEUTRON_ENABLE_CONTROLLER: true + NEUTRON_SERVICE_USER: neutron + NEUTRON_SERVICE_PASSWORD: veryinsecure + NEUTRON_DB_USER: neutronDB + NEUTRON_DB_PASSWORD: veryinsecure + METADATA_PROXY_SHARED_SECRET: novaneutronmetasecret + + IRONIC_ENABLE_SERVICE: true + IRONIC_SERVICE_USER: ironic + IRONIC_SERVICE_PASSWORD: veryinsecure + IRONIC_DB_USER: ironicDB + IRONIC_DB_PASSWORD: veryinsecure + + CEILOMETER_SERVICE_USER: ceilometer + CEILOMETER_SERVICE_PASSWORD: veryinsecure + CEILOMETER_DB_USER: ceilometerDB + CEILOMETER_DB_PASSWORD: veryinsecure + CEILOMETER_ENABLE_CONTROLLER: true + CEILOMETER_ENABLE_COMPUTE: false + METERING_SECRET: insecureceilometersecret + + CONTROLLER_HOST_ADDRESS: twonode-controller.os-mgmt + MANAGEMENT_INTERFACE_IP_ADDRESS: 10.0.0.1 + + HOSTS_CONTROL: 10.0.0.1 twonode-controller.os-mgmt + HOSTS_COMPUTE: 10.0.0.3 twonode-compute.os-mgmt + EXTERNAL_INTERFACE: enp3s0 + NETWORK_CONFIG: enp3s0:dhcp;enp2s0:static,address=10.0.0.1,netmask=255.255.255.0 + SYNC_TIME_WITH_CONTROLLER: false + subsystems: + - morph: systems/initramfs-x86_64.morph + deploy: + controller-to-install-initramfs: *initramfs +- morph: systems/installer-system-x86_64.morph + deploy: + compute-installer: + <<: *installer + location: installer-openstack-compute-x86_64.img + subsystems: + - morph: systems/initramfs-x86_64.morph + deploy: + compute-initramfs: *initramfs + - morph: systems/openstack-system-x86_64.morph + deploy: + compute-to-install: + <<: *stack-node + HOSTNAME: twonode-compute + + KEYSTONE_ENABLE_SERVICE: false + + GLANCE_ENABLE_SERVICE: false + + NOVA_ENABLE_COMPUTE: true + NOVA_ENABLE_CONTROLLER: false + + CINDER_ENABLE_CONTROLLER: false + CINDER_ENABLE_COMPUTE: true + CINDER_ENABLE_STORAGE: true + + NEUTRON_ENABLE_AGENT: true + NEUTRON_ENABLE_MANAGER: false + NEUTRON_ENABLE_CONTROLLER: false + + IRONIC_ENABLE_SERVICE: false + + CEILOMETER_ENABLE_CONTROLLER: false + CEILOMETER_ENABLE_COMPUTE: true + + MANAGEMENT_INTERFACE_IP_ADDRESS: 10.0.0.3 + EXTERNAL_INTERFACE: eno1 + NETWORK_CONFIG: eno1:dhcp;enp0s29u1u3:static,address=10.0.0.3,netmask=255.255.255.0 + SYNC_TIME_WITH_CONTROLLER: true + subsystems: + - morph: systems/initramfs-x86_64.morph + deploy: + compute-to-install-initramfs: *initramfs diff --git a/clusters/release-genivi-baseline.morph b/clusters/release-genivi-baseline.morph deleted file mode 100644 index f7e07042..00000000 --- a/clusters/release-genivi-baseline.morph +++ /dev/null @@ -1,41 +0,0 @@ -name: release-genivi-baseline -kind: cluster -description: | - Deploy GENIVI Baseline systems -systems: -- morph: systems/genivi-baseline-system-x86_64-generic.morph - deploy: - genivi-baseline-system-x86_64-generic: - type: extensions/rawdisk - location: genivi-baseline-system-x86_64-generic.img - DISK_SIZE: 4G - KERNEL_ARGS: vga=788 - INITRAMFS_PATH: boot/initramfs.gz - HOSTNAME: genivi-baseline-system-x86-64-generic - GENIVI_WESTON_BACKEND: fbdev - GENIVI_WESTON_CONFIG: baseline - GENIVI_WESTON_AUTOSTART: False - subsystems: - - morph: systems/initramfs-x86_64.morph - deploy: - initramfs-genivi-baseline-system-x86_64-generic: - type: extensions/initramfs - location: boot/initramfs.gz -- morph: systems/genivi-baseline-system-armv7lhf-jetson.morph - deploy: - genivi-baseline-system-armv7lhf-jetson: - type: extensions/rawdisk - location: genivi-baseline-system-armv7lhf-jetson.img - DISK_SIZE: 4G - BOOT_DEVICE: /dev/mmcblk0p1 - ROOT_DEVICE: /dev/mmcblk0p2 - DTB_PATH: boot/tegra124-jetson-tk1.dtb - BOOTLOADER_CONFIG_FORMAT: extlinux - BOOTLOADER_INSTALL: none - KERNEL_ARGS: cma=256M console=tty0 console=ttyS0,115200n8 no_console_suspend=1 - nouveau.pstate=1 - HOSTNAME: genivi-baseline-system-armv7lhf-jetson - GENIVI_WESTON_BACKEND: drm - GENIVI_WESTON_CONFIG: baseline - GENIVI_WESTON_AUTOSTART: False - diff --git a/clusters/release-genivi-baseline.morph.in b/clusters/release-genivi-baseline.morph.in new file mode 100644 index 00000000..f7e07042 --- /dev/null +++ b/clusters/release-genivi-baseline.morph.in @@ -0,0 +1,41 @@ +name: release-genivi-baseline +kind: cluster +description: | + Deploy GENIVI Baseline systems +systems: +- morph: systems/genivi-baseline-system-x86_64-generic.morph + deploy: + genivi-baseline-system-x86_64-generic: + type: extensions/rawdisk + location: genivi-baseline-system-x86_64-generic.img + DISK_SIZE: 4G + KERNEL_ARGS: vga=788 + INITRAMFS_PATH: boot/initramfs.gz + HOSTNAME: genivi-baseline-system-x86-64-generic + GENIVI_WESTON_BACKEND: fbdev + GENIVI_WESTON_CONFIG: baseline + GENIVI_WESTON_AUTOSTART: False + subsystems: + - morph: systems/initramfs-x86_64.morph + deploy: + initramfs-genivi-baseline-system-x86_64-generic: + type: extensions/initramfs + location: boot/initramfs.gz +- morph: systems/genivi-baseline-system-armv7lhf-jetson.morph + deploy: + genivi-baseline-system-armv7lhf-jetson: + type: extensions/rawdisk + location: genivi-baseline-system-armv7lhf-jetson.img + DISK_SIZE: 4G + BOOT_DEVICE: /dev/mmcblk0p1 + ROOT_DEVICE: /dev/mmcblk0p2 + DTB_PATH: boot/tegra124-jetson-tk1.dtb + BOOTLOADER_CONFIG_FORMAT: extlinux + BOOTLOADER_INSTALL: none + KERNEL_ARGS: cma=256M console=tty0 console=ttyS0,115200n8 no_console_suspend=1 + nouveau.pstate=1 + HOSTNAME: genivi-baseline-system-armv7lhf-jetson + GENIVI_WESTON_BACKEND: drm + GENIVI_WESTON_CONFIG: baseline + GENIVI_WESTON_AUTOSTART: False + diff --git a/clusters/release.morph b/clusters/release.morph deleted file mode 100644 index fe07665f..00000000 --- a/clusters/release.morph +++ /dev/null @@ -1,62 +0,0 @@ -name: release -kind: cluster -description: | - Deploy all the systems for we support in a release. - - This cluster morph is used by the tool 'scripts/do-release'. While - you can deploy the systems yourself, if you are making a Baserock release - then the script should be used. -systems: -- morph: systems/build-system-x86_32-chroot.morph - deploy: - build-system-x86_32-chroot: - type: extensions/tar - location: build-system-x86_32-chroot.tar - HOSTNAME: build-system-x86-32-chroot -- morph: systems/build-system-x86_32.morph - deploy: - build-system-x86_32: - type: extensions/rawdisk - location: build-system-x86_32.img - DISK_SIZE: 6G - HOSTNAME: build-system-x86-32 -- morph: systems/build-system-x86_64-chroot.morph - deploy: - build-system-x86_64-chroot: - type: extensions/tar - location: build-system-x86_64-chroot.tar - HOSTNAME: build-system-x86-64-chroot -- morph: systems/build-system-x86_64.morph - deploy: - build-system-x86_64: - type: extensions/rawdisk - location: build-system-x86_64.img - DISK_SIZE: 6G - INITRAMFS_PATH: boot/initramfs.gz - HOSTNAME: build-system-x86-64 - subsystems: - - morph: systems/initramfs-x86_64.morph - deploy: - initramfs-build-system-x86_64: - type: extensions/initramfs - location: boot/initramfs.gz -- morph: systems/build-system-armv7lhf-rootfs.morph - deploy: - build-system-armv7lhf-rootfs: - type: extensions/tar - location: build-system-armv7lhf-rootfs.tar - HOSTNAME: build-system-armv7lhf-rootfs -- morph: systems/build-system-armv7lhf-jetson.morph - deploy: - build-system-armv7lhf-jetson: - type: extensions/rawdisk - location: build-system-armv7lhf-jetson.img - DISK_SIZE: 3G - BOOT_DEVICE: /dev/mmcblk0p1 - ROOT_DEVICE: /dev/mmcblk0p2 - DTB_PATH: boot/tegra124-jetson-tk1.dtb - BOOTLOADER_CONFIG_FORMAT: extlinux - BOOTLOADER_INSTALL: none - KERNEL_ARGS: cma=256M console=tty0 console=ttyS0,115200n8 no_console_suspend=1 - nouveau.pstate=1 - HOSTNAME: build-system-armv7lhf-jetson diff --git a/clusters/release.morph.in b/clusters/release.morph.in new file mode 100644 index 00000000..5af66ab0 --- /dev/null +++ b/clusters/release.morph.in @@ -0,0 +1,62 @@ +name: release +kind: cluster +description: | + Deploy all the systems for we support in a release. + + This cluster morph is used by the tool 'scripts/do-release'. While + you can deploy the systems yourself, if you are making a Baserock release + then the script should be used. +systems: +- morph: systems/build-system.x86_32-chroot.morph + deploy: + build-system-x86_32-chroot: + type: extensions/tar + location: build-system.x86_32-chroot.tar + HOSTNAME: build-system.x86-32-chroot +- morph: systems/build-system.x86_32.morph + deploy: + build-system-x86_32: + type: extensions/rawdisk + location: build-system.x86_32.img + DISK_SIZE: 6G + HOSTNAME: build-system.x86-32 +- morph: systems/build-system.x86_64-chroot.morph + deploy: + build-system-x86_64-chroot: + type: extensions/tar + location: build-system.x86_64-chroot.tar + HOSTNAME: build-system-x86-64-chroot +- morph: systems/build-system.x86_64.morph + deploy: + build-system-x86_64: + type: extensions/rawdisk + location: build-system.x86_64.img + DISK_SIZE: 6G + INITRAMFS_PATH: boot/initramfs.gz + HOSTNAME: build-system-x86-64 + subsystems: + - morph: systems/initramfs.x86_64.morph + deploy: + initramfs-build-system-x86_64: + type: extensions/initramfs + location: boot/initramfs.gz +- morph: systems/build-system.armv7lhf-rootfs.morph + deploy: + build-system-armv7lhf-rootfs: + type: extensions/tar + location: build-system.armv7lhf-rootfs.tar + HOSTNAME: build-system.armv7lhf-rootfs +- morph: systems/build-system.armv7lhf-jetson.morph + deploy: + build-system-armv7lhf-jetson: + type: extensions/rawdisk + location: build-system.armv7lhf-jetson.img + DISK_SIZE: 3G + BOOT_DEVICE: /dev/mmcblk0p1 + ROOT_DEVICE: /dev/mmcblk0p2 + DTB_PATH: boot/tegra124-jetson-tk1.dtb + BOOTLOADER_CONFIG_FORMAT: extlinux + BOOTLOADER_INSTALL: none + KERNEL_ARGS: cma=256M console=tty0 console=ttyS0,115200n8 no_console_suspend=1 + nouveau.pstate=1 + HOSTNAME: build-system-armv7lhf-jetson diff --git a/clusters/sdk-example-cluster.morph b/clusters/sdk-example-cluster.morph deleted file mode 100644 index a4413c3b..00000000 --- a/clusters/sdk-example-cluster.morph +++ /dev/null @@ -1,46 +0,0 @@ -name: sdk -kind: cluster -description: | - An example of creating a cross-compile SDK for an embedded Baserock system. - - This cluster demonstrates how you can use the 'sdk' write extension to - produce a cross-compile SDK tarball for an Baserock applicance. In this - example the system is assumed to run on ARMv7, and the SDK is built to - run on any x86_32 GNU/Linux system. - - The SDK is a Baserock system itself, containing just 'build-essential' and a - 'cross-toolchain' stratum. The SDK system also includes the target - appliance's system, as a 'subsystem', so that the libraries and headers are - available when building. - - This cluster deploys the SDK system using the 'sdk' write extension, which - produces a tarball with a small shell header. When the shell header is - executed, and passed a directory name on the commandline, it extracts the SDK - to that path and patches the binaries so that they execute correctly from - that directory. - - Deploying the applicate system artifact to the target device should be - done with a separate cluster morphology, because you will often want to - do this without rebuilding the SDK. - - You must build each system with `morph build` before deploying. We recommend - doing this all from your Baserock development machine, using a Baserock - ARM distributed build network to produce the system artifact. Once both - system artifacts are cached locally, the `morph deploy` command will produce - a self-extracting shell script/tarball following the 'location' field. - - See the documentation of the sdk.write extension for more information. -systems: -- morph: systems/armv7lhf-cross-toolchain-system-x86_64.morph - deploy: - sdk: - type: extensions/sdk - location: armv7lhf-cross-toolchain-system-x86_64.sh - PREFIX: /usr - TARGET: armv7lhf-baserock-linux-gnueabi - subsystems: - - morph: systems/devel-system-armv7lhf-highbank.morph - deploy: - sysroot: - type: extensions/sysroot - location: usr/armv7lhf-baserock-linux-gnueabi/sys-root diff --git a/clusters/sdk-example-cluster.morph.in b/clusters/sdk-example-cluster.morph.in new file mode 100644 index 00000000..b1096423 --- /dev/null +++ b/clusters/sdk-example-cluster.morph.in @@ -0,0 +1,46 @@ +name: sdk +kind: cluster +description: | + An example of creating a cross-compile SDK for an embedded Baserock system. + + This cluster demonstrates how you can use the 'sdk' write extension to + produce a cross-compile SDK tarball for an Baserock applicance. In this + example the system is assumed to run on ARMv7, and the SDK is built to + run on any x86_32 GNU/Linux system. + + The SDK is a Baserock system itself, containing just 'build-essential' and a + 'cross-toolchain' stratum. The SDK system also includes the target + appliance's system, as a 'subsystem', so that the libraries and headers are + available when building. + + This cluster deploys the SDK system using the 'sdk' write extension, which + produces a tarball with a small shell header. When the shell header is + executed, and passed a directory name on the commandline, it extracts the SDK + to that path and patches the binaries so that they execute correctly from + that directory. + + Deploying the applicate system artifact to the target device should be + done with a separate cluster morphology, because you will often want to + do this without rebuilding the SDK. + + You must build each system with `morph build` before deploying. We recommend + doing this all from your Baserock development machine, using a Baserock + ARM distributed build network to produce the system artifact. Once both + system artifacts are cached locally, the `morph deploy` command will produce + a self-extracting shell script/tarball following the 'location' field. + + See the documentation of the sdk.write extension for more information. +systems: +- morph: systems/armv7lhf-cross-toolchain-system.{{CONFIG}}.morph + deploy: + sdk: + type: extensions/sdk + location: armv7lhf-cross-toolchain-system.sh + PREFIX: /usr + TARGET: armv7lhf-baserock-linux-gnueabi + subsystems: + - morph: systems/devel-system.armv7lhf.morph + deploy: + sysroot: + type: extensions/sysroot + location: usr/armv7lhf-baserock-linux-gnueabi/sys-root diff --git a/clusters/trove-example.morph b/clusters/trove-example.morph deleted file mode 100644 index 81b1c901..00000000 --- a/clusters/trove-example.morph +++ /dev/null @@ -1,58 +0,0 @@ -name: trove-example -kind: cluster -description: | - This is an example cluster morphology for deploying a Trove, - both the initial deployment and an upgrade. - - You need some ssh keys, which you can create like this: - - mkdir ssh_keys - ssh-keygen -N '' -f ssh_keys/lorry.key - ssh-keygen -N '' -f ssh_keys/worker.key - ssh-keygen -N '' -f ssh_keys/trove-admin.key - - You may also put in your own keys instead of creating new ones. - - To do the initial deployment: - - morph deploy clusters/trove-example.morph \ - initial \ - initial.location=kvm+ssh://liw@192.168.122.1/test-trove/tmp/test-trove.img - - To do an upgrade: - - morph deploy clusters/trove-example.morph \ - upgrade upgrade.VERSION_LABEL=123 - - where `VERSION_LABEL` gets a new unique value each time. - - Remember to always specify either initial or upgrade as the - deployment name to use, otherwise morph will attempt to deploy both. - - You can find documentation for Trove at the following web address: - http://wiki.baserock.org/Trove/ -systems: -- morph: systems/trove-system-x86_64.morph - deploy-defaults: - HOSTNAME: test-trove - VCPUS: 2 - RAM_SIZE: 2G - DISK_SIZE: 8G - LORRY_SSH_KEY: ssh_keys/lorry.key - WORKER_SSH_PUBKEY: ssh_keys/worker.key.pub - TROVE_ADMIN_EMAIL: adminuser@example.com - TROVE_ADMIN_NAME: Nobody - TROVE_ADMIN_SSH_PUBKEY: ssh_keys/trove-admin.key.pub - TROVE_ADMIN_USER: adminuser - TROVE_COMPANY: Company name goes here - TROVE_HOST: test-trove - TROVE_ID: test-trove - UPSTREAM_TROVE: '' - deploy: - initial: - type: extensions/kvm - location: kvm+ssh://vm-user@vm-host/test-trove/vm-path/test-trove.img - VERSION_LABEL: 1 - upgrade: - type: extensions/ssh-rsync - location: test-trove diff --git a/clusters/trove-example.morph.in b/clusters/trove-example.morph.in new file mode 100644 index 00000000..fae234de --- /dev/null +++ b/clusters/trove-example.morph.in @@ -0,0 +1,58 @@ +name: trove-example +kind: cluster +description: | + This is an example cluster morphology for deploying a Trove, + both the initial deployment and an upgrade. + + You need some ssh keys, which you can create like this: + + mkdir ssh_keys + ssh-keygen -N '' -f ssh_keys/lorry.key + ssh-keygen -N '' -f ssh_keys/worker.key + ssh-keygen -N '' -f ssh_keys/trove-admin.key + + You may also put in your own keys instead of creating new ones. + + To do the initial deployment: + + morph deploy clusters/trove-example.morph \ + initial \ + initial.location=kvm+ssh://liw@192.168.122.1/test-trove/tmp/test-trove.img + + To do an upgrade: + + morph deploy clusters/trove-example.morph \ + upgrade upgrade.VERSION_LABEL=123 + + where `VERSION_LABEL` gets a new unique value each time. + + Remember to always specify either initial or upgrade as the + deployment name to use, otherwise morph will attempt to deploy both. + + You can find documentation for Trove at the following web address: + http://wiki.baserock.org/Trove/ +systems: +- morph: systems/trove-system.{{CONFIG}}.morph + deploy-defaults: + HOSTNAME: test-trove + VCPUS: 2 + RAM_SIZE: 2G + DISK_SIZE: 8G + LORRY_SSH_KEY: ssh_keys/lorry.key + WORKER_SSH_PUBKEY: ssh_keys/worker.key.pub + TROVE_ADMIN_EMAIL: adminuser@example.com + TROVE_ADMIN_NAME: Nobody + TROVE_ADMIN_SSH_PUBKEY: ssh_keys/trove-admin.key.pub + TROVE_ADMIN_USER: adminuser + TROVE_COMPANY: Company name goes here + TROVE_HOST: test-trove + TROVE_ID: test-trove + UPSTREAM_TROVE: '' + deploy: + initial: + type: extensions/kvm + location: kvm+ssh://vm-user@vm-host/test-trove/vm-path/test-trove.img + VERSION_LABEL: 1 + upgrade: + type: extensions/ssh-rsync + location: test-trove diff --git a/clusters/upgrade-devel.morph b/clusters/upgrade-devel.morph deleted file mode 100644 index dcf1cd8d..00000000 --- a/clusters/upgrade-devel.morph +++ /dev/null @@ -1,39 +0,0 @@ -name: upgrade-devel -kind: cluster -description: | - This is a cluster morphology that can be used to deploy systems to a - an existing Baserock devel system, as an upgrade of the running system. - - This method is for users who deployed a system manually from one of the - images provided on http://download.baserock.org. IT IS ONLY POSSIBLE TO - UPGRADE BASEROCK 14 RELEASES OR NEWER. - - If you deployed your system using `morph deploy` then you should reuse the - cluster morphology you did the initial deployment with, instead of this one, - so that the configuration is preserved in the new system. - - Ensure that your root user has passwordless SSH access to localhost with - `ssh root@localhost whoami`. If not, run `ssh-copy-id root@localhost`. - Make sure the 'morph' field below matches the system you are upgrading. - - To upgrade, select a sensible a value for VERSION_LABEL and run: - - morph upgrade clusters/upgrade-devel.morph self.HOSTNAME=$(hostname) self.VERSION_LABEL=$VERSION_LABEL - - Your configuration in /etc should be propagated to the new system, but there - may be merge conflicts. Check /etc for files named '.rej' and '.orig' in the - new system, which will indicate that there are changes from the old system - that must be merged manually. You can get a nice diff from the old /etc as - follows: - - mount /dev/sda /mnt - git diff --no-index /mnt/systems/factory/run/etc /mnt/systems/$VERSION_LABEL/run/etc - - On a base system, use 'diff -r' instead of 'git diff --no-index'. It will - not be as colourful. -systems: -- morph: systems/devel-system-x86_64-generic.morph - deploy: - self: - upgrade-type: extensions/ssh-rsync - upgrade-location: root@127.0.0.1 diff --git a/clusters/upgrade-devel.morph.in b/clusters/upgrade-devel.morph.in new file mode 100644 index 00000000..63648f29 --- /dev/null +++ b/clusters/upgrade-devel.morph.in @@ -0,0 +1,39 @@ +name: upgrade-devel +kind: cluster +description: | + This is a cluster morphology that can be used to deploy systems to a + an existing Baserock devel system, as an upgrade of the running system. + + This method is for users who deployed a system manually from one of the + images provided on http://download.baserock.org. IT IS ONLY POSSIBLE TO + UPGRADE BASEROCK 14 RELEASES OR NEWER. + + If you deployed your system using `morph deploy` then you should reuse the + cluster morphology you did the initial deployment with, instead of this one, + so that the configuration is preserved in the new system. + + Ensure that your root user has passwordless SSH access to localhost with + `ssh root@localhost whoami`. If not, run `ssh-copy-id root@localhost`. + Make sure the 'morph' field below matches the system you are upgrading. + + To upgrade, select a sensible a value for VERSION_LABEL and run: + + morph upgrade clusters/upgrade-devel.morph self.HOSTNAME=$(hostname) self.VERSION_LABEL=$VERSION_LABEL + + Your configuration in /etc should be propagated to the new system, but there + may be merge conflicts. Check /etc for files named '.rej' and '.orig' in the + new system, which will indicate that there are changes from the old system + that must be merged manually. You can get a nice diff from the old /etc as + follows: + + mount /dev/sda /mnt + git diff --no-index /mnt/systems/factory/run/etc /mnt/systems/$VERSION_LABEL/run/etc + + On a base system, use 'diff -r' instead of 'git diff --no-index'. It will + not be as colourful. +systems: +- morph: systems/devel-system.{{ CONFIG }}morph + deploy: + self: + upgrade-type: extensions/ssh-rsync + upgrade-location: root@127.0.0.1 diff --git a/clusters/weston-qt5-system-deploy.morph.in b/clusters/weston-qt5-system-deploy.morph.in new file mode 100644 index 00000000..539d590f --- /dev/null +++ b/clusters/weston-qt5-system-deploy.morph.in @@ -0,0 +1,23 @@ +name: weston-qt5-system-deploy +kind: cluster +description: | + Deploy a stock Weston system with Qt5. + + The resulting image can be copied to a USB and booted from there, + as well as in a virtual machine. + +systems: +- morph: systems/weston-qt5-system.{{CONFIG}}.morph + deploy: + weston-qt5-system-x86_64: + type: extensions/rawdisk + location: /weston-qt5-system.img + DISK_SIZE: 4G + KERNEL_ARGS: vga=788 + INITRAMFS_PATH: boot/initramfs.gz + subsystems: + - morph: systems/initramfs.{{CONFIG}}.morph + deploy: + initramfs: + type: initramfs + location: boot/initramfs.gz diff --git a/clusters/weston-qt5-system-x86_64-deploy.morph b/clusters/weston-qt5-system-x86_64-deploy.morph deleted file mode 100644 index 64700314..00000000 --- a/clusters/weston-qt5-system-x86_64-deploy.morph +++ /dev/null @@ -1,23 +0,0 @@ -name: weston-qt5-system-x86_64 -kind: cluster -description: | - Deploy a stock weston system. - - The resulting image can be copied to a USB and booted from there, - as well as in a virtual machine. - -systems: -- morph: systems/weston-qt5-system-x86_64.morph - deploy: - weston-qt5-system-x86_64: - type: extensions/rawdisk - location: /weston-qt5-system-x86_64.img - DISK_SIZE: 4G - KERNEL_ARGS: vga=788 - INITRAMFS_PATH: boot/initramfs.gz - subsystems: - - morph: systems/initramfs-x86_64.morph - deploy: - initramfs: - type: initramfs - location: boot/initramfs.gz diff --git a/clusters/weston-system-deploy.morph.in b/clusters/weston-system-deploy.morph.in new file mode 100644 index 00000000..09f35a6d --- /dev/null +++ b/clusters/weston-system-deploy.morph.in @@ -0,0 +1,23 @@ +name: weston-system-deploy +kind: cluster +description: | + Deploy a stock weston system. + + The resulting image can be copied to a USB and booted from there, + as well as in a virtual machine. + +systems: +- morph: systems/weston-system.{{CONFIG}}.morph + deploy: + weston-system: + type: extensions/rawdisk + location: /weston-system.img + DISK_SIZE: 4G + KERNEL_ARGS: vga=788 + INITRAMFS_PATH: boot/initramfs.gz + subsystems: + - morph: systems/initramfs.{{CONFIG}}.morph + deploy: + initramfs: + type: extensions/initramfs + location: boot/initramfs.gz diff --git a/clusters/weston-system-x86_64-generic-deploy.morph b/clusters/weston-system-x86_64-generic-deploy.morph deleted file mode 100644 index 65e35bd7..00000000 --- a/clusters/weston-system-x86_64-generic-deploy.morph +++ /dev/null @@ -1,23 +0,0 @@ -name: weston-system-x86_64-generic-deploy -kind: cluster -description: | - Deploy a stock weston system. - - The resulting image can be copied to a USB and booted from there, - as well as in a virtual machine. - -systems: -- morph: systems/weston-system-x86_64-generic.morph - deploy: - weston-system-x86_64-generic: - type: extensions/rawdisk - location: /weston-system-x86_64-generic.img - DISK_SIZE: 4G - KERNEL_ARGS: vga=788 - INITRAMFS_PATH: boot/initramfs.gz - subsystems: - - morph: systems/initramfs-x86_64.morph - deploy: - initramfs: - type: extensions/initramfs - location: boot/initramfs.gz diff --git a/clusters/xfce-system-deploy.morph.in b/clusters/xfce-system-deploy.morph.in new file mode 100644 index 00000000..839892b6 --- /dev/null +++ b/clusters/xfce-system-deploy.morph.in @@ -0,0 +1,23 @@ +name: xfce-system-deploy +kind: cluster +description: | + Deploy a stock XFCE system. + + The resulting image can be copied to a USB and booted from there, + as well as in a virtual machine. + +systems: +- morph: systems/xfce-system.{{ ARCH }}.morph + deploy: + xfce-system: + type: extensions/rawdisk + location: /xfce-system.img + DISK_SIZE: 6G + KERNEL_ARGS: vga=788 + INITRAMFS_PATH: boot/initramfs.gz + subsystems: + - morph: systems/initramfs.{{ ARCH }}.morph + deploy: + initramfs: + type: extensions/initramfs + location: boot/initramfs.gz diff --git a/clusters/xfce-system-x86_64-deploy.morph b/clusters/xfce-system-x86_64-deploy.morph deleted file mode 100644 index e8bfe1e9..00000000 --- a/clusters/xfce-system-x86_64-deploy.morph +++ /dev/null @@ -1,23 +0,0 @@ -name: xfce-system-x86_64-deploy -kind: cluster -description: | - Deploy a stock XFCE system. - - The resulting image can be copied to a USB and booted from there, - as well as in a virtual machine. - -systems: -- morph: systems/xfce-system-x86_64.morph - deploy: - xfce-system-x86_64: - type: extensions/rawdisk - location: /xfce-system-x86_64.img - DISK_SIZE: 6G - KERNEL_ARGS: vga=788 - INITRAMFS_PATH: boot/initramfs.gz - subsystems: - - morph: systems/initramfs-x86_64.morph - deploy: - initramfs: - type: extensions/initramfs - location: boot/initramfs.gz diff --git a/clusters/zookeeper.morph b/clusters/zookeeper.morph deleted file mode 100644 index 80197726..00000000 --- a/clusters/zookeeper.morph +++ /dev/null @@ -1,21 +0,0 @@ -name: zookeeper -kind: cluster -systems: -- morph: systems/zookeeper-client-x86_64.morph - deploy: - my-client-system: - type: extensions/kvm - location: kvm+ssh://username@HOSTNAME/machinename/path/to/zookeeper-client.img - DISK_SIZE: 4G - RAM_SIZE: 1G - VCPUS: 1 - HOSTNAME: zkclient -- morph: systems/zookeeper-server-x86_64.morph - deploy: - my-server-system: - type: extensions/kvm - location: kvm+ssh://username@HOSTNAME/machinename/path/to/zookeeper-server.img - DISK_SIZE: 4G - RAM_SIZE: 1G - VCPUS: 1 - HOSTNAME: zkserver diff --git a/clusters/zookeeper.morph.in b/clusters/zookeeper.morph.in new file mode 100644 index 00000000..778c7d92 --- /dev/null +++ b/clusters/zookeeper.morph.in @@ -0,0 +1,21 @@ +name: zookeeper +kind: cluster +systems: +- morph: systems/zookeeper-client.{{CONFIG}}.morph + deploy: + my-client-system: + type: extensions/kvm + location: kvm+ssh://username@HOSTNAME/machinename/path/to/zookeeper-client.img + DISK_SIZE: 4G + RAM_SIZE: 1G + VCPUS: 1 + HOSTNAME: zkclient +- morph: systems/zookeeper-server.{{CONFIG}}.morph + deploy: + my-server-system: + type: extensions/kvm + location: kvm+ssh://username@HOSTNAME/machinename/path/to/zookeeper-server.img + DISK_SIZE: 4G + RAM_SIZE: 1G + VCPUS: 1 + HOSTNAME: zkserver diff --git a/configure b/configure new file mode 100755 index 00000000..e1d3e176 --- /dev/null +++ b/configure @@ -0,0 +1,330 @@ +#!/usr/bin/env python +# Copyright (C) 2016 Codethink Limited +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License along +# with this program. If not, see . + +'''Baserock Definitions configuration script. + +This generates various .morph files from corresponding .morph.in files. The +.morph.in files should use Jinja2 syntax to use the configuration parameters. + +There are predefined configurations you can use, for example 'x86_64-generic': + + ./configure x86_64-generic + +Run `./configure --list-configs` for a full list of these. + +You can also define your own configuration, but the name must not clash with +any of the built-in ones. For example: + + ./configure jetson-be --arch=armv7b + +The generated .morph files are named like `name.{{CONFIG}}.morph`; for example +`build-system.x86_64-generic.morph`. This means you can have as many +configurations set up in parallel as you want, as long as the names don't +clash. + +The 'configure' tool saves your configurations to a hidden file, and will +point out when you change an existing configuration. + +For information on the Jinja2 templating language, see: + + + +To add a new config setting, add it to the PARAMETERS dictionary, and possibly +add a new named configuration that uses it in the NAMED_CONFIGS list. + +''' + +import jinja2 + +import argparse +import json +import os +import sys +import tempfile + + +DEFAULT_ARCH = os.uname()[-1] + + +# All known configuration parameters. Names should be uppercase with _ to +# separate words. Each one is converted to a commandline option, these will +# be lowercase and use - to separate words. Properties are the same as for +# the 'argparse' module. +PARAMETERS = { + 'ARCH': dict( + type=str, default=DEFAULT_ARCH, + help="set architecture (default: %(default)s)", + ), + 'BSP': dict( + type=str, default=os.uname()[-1], + help="set 'board support' stratum (default: %(default)s)", + ), + 'ENABLE_VAGRANT_BASEBOX': dict( + type=bool, default=False, + help="configure systems that support it to work as Vagrant baseboxes", + ), +} + + +def compare_configs(a, b): + '''Compare two configuration dicts. + + Unset values are filled in from the defaults in PARAMETERS. + + ''' + for key in set(a.keys()).union(set(b.keys())): + default = PARAMETERS[key].get('default') + if a.get(key, default) != b.get(key, default): + return False + return True + + +# A list of predefined configurations. Users aren't allowed to use these names +# for other configurations. The idea of this is that users can report a failure +# in a specific config ('jetson', for example) and we will know exactly what +# the generated .morph file they are building should contain. +# +# Bear in mind that the Baserock reference systems are examples. Configurations +# listed here probably worked at some point, but they may not work now without +NAMED_CONFIGS = { + 'armv7b-highbank': dict( + ARCH='armv7b', BSP='armv7b-highbank'), + 'armv7b-vexpress-tc2': dict( + ARCH='armv7b', BSP='armv7b-vexpress-tc2'), + 'armv7l-altera-socfpga-devkit': dict( + ARCH='armv7l', BSP='armv7l-altera-socfpga-devkit'), + 'armv7l-versatile': dict( + ARCH='armv7l', BSP='armv7-versatile'), + 'armv7lhf-chroot': dict( + ARCH='armv7lhf', BSP=None), + 'armv7lhf-highbank': dict( + ARCH='armv7lhf', BSP='armv7-highbank'), + 'armv8b64-generic': dict( + ARCH='armv8b64', BSP='armv8b64-generic'), + 'armv8l64-generic': dict( + ARCH='armv8l64', BSP='armv8l64-generic'), + 'jetson': dict( + ARCH='armv7lhf', BSP='jetson'), + 'openbmc-aspeed': dict( + ARCH='armv5l', BSP='armv5l-openbmc-aspeed'), + 'ppc64-chroot': dict( + ARCH='ppc64', BSP=None), + 'ppc64-generic': dict( + ARCH='ppc64', BSP='ppc64-generic'), + 'wandboard': dict( + ARCH='armv7lhf', BSP='wandboard'), + 'x86_32-chroot': dict( + ARCH='x86_32', BSP=None), + 'x86_32-generic': dict( + ARCH='x86_32', BSP='x86_32-generic'), + 'x86_64-chroot': dict( + ARCH='x86_64', BSP=None), + 'x86_64-generic': dict( + ARCH='x86_64', BSP='x86_64-generic'), + 'x86_64-vagrant': dict( + ARCH='x86_64', BSP='x86_64-vagrant', ENABLE_VAGRANT_BASEBOX=True), +} + + +def argument_parser(): + '''Generate a commandline argument parser for `configure`. + + The values from PARAMETERS are turned into proper commandline arguments. + + ''' + parser = argparse.ArgumentParser( + description="Baserock Definitions configure script") + + parser.add_argument( + 'name', nargs='?', + help="name of this configuration") + + class list_all_configs_and_exit(argparse.Action): + def __call__(*args, **kwargs): + sys.stdout.write('Built-in configurations:\n ') + sys.stdout.write('\n '.join(sorted(name for name in NAMED_CONFIGS))) + sys.stdout.write('\n') + sys.exit(0) + + parser.add_argument( + '--list-configs', '-l', nargs=0, action=list_all_configs_and_exit, + help="list all named configurations") + + parser.add_argument( + '--output-dir', '-o', + help="directory to output generated files to (default: current dir)", + default='.', metavar='DIR') + + def config_var_to_arg(name): + return '--' + name.lower().replace('_', '-') + + for name, settings in PARAMETERS.iteritems(): + if settings['type'] == bool: + # argparse handles true/false parameters in a 'special' way. + argparse_settings = settings.copy() + del argparse_settings['type'] + if settings['default'] == True: + argparse_settings['action'] = 'store_false' + elif settings['default'] == False: + argparse_settings['action'] = 'store_true' + parser.add_argument( + config_var_to_arg(name), **argparse_settings) + else: + parser.add_argument( + config_var_to_arg(name), **settings) + + return parser + + +class SaveFile(file): + '''Save files with a temporary name and rename when they're ready.''' + + def __init__(self, filename, *args, **kwargs): + self.real_filename = filename + dirname = os.path.dirname(filename) + fd, self._savefile_tempname = tempfile.mkstemp(dir=dirname) + os.close(fd) + file.__init__(self, self._savefile_tempname, *args, **kwargs) + + def abort(self): + os.remove(self._savefile_tempname) + return file.close(self) + + def close(self): + ret = file.close(self) + os.rename(self._savefile_tempname, self.real_filename) + return ret + + +def status(message, *args): + print(message % args) + + +def get_jinja_vars(args): + '''Work out the actual configuration values we should be using. + + If a named configuration was specified, we use that. + + ''' + if args.name and args.name in NAMED_CONFIGS: + jinja_vars = NAMED_CONFIGS[args.name] + + # We don't allow customising these configurations. + for param_name, param_settings in PARAMETERS.items(): + value = getattr(args, param_name.lower()) + expected_value = param_settings.get('default') + if value != expected_value: + raise RuntimeError( + "Please specify a custom name for this configuration, or " + "use the expected value for %s: %s" % ( + param_name, NAMED_CONFIGS[args.name][param_name])) + if param_name not in jinja_vars: + jinja_vars[param_name] = expected_value + + jinja_vars['CONFIG'] = args.name + else: + jinja_vars = {} + + for param_name, param_settings in PARAMETERS.items(): + value = getattr(args, param_name.lower()) + jinja_vars[param_name] = value + + if args.name: + jinja_vars['CONFIG'] = args.name + else: + # If this config matches a built-in one, use that name + for name, config in NAMED_CONFIGS.items(): + if jinja_vars == config: + jinja_vars['CONFIG'] = name + break + else: + raise RuntimeError( + "Please specify a name for this configuration, or use one of " + "the built-in configurations (use `-l` to get a list).") + + return jinja_vars + + +def generate(environment, input_path, output_dir, jinja_vars): + '''Generate a .morph file from a .morph.in file, using Jinja2.''' + base_name = os.path.basename(input_path[:-len('.morph.in')]) + output_name = base_name + '.' + jinja_vars['CONFIG'] + '.morph' + output_path = os.path.join(output_dir, output_name) + + try: + input_file = environment.get_template(input_path) + except jinja2.exceptions.TemplateSyntaxError as e: + raise RuntimeError("%s:%i: %s" % (e.filename, e.lineno, e)) + + with SaveFile(output_path, 'w') as f: + f.write('# Generated from %s\n' % input_path) + f.write(input_file.render(**jinja_vars) + '\n') + f.write('# Generated from %s\n' % input_path) + + +def main(): + args = argument_parser().parse_args() + + output_dir = args.output_dir or '.' + + jinja_vars = get_jinja_vars(args) + config_name = jinja_vars['CONFIG'] + + if not os.path.isdir(output_dir): + os.mkdir(output_dir) + + configs_file = os.path.join(output_dir, '.configurations') + try: + with open(configs_file, 'r') as f: + existing_configs = json.load(f) + except (IOError, ValueError) as e: + existing_configs = dict() + + loader = jinja2.FileSystemLoader('.') + environment = jinja2.Environment(loader=loader) + + if config_name in existing_configs: + status("Regenerating '%s' configuration:" % config_name) + existing_config = existing_configs[config_name] + else: + status("Generating '%s' configuration:" % config_name) + existing_configs = None + + for var, value in jinja_vars.items(): + if var != 'CONFIG': + if var in existing_config and existing_config[var] != value: + status(" %s: %s (was: %s)" % (var, value, + existing_config[var])) + else: + status(" %s: %s" % (var, value)) + + for dirpath, dirnames, filenames in os.walk('.'): + for f in filenames: + if f.endswith('.morph.in'): + input_path = os.path.join(dirpath, f) + + generate (environment, input_path, + os.path.join(output_dir, dirpath), jinja_vars) + + existing_configs[config_name] = jinja_vars + with SaveFile(configs_file, 'w') as f: + json.dump(existing_configs, f) + + +try: + main() +except RuntimeError as e: + sys.stderr.write("%s\n" % e) + sys.exit(1) diff --git a/strata/bsp-x86_both-tools.morph b/strata/bsp-x86_both-tools.morph deleted file mode 100644 index 0d159ce6..00000000 --- a/strata/bsp-x86_both-tools.morph +++ /dev/null @@ -1,21 +0,0 @@ -name: bsp-x86_both-tools -kind: stratum -description: The set of platform specific components required for configuring a bootable - x86 based system. -build-depends: -# nasm wants asciidoc and xmlto for generating its docs -# so include docutils here -- morph: strata/docutils.morph -chunks: -- name: nasm - morph: strata/bsp-x86_both-tools/nasm.morph - repo: upstream:nasm - ref: 8fa0fe16408afc76ce1ae4387e1a9d46893cfda6 - unpetrify-ref: nasm-2.11.08 -- name: syslinux - morph: strata/bsp-x86_both-tools/syslinux.morph - repo: upstream:syslinux - ref: d715b39c0801ecea5e52f9029cea7c76320f93cf - unpetrify-ref: baserock/morph - build-depends: - - nasm diff --git a/strata/bsp-x86_both-tools/nasm.morph b/strata/bsp-x86_both-tools/nasm.morph deleted file mode 100644 index 0ab1a629..00000000 --- a/strata/bsp-x86_both-tools/nasm.morph +++ /dev/null @@ -1,5 +0,0 @@ -name: nasm -kind: chunk -build-system: autotools -install-commands: -- make INSTALLROOT="$DESTDIR" install diff --git a/strata/bsp-x86_both-tools/syslinux.morph b/strata/bsp-x86_both-tools/syslinux.morph deleted file mode 100644 index 4570865b..00000000 --- a/strata/bsp-x86_both-tools/syslinux.morph +++ /dev/null @@ -1,12 +0,0 @@ -name: syslinux -kind: chunk -products: -- artifact: syslinux-devel - include: - - (usr/)?share/syslinux/com32.* -build-commands: -- make clean -- make NO_WERROR=1 -- make NO_WERROR=1 installer -install-commands: -- make INSTALLROOT="$DESTDIR" install diff --git a/strata/syslinux-group.morph b/strata/syslinux-group.morph new file mode 100644 index 00000000..a7f5afca --- /dev/null +++ b/strata/syslinux-group.morph @@ -0,0 +1,21 @@ +name: syslinux-group +kind: stratum +description: + The SYSLINUX bootloader. +build-depends: +# nasm wants asciidoc and xmlto for generating its docs +# so include docutils here +- morph: strata/docutils.morph +chunks: +- name: nasm + morph: strata/syslinux-group/nasm.morph + repo: upstream:nasm + ref: 8fa0fe16408afc76ce1ae4387e1a9d46893cfda6 + unpetrify-ref: nasm-2.11.08 +- name: syslinux + morph: strata/syslinux-group/syslinux.morph + repo: upstream:syslinux + ref: d715b39c0801ecea5e52f9029cea7c76320f93cf + unpetrify-ref: baserock/morph + build-depends: + - nasm diff --git a/strata/syslinux-group/nasm.morph b/strata/syslinux-group/nasm.morph new file mode 100644 index 00000000..0ab1a629 --- /dev/null +++ b/strata/syslinux-group/nasm.morph @@ -0,0 +1,5 @@ +name: nasm +kind: chunk +build-system: autotools +install-commands: +- make INSTALLROOT="$DESTDIR" install diff --git a/strata/syslinux-group/syslinux.morph b/strata/syslinux-group/syslinux.morph new file mode 100644 index 00000000..4570865b --- /dev/null +++ b/strata/syslinux-group/syslinux.morph @@ -0,0 +1,12 @@ +name: syslinux +kind: chunk +products: +- artifact: syslinux-devel + include: + - (usr/)?share/syslinux/com32.* +build-commands: +- make clean +- make NO_WERROR=1 +- make NO_WERROR=1 installer +install-commands: +- make INSTALLROOT="$DESTDIR" install diff --git a/strata/virtualbox-guest-x86_64.morph b/strata/virtualbox-guest-x86_64.morph deleted file mode 100644 index fadcec92..00000000 --- a/strata/virtualbox-guest-x86_64.morph +++ /dev/null @@ -1,22 +0,0 @@ -name: virtualbox-guest-x86_64 -kind: stratum -description: | - VirtualBox Guest Additions for x86_64 -build-depends: -- morph: strata/tools.morph -- morph: strata/bsp-x86_64-generic.morph -- morph: strata/x-common.morph -- morph: strata/x-generic.morph -chunks: -- name: yasm - morph: strata/virtualbox-guest-x86_64/yasm.morph - repo: upstream:yasm - ref: fefefe262eb29081f0bcb4d48f2d476ce5730562 - unpetrify-ref: baserock/morph -- name: vboxguest - morph: strata/virtualbox-guest-x86_64/vboxguest.morph - repo: upstream:VirtualBox - ref: 617aeb5a3c13f4a46423e8c2fb560449403ad56d - unpetrify-ref: baserock/morph - build-depends: - - yasm diff --git a/strata/virtualbox-guest-x86_64.morph.in b/strata/virtualbox-guest-x86_64.morph.in new file mode 100644 index 00000000..610c795a --- /dev/null +++ b/strata/virtualbox-guest-x86_64.morph.in @@ -0,0 +1,22 @@ +name: virtualbox-guest +kind: stratum +description: | + VirtualBox Guest Additions +build-depends: +- morph: strata/tools.morph +- morph: strata/bsp-{{BSP}}.morph +- morph: strata/x-common.morph +- morph: strata/x-generic.morph +chunks: +- name: yasm + morph: strata/virtualbox-guest/yasm.morph + repo: upstream:yasm + ref: fefefe262eb29081f0bcb4d48f2d476ce5730562 + unpetrify-ref: baserock/morph +- name: vboxguest + morph: strata/virtualbox-guest/vboxguest.morph + repo: upstream:VirtualBox + ref: 617aeb5a3c13f4a46423e8c2fb560449403ad56d + unpetrify-ref: baserock/morph + build-depends: + - yasm diff --git a/strata/virtualbox-guest-x86_64/vboxguest.morph b/strata/virtualbox-guest-x86_64/vboxguest.morph deleted file mode 100644 index f31c9944..00000000 --- a/strata/virtualbox-guest-x86_64/vboxguest.morph +++ /dev/null @@ -1,34 +0,0 @@ -name: vboxguest -kind: chunk -description: | - VirtualBox guest additions -max-jobs: 1 -build-commands: -- truncate -s0 src/VBox/Additions/common/pam/Makefile.kmk -- env PATH="${PATH}:$(pwd)/kBuild/bin/linux.amd64/" VBOX_ONLY_ADDITIONS=1 VBOX_ONLY_BUILD=1 - kmk -- cd out/linux.amd64/release/bin/additions/src/ && make M="$(pwd)" -C /usr/src/linux - modules -install-commands: -- cd out/linux.amd64/release/bin/additions/src && make M="$(pwd)" -C /usr/src/linux - INSTALL_MOD_PATH="$DESTDIR" modules_install -- install -m 755 -D -o 0 -g 0 out/linux.amd64/release/bin/additions/mount.vboxsf "$DESTDIR/sbin/mount.vboxsf" -- install -m 755 -D -o 0 -g 0 out/linux.amd64/release/bin/additions/VBoxService "$DESTDIR/sbin/VBoxService" -- install -m 755 -D -o 0 -g 0 out/linux.amd64/release/bin/additions/VBoxControl "$DESTDIR/sbin/VBoxControl" -- | - install -m 644 -D -o 0 -g 0 /proc/self/fd/0 "$DESTDIR/lib/systemd/system/virtualbox-guest.service" < "$DESTDIR/etc/modules-load.d/virtualbox-guest-filesystem.conf" -system-integration: - vboxguest-misc: - 00-depmod: - - depmod -a $(cd /lib/modules; ls | head -n 1) diff --git a/strata/virtualbox-guest-x86_64/yasm.morph b/strata/virtualbox-guest-x86_64/yasm.morph deleted file mode 100644 index 437ae97d..00000000 --- a/strata/virtualbox-guest-x86_64/yasm.morph +++ /dev/null @@ -1,4 +0,0 @@ -name: yasm -kind: chunk -max-jobs: 1 -build-system: autotools diff --git a/strata/virtualbox-guest/vboxguest.morph b/strata/virtualbox-guest/vboxguest.morph new file mode 100644 index 00000000..f31c9944 --- /dev/null +++ b/strata/virtualbox-guest/vboxguest.morph @@ -0,0 +1,34 @@ +name: vboxguest +kind: chunk +description: | + VirtualBox guest additions +max-jobs: 1 +build-commands: +- truncate -s0 src/VBox/Additions/common/pam/Makefile.kmk +- env PATH="${PATH}:$(pwd)/kBuild/bin/linux.amd64/" VBOX_ONLY_ADDITIONS=1 VBOX_ONLY_BUILD=1 + kmk +- cd out/linux.amd64/release/bin/additions/src/ && make M="$(pwd)" -C /usr/src/linux + modules +install-commands: +- cd out/linux.amd64/release/bin/additions/src && make M="$(pwd)" -C /usr/src/linux + INSTALL_MOD_PATH="$DESTDIR" modules_install +- install -m 755 -D -o 0 -g 0 out/linux.amd64/release/bin/additions/mount.vboxsf "$DESTDIR/sbin/mount.vboxsf" +- install -m 755 -D -o 0 -g 0 out/linux.amd64/release/bin/additions/VBoxService "$DESTDIR/sbin/VBoxService" +- install -m 755 -D -o 0 -g 0 out/linux.amd64/release/bin/additions/VBoxControl "$DESTDIR/sbin/VBoxControl" +- | + install -m 644 -D -o 0 -g 0 /proc/self/fd/0 "$DESTDIR/lib/systemd/system/virtualbox-guest.service" < "$DESTDIR/etc/modules-load.d/virtualbox-guest-filesystem.conf" +system-integration: + vboxguest-misc: + 00-depmod: + - depmod -a $(cd /lib/modules; ls | head -n 1) diff --git a/strata/virtualbox-guest/yasm.morph b/strata/virtualbox-guest/yasm.morph new file mode 100644 index 00000000..437ae97d --- /dev/null +++ b/strata/virtualbox-guest/yasm.morph @@ -0,0 +1,4 @@ +name: yasm +kind: chunk +max-jobs: 1 +build-system: autotools diff --git a/systems/armv7lhf-cross-toolchain-system-x86_32.morph b/systems/armv7lhf-cross-toolchain-system-x86_32.morph deleted file mode 100644 index b0ac9cfe..00000000 --- a/systems/armv7lhf-cross-toolchain-system-x86_32.morph +++ /dev/null @@ -1,19 +0,0 @@ -name: armv7lhf-cross-toolchain-system-x86_32 -kind: system -description: A system that contains an ARM cross compiler, intended to be used as - a sysroot. -arch: x86_32 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: armv7lhf-cross-toolchain - morph: strata/armv7lhf-cross-toolchain.morph -- name: cross-tools - morph: strata/cross-tools.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/simple-network -- extensions/nfsboot -- extensions/install-files -- extensions/install-essential-files diff --git a/systems/armv7lhf-cross-toolchain-system-x86_64.morph b/systems/armv7lhf-cross-toolchain-system-x86_64.morph deleted file mode 100644 index 1bd1adc1..00000000 --- a/systems/armv7lhf-cross-toolchain-system-x86_64.morph +++ /dev/null @@ -1,19 +0,0 @@ -name: armv7lhf-cross-toolchain-system-x86_64 -kind: system -description: A system that contains an ARM cross compiler, intended to be used as - a sysroot. -arch: x86_64 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: armv7lhf-cross-toolchain - morph: strata/armv7lhf-cross-toolchain.morph -- name: cross-tools - morph: strata/cross-tools.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/simple-network -- extensions/nfsboot -- extensions/install-files -- extensions/install-essential-files diff --git a/systems/armv7lhf-cross-toolchain-system.morph.in b/systems/armv7lhf-cross-toolchain-system.morph.in new file mode 100644 index 00000000..3d6d90ef --- /dev/null +++ b/systems/armv7lhf-cross-toolchain-system.morph.in @@ -0,0 +1,19 @@ +name: armv7lhf-cross-toolchain-system.{{CONFIG}} +kind: system +description: A system that contains an ARM cross compiler, intended to be used as + a sysroot. +arch: {{ ARCH }} +strata: +- name: build-essential + morph: strata/build-essential.morph +- name: armv7lhf-cross-toolchain + morph: strata/armv7lhf-cross-toolchain.morph +- name: cross-tools + morph: strata/cross-tools.morph +configuration-extensions: +- extensions/set-hostname +- extensions/add-config-files +- extensions/simple-network +- extensions/nfsboot +- extensions/install-files +- extensions/install-essential-files diff --git a/systems/base-system-armv7-highbank.morph b/systems/base-system-armv7-highbank.morph deleted file mode 100644 index 32d773e8..00000000 --- a/systems/base-system-armv7-highbank.morph +++ /dev/null @@ -1,20 +0,0 @@ -name: base-system-armv7-highbank -kind: system -description: The set of strata required to have a minimal system for an ARM highbank - system. -arch: armv7l -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: bsp-armv7-highbank - morph: strata/bsp-armv7-highbank.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/install-essential-files diff --git a/systems/base-system-armv7-versatile.morph b/systems/base-system-armv7-versatile.morph deleted file mode 100644 index 4f039c02..00000000 --- a/systems/base-system-armv7-versatile.morph +++ /dev/null @@ -1,20 +0,0 @@ -name: base-system-armv7-versatile -kind: system -description: The set of strata required to have a minimal system for an ARM versatile - system. -arch: armv7l -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: bsp-armv7-versatile - morph: strata/bsp-armv7-versatile.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/install-essential-files diff --git a/systems/base-system-armv7b-highbank.morph b/systems/base-system-armv7b-highbank.morph deleted file mode 100644 index 969967b5..00000000 --- a/systems/base-system-armv7b-highbank.morph +++ /dev/null @@ -1,20 +0,0 @@ -name: base-system-armv7b-highbank -kind: system -description: The set of strata required to have a minimal system for an ARM highbank - system. -arch: armv7b -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: bsp-armv7b-highbank - morph: strata/bsp-armv7b-highbank.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/install-essential-files diff --git a/systems/base-system-armv7b-vexpress-tc2.morph b/systems/base-system-armv7b-vexpress-tc2.morph deleted file mode 100644 index cbfedd89..00000000 --- a/systems/base-system-armv7b-vexpress-tc2.morph +++ /dev/null @@ -1,19 +0,0 @@ -name: base-system-armv7b-vexpress-tc2 -kind: system -description: A small system for Versatile TC2 boards system. -arch: armv7b -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: bsp-armv7b-vexpress-tc2 - morph: strata/bsp-armv7b-vexpress-tc2.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/install-essential-files diff --git a/systems/base-system-armv7l-altera-socfpga-devkit.morph b/systems/base-system-armv7l-altera-socfpga-devkit.morph deleted file mode 100644 index b8fe4c28..00000000 --- a/systems/base-system-armv7l-altera-socfpga-devkit.morph +++ /dev/null @@ -1,21 +0,0 @@ -name: base-system-armv7l-altera-socfpga-devkit -kind: system -description: | - The set of strata required to have a minimal system for use on Altera SoCFPGA - development kit, using little-endian word order. -arch: armv7lhf -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: bsp-armv7l-altera-socfpga-devkit - morph: strata/bsp-armv7l-altera-socfpga-devkit.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/install-essential-files diff --git a/systems/base-system-armv7lhf-highbank.morph b/systems/base-system-armv7lhf-highbank.morph deleted file mode 100644 index 399931a5..00000000 --- a/systems/base-system-armv7lhf-highbank.morph +++ /dev/null @@ -1,20 +0,0 @@ -name: base-system-armv7lhf-highbank -kind: system -description: The set of strata required to have a minimal system for an ARM highbank - system. -arch: armv7lhf -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: bsp-armv7-highbank - morph: strata/bsp-armv7-highbank.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/install-essential-files diff --git a/systems/base-system-armv8b64.morph b/systems/base-system-armv8b64.morph deleted file mode 100644 index d23bde9b..00000000 --- a/systems/base-system-armv8b64.morph +++ /dev/null @@ -1,22 +0,0 @@ -name: base-system-armv8b64 -kind: system -description: | - The set of strata required to have a minimal - system for big endian 64-bit ARMv8 computers. -arch: armv8b64 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: bsp-armv8b64-generic - morph: strata/bsp-armv8b64-generic.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/moonshot-kernel -- extensions/install-essential-files diff --git a/systems/base-system-armv8l64.morph b/systems/base-system-armv8l64.morph deleted file mode 100644 index 24104a8b..00000000 --- a/systems/base-system-armv8l64.morph +++ /dev/null @@ -1,22 +0,0 @@ -name: base-system-armv8l64 -kind: system -description: | - The set of strata required to have a minimal - system for little endian 64-bit ARMv8 computers. -arch: armv8l64 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: bsp-armv8l64-generic - morph: strata/bsp-armv8l64-generic.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/moonshot-kernel -- extensions/install-essential-files diff --git a/systems/base-system-ppc64-generic.morph b/systems/base-system-ppc64-generic.morph deleted file mode 100644 index 6da852e3..00000000 --- a/systems/base-system-ppc64-generic.morph +++ /dev/null @@ -1,20 +0,0 @@ -name: base-system-ppc64-generic -kind: system -description: The set of strata required to have a minimal system for a 64-bit ppc64 - system. -arch: ppc64 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: bsp-ppc64-generic - morph: strata/bsp-ppc64-generic.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/install-essential-files diff --git a/systems/base-system-x86_32-generic.morph b/systems/base-system-x86_32-generic.morph deleted file mode 100644 index d89fd913..00000000 --- a/systems/base-system-x86_32-generic.morph +++ /dev/null @@ -1,19 +0,0 @@ -name: base-system-x86_32-generic -kind: system -description: The set of strata required to have a basic system for a 32-bit x86 system. -arch: x86_32 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: bsp-x86_32-generic - morph: strata/bsp-x86_32-generic.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/install-essential-files diff --git a/systems/base-system-x86_64-generic.morph b/systems/base-system-x86_64-generic.morph deleted file mode 100644 index aa1659b3..00000000 --- a/systems/base-system-x86_64-generic.morph +++ /dev/null @@ -1,20 +0,0 @@ -name: base-system-x86_64-generic -kind: system -description: The set of strata required to have a minimal system for a 64-bit x86 - system. -arch: x86_64 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: bsp-x86_64-generic - morph: strata/bsp-x86_64-generic.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/install-essential-files diff --git a/systems/base-system.morph.in b/systems/base-system.morph.in new file mode 100644 index 00000000..c448041e --- /dev/null +++ b/systems/base-system.morph.in @@ -0,0 +1,22 @@ +name: base-system.{{CONFIG}} +kind: system +description: | + Example Baserock system that can boot to a Bash console. +arch: {{ ARCH }} +strata: +- name: build-essential + morph: strata/build-essential.morph +- name: core + morph: strata/core.morph +- name: foundation + morph: strata/foundation.morph +{% if BSP %} +- name: bsp-{{ BSP }} + morph: strata/bsp-{{ BSP }}.morph +{% endif %} +configuration-extensions: +- extensions/set-hostname +- extensions/add-config-files +- extensions/nfsboot +- extensions/install-files +- extensions/install-essential-files diff --git a/systems/build-system-armv5l-openbmc-aspeed.morph b/systems/build-system-armv5l-openbmc-aspeed.morph deleted file mode 100644 index f9524161..00000000 --- a/systems/build-system-armv5l-openbmc-aspeed.morph +++ /dev/null @@ -1,47 +0,0 @@ -name: build-system-armv5l-openbmc-aspeed -kind: system -description: | - The system that should be used for building other Baserock systems - for little endian ARMv5 computers. -arch: armv5l -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: python2-core - morph: strata/python2-core.morph -- name: bsp-armv5l-openbmc-aspeed - morph: strata/bsp-armv5l-openbmc-aspeed.morph -- name: tools - morph: strata/tools.morph -- name: python-cliapp - morph: strata/python-cliapp.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: python-wsgi - morph: strata/python-wsgi.morph -- name: morph-utils - morph: strata/morph-utils.morph -- name: devtools - morph: strata/devtools.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: glib-common - morph: strata/glib-common.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: mtd-utilities - morph: strata/mtd-utilities.morph -- name: sandboxing - morph: strata/sandboxing.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/fstab -- extensions/install-essential-files -- extensions/hosts diff --git a/systems/build-system-armv7l-altera-socfpga-devkit.morph b/systems/build-system-armv7l-altera-socfpga-devkit.morph deleted file mode 100644 index 5d83cb6a..00000000 --- a/systems/build-system-armv7l-altera-socfpga-devkit.morph +++ /dev/null @@ -1,51 +0,0 @@ -name: build-system-armv7l-altera-socfpga-devkit -kind: system -description: | - The system that should be used for building other Baserock systems. For - use on Altera SoCFPGA development kit, using little-endian word order. -arch: armv7lhf -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: bsp-armv7l-altera-socfpga-devkit - morph: strata/bsp-armv7l-altera-socfpga-devkit.morph -- name: python2-core - morph: strata/python2-core.morph -- name: tools - morph: strata/tools.morph -- name: python-cliapp - morph: strata/python-cliapp.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: python-wsgi - morph: strata/python-wsgi.morph -- name: morph-utils - morph: strata/morph-utils.morph -- name: nfs - morph: strata/nfs.morph -- name: python-common - morph: strata/python-common.morph -- name: ansible - morph: strata/ansible.morph -- name: devtools - morph: strata/devtools.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: sandboxing - morph: strata/sandboxing.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/distbuild -- extensions/fstab -- extensions/mason -- extensions/install-essential-files -- extensions/hosts diff --git a/systems/build-system-armv7lhf-highbank.morph b/systems/build-system-armv7lhf-highbank.morph deleted file mode 100644 index afb35fec..00000000 --- a/systems/build-system-armv7lhf-highbank.morph +++ /dev/null @@ -1,61 +0,0 @@ -name: build-system-armv7lhf-highbank -kind: system -description: The system that should be used for building all other Baserock systems - for ARMv7 little-endian hard-float Calxeda Highbank computers. -arch: armv7lhf -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: python2-core - morph: strata/python2-core.morph -- name: bsp-armv7-highbank - morph: strata/bsp-armv7-highbank.morph -- name: tools - morph: strata/tools.morph -- name: python-cliapp - morph: strata/python-cliapp.morph -- name: python-wsgi - morph: strata/python-wsgi.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: morph-utils - morph: strata/morph-utils.morph -- name: nfs - morph: strata/nfs.morph -- name: python-common - morph: strata/python-common.morph -- name: ansible - morph: strata/ansible.morph -- name: cloudinit-support - morph: strata/cloudinit-support.morph -- name: openstack-common - morph: strata/openstack-common.morph -- name: openstack-clients - morph: strata/openstack-clients.morph -- name: devtools - morph: strata/devtools.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: glib-common - morph: strata/glib-common.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: unionfs-fuse-group - morph: strata/unionfs-fuse-group.morph -- name: sandboxing - morph: strata/sandboxing.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/distbuild -- extensions/fstab -- extensions/mason -- extensions/cloud-init -- extensions/install-essential-files -- extensions/hosts diff --git a/systems/build-system-armv7lhf-jetson.morph b/systems/build-system-armv7lhf-jetson.morph deleted file mode 100644 index 16c8a7d6..00000000 --- a/systems/build-system-armv7lhf-jetson.morph +++ /dev/null @@ -1,59 +0,0 @@ -name: build-system-armv7lhf-jetson -kind: system -description: The system that should be used for building all other Baserock systems - for ARMv7 little-endian hard-float NVIDIA Jetson TK1 computers. -arch: armv7lhf -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: python2-core - morph: strata/python2-core.morph -- name: bsp-jetson - morph: strata/bsp-jetson.morph -- name: tools - morph: strata/tools.morph -- name: python-cliapp - morph: strata/python-cliapp.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: python-wsgi - morph: strata/python-wsgi.morph -- name: morph-utils - morph: strata/morph-utils.morph -- name: nfs - morph: strata/nfs.morph -- name: python-common - morph: strata/python-common.morph -- name: ansible - morph: strata/ansible.morph -- name: cloudinit-support - morph: strata/cloudinit-support.morph -- name: openstack-common - morph: strata/openstack-common.morph -- name: openstack-clients - morph: strata/openstack-clients.morph -- name: devtools - morph: strata/devtools.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: glib-common - morph: strata/glib-common.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: sandboxing - morph: strata/sandboxing.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/distbuild -- extensions/fstab -- extensions/mason -- extensions/cloud-init -- extensions/install-essential-files -- extensions/hosts diff --git a/systems/build-system-armv7lhf-rootfs.morph b/systems/build-system-armv7lhf-rootfs.morph deleted file mode 100644 index 7a614c62..00000000 --- a/systems/build-system-armv7lhf-rootfs.morph +++ /dev/null @@ -1,57 +0,0 @@ -name: build-system-armv7lhf-rootfs -kind: system -description: The system that should be used for building all other Baserock systems - for ARMv7 little-endian hard-float, rootfs variant. -arch: armv7lhf -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: python2-core - morph: strata/python2-core.morph -- name: tools - morph: strata/tools.morph -- name: python-cliapp - morph: strata/python-cliapp.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: python-wsgi - morph: strata/python-wsgi.morph -- name: morph-utils - morph: strata/morph-utils.morph -- name: nfs - morph: strata/nfs.morph -- name: python-common - morph: strata/python-common.morph -- name: ansible - morph: strata/ansible.morph -- name: cloudinit-support - morph: strata/cloudinit-support.morph -- name: openstack-common - morph: strata/openstack-common.morph -- name: openstack-clients - morph: strata/openstack-clients.morph -- name: devtools - morph: strata/devtools.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: glib-common - morph: strata/glib-common.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: sandboxing - morph: strata/sandboxing.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/distbuild -- extensions/fstab -- extensions/mason -- extensions/cloud-init -- extensions/install-essential-files -- extensions/hosts diff --git a/systems/build-system-armv8b64.morph b/systems/build-system-armv8b64.morph deleted file mode 100644 index 9d7a69f6..00000000 --- a/systems/build-system-armv8b64.morph +++ /dev/null @@ -1,61 +0,0 @@ -name: build-system-armv8b64 -kind: system -description: | - The system that should be used for building all other Baserock systems - for 64-bit ARMv8 computers running in big-endian mode. -arch: armv8b64 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: bsp-armv8b64-generic - morph: strata/bsp-armv8b64-generic.morph -- name: python2-core - morph: strata/python2-core.morph -- name: tools - morph: strata/tools.morph -- name: python-cliapp - morph: strata/python-cliapp.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: python-wsgi - morph: strata/python-wsgi.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: glib-common - morph: strata/glib-common.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: morph-utils - morph: strata/morph-utils.morph -- name: nfs - morph: strata/nfs.morph -- name: python-common - morph: strata/python-common.morph -- name: ansible - morph: strata/ansible.morph -- name: cloudinit-support - morph: strata/cloudinit-support.morph -- name: openstack-common - morph: strata/openstack-common.morph -- name: openstack-clients - morph: strata/openstack-clients.morph -- name: devtools - morph: strata/devtools.morph -- name: sandboxing - morph: strata/sandboxing.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/distbuild -- extensions/fstab -- extensions/mason -- extensions/cloud-init -- extensions/moonshot-kernel -- extensions/install-essential-files -- extensions/hosts diff --git a/systems/build-system-armv8l64.morph b/systems/build-system-armv8l64.morph deleted file mode 100644 index d5c2a7e7..00000000 --- a/systems/build-system-armv8l64.morph +++ /dev/null @@ -1,61 +0,0 @@ -name: build-system-armv8l64 -kind: system -description: | - The system that should be used for building all other Baserock systems - for little endian 64-bit ARMv8 computers. -arch: armv8l64 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: python2-core - morph: strata/python2-core.morph -- name: bsp-armv8l64-generic - morph: strata/bsp-armv8l64-generic.morph -- name: tools - morph: strata/tools.morph -- name: python-cliapp - morph: strata/python-cliapp.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: python-wsgi - morph: strata/python-wsgi.morph -- name: morph-utils - morph: strata/morph-utils.morph -- name: nfs - morph: strata/nfs.morph -- name: python-common - morph: strata/python-common.morph -- name: ansible - morph: strata/ansible.morph -- name: cloudinit-support - morph: strata/cloudinit-support.morph -- name: openstack-common - morph: strata/openstack-common.morph -- name: openstack-clients - morph: strata/openstack-clients.morph -- name: devtools - morph: strata/devtools.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: glib-common - morph: strata/glib-common.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: sandboxing - morph: strata/sandboxing.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/distbuild -- extensions/fstab -- extensions/mason -- extensions/cloud-init -- extensions/moonshot-kernel -- extensions/install-essential-files -- extensions/hosts diff --git a/systems/build-system-ppc64.morph b/systems/build-system-ppc64.morph deleted file mode 100644 index fcedcdb0..00000000 --- a/systems/build-system-ppc64.morph +++ /dev/null @@ -1,59 +0,0 @@ -name: build-system-ppc64 -kind: system -description: The system that should be used for building all other Baserock systems - for 64-bit POWER computers. -arch: ppc64 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: python2-core - morph: strata/python2-core.morph -- name: bsp-ppc64-generic - morph: strata/bsp-ppc64-generic.morph -- name: tools - morph: strata/tools.morph -- name: python-cliapp - morph: strata/python-cliapp.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: python-wsgi - morph: strata/python-wsgi.morph -- name: morph-utils - morph: strata/morph-utils.morph -- name: nfs - morph: strata/nfs.morph -- name: python-common - morph: strata/python-common.morph -- name: ansible - morph: strata/ansible.morph -- name: cloudinit-support - morph: strata/cloudinit-support.morph -- name: openstack-common - morph: strata/openstack-common.morph -- name: openstack-clients - morph: strata/openstack-clients.morph -- name: devtools - morph: strata/devtools.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: glib-common - morph: strata/glib-common.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: sandboxing - morph: strata/sandboxing.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/distbuild -- extensions/fstab -- extensions/mason -- extensions/cloud-init -- extensions/install-essential-files -- extensions/hosts diff --git a/systems/build-system-x86_32-chroot.morph b/systems/build-system-x86_32-chroot.morph deleted file mode 100644 index 6421e5ec..00000000 --- a/systems/build-system-x86_32-chroot.morph +++ /dev/null @@ -1,59 +0,0 @@ -name: build-system-x86_32-chroot -kind: system -description: The system that should be used for building all other Baserock systems - for 32-bit Intel x86 computers, chroot variant. -arch: x86_32 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: python2-core - morph: strata/python2-core.morph -- name: tools - morph: strata/tools.morph -- name: python-cliapp - morph: strata/python-cliapp.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: python-wsgi - morph: strata/python-wsgi.morph -- name: morph-utils - morph: strata/morph-utils.morph -- name: nfs - morph: strata/nfs.morph -- name: python-common - morph: strata/python-common.morph -- name: ansible - morph: strata/ansible.morph -- name: cloudinit-support - morph: strata/cloudinit-support.morph -- name: openstack-common - morph: strata/openstack-common.morph -- name: openstack-clients - morph: strata/openstack-clients.morph -- name: devtools - morph: strata/devtools.morph -- name: bsp-x86_both-tools - morph: strata/bsp-x86_both-tools.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: glib-common - morph: strata/glib-common.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: sandboxing - morph: strata/sandboxing.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/distbuild -- extensions/fstab -- extensions/mason -- extensions/cloud-init -- extensions/install-essential-files -- extensions/hosts diff --git a/systems/build-system-x86_32.morph b/systems/build-system-x86_32.morph deleted file mode 100644 index 14959d5d..00000000 --- a/systems/build-system-x86_32.morph +++ /dev/null @@ -1,59 +0,0 @@ -name: build-system-x86_32 -kind: system -description: The system that should be used for building all other Baserock systems - for 32-bit Intel x86 computers. -arch: x86_32 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: python2-core - morph: strata/python2-core.morph -- name: bsp-x86_32-generic - morph: strata/bsp-x86_32-generic.morph -- name: tools - morph: strata/tools.morph -- name: python-cliapp - morph: strata/python-cliapp.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: python-wsgi - morph: strata/python-wsgi.morph -- name: morph-utils - morph: strata/morph-utils.morph -- name: nfs - morph: strata/nfs.morph -- name: python-common - morph: strata/python-common.morph -- name: ansible - morph: strata/ansible.morph -- name: cloudinit-support - morph: strata/cloudinit-support.morph -- name: openstack-common - morph: strata/openstack-common.morph -- name: openstack-clients - morph: strata/openstack-clients.morph -- name: devtools - morph: strata/devtools.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: glib-common - morph: strata/glib-common.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: sandboxing - morph: strata/sandboxing.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/distbuild -- extensions/fstab -- extensions/mason -- extensions/cloud-init -- extensions/install-essential-files -- extensions/hosts diff --git a/systems/build-system-x86_64-chroot.morph b/systems/build-system-x86_64-chroot.morph deleted file mode 100644 index 55efdf3f..00000000 --- a/systems/build-system-x86_64-chroot.morph +++ /dev/null @@ -1,59 +0,0 @@ -name: build-system-x86_64-chroot -kind: system -description: The system that should be used for building all other Baserock systems - for 64-bit Intel x86 computers, chroot variant. -arch: x86_64 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: python2-core - morph: strata/python2-core.morph -- name: tools - morph: strata/tools.morph -- name: python-cliapp - morph: strata/python-cliapp.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: python-wsgi - morph: strata/python-wsgi.morph -- name: morph-utils - morph: strata/morph-utils.morph -- name: nfs - morph: strata/nfs.morph -- name: python-common - morph: strata/python-common.morph -- name: ansible - morph: strata/ansible.morph -- name: cloudinit-support - morph: strata/cloudinit-support.morph -- name: openstack-common - morph: strata/openstack-common.morph -- name: openstack-clients - morph: strata/openstack-clients.morph -- name: devtools - morph: strata/devtools.morph -- name: bsp-x86_both-tools - morph: strata/bsp-x86_both-tools.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: glib-common - morph: strata/glib-common.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: sandboxing - morph: strata/sandboxing.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/distbuild -- extensions/fstab -- extensions/mason -- extensions/cloud-init -- extensions/install-essential-files -- extensions/hosts diff --git a/systems/build-system-x86_64.morph b/systems/build-system-x86_64.morph deleted file mode 100644 index 58f6f20d..00000000 --- a/systems/build-system-x86_64.morph +++ /dev/null @@ -1,59 +0,0 @@ -name: build-system-x86_64 -kind: system -description: The system that should be used for building all other Baserock systems - for 64-bit Intel x86 computers. -arch: x86_64 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: python2-core - morph: strata/python2-core.morph -- name: bsp-x86_64-generic - morph: strata/bsp-x86_64-generic.morph -- name: tools - morph: strata/tools.morph -- name: python-cliapp - morph: strata/python-cliapp.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: python-wsgi - morph: strata/python-wsgi.morph -- name: morph-utils - morph: strata/morph-utils.morph -- name: nfs - morph: strata/nfs.morph -- name: python-common - morph: strata/python-common.morph -- name: ansible - morph: strata/ansible.morph -- name: cloudinit-support - morph: strata/cloudinit-support.morph -- name: openstack-common - morph: strata/openstack-common.morph -- name: openstack-clients - morph: strata/openstack-clients.morph -- name: devtools - morph: strata/devtools.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: glib-common - morph: strata/glib-common.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: sandboxing - morph: strata/sandboxing.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/distbuild -- extensions/fstab -- extensions/mason -- extensions/cloud-init -- extensions/install-essential-files -- extensions/hosts diff --git a/systems/build-system.morph.in b/systems/build-system.morph.in new file mode 100644 index 00000000..7eaba027 --- /dev/null +++ b/systems/build-system.morph.in @@ -0,0 +1,54 @@ +name: build-system.{{CONFIG}} +kind: system +description: | + The system that should be used for building other Baserock systems. +arch: {{ ARCH }} +strata: +- name: build-essential + morph: strata/build-essential.morph +- name: core + morph: strata/core.morph +- name: foundation + morph: strata/foundation.morph +- name: python2-core + morph: strata/python2-core.morph +- name: tools + morph: strata/tools.morph +- name: python-cliapp + morph: strata/python-cliapp.morph +- name: python-pygobject + morph: strata/python-pygobject.morph +- name: python-wsgi + morph: strata/python-wsgi.morph +- name: morph-utils + morph: strata/morph-utils.morph +- name: devtools + morph: strata/devtools.morph +- name: libsoup-common + morph: strata/libsoup-common.morph +- name: glib-common + morph: strata/glib-common.morph +- name: ostree-core + morph: strata/ostree-core.morph +- name: mtd-utilities + morph: strata/mtd-utilities.morph +- name: sandboxing + morph: strata/sandboxing.morph + +{% if BSP %} +- name: bsp-{{ BSP }} + morph: strata/bsp-{{ BSP }}.morph +{% elif ARCH == x86_64 or ARCH == x86_32 %} +# We still need syslinux, because it's used by some of the deploy extensions. +- name: syslinux-group + morph: strata/syslinux-group.morph +{% endif %} + +configuration-extensions: +- extensions/set-hostname +- extensions/add-config-files +- extensions/nfsboot +- extensions/install-files +- extensions/fstab +- extensions/install-essential-files +- extensions/hosts diff --git a/systems/ceph-service-x86_64-generic.morph b/systems/ceph-service-x86_64-generic.morph deleted file mode 100644 index 0e263556..00000000 --- a/systems/ceph-service-x86_64-generic.morph +++ /dev/null @@ -1,68 +0,0 @@ -name: ceph-service-x86_64-generic -kind: system -description: The set of strata required to have a minimal system for a 64-bit x86 - system + the service daemons for ceph object, block and file storage. -arch: x86_64 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: cpp-common-libs - morph: strata/cpp-common-libs.morph -- name: foundation - morph: strata/foundation.morph -- name: bsp-x86_64-generic - morph: strata/bsp-x86_64-generic.morph -- name: network-security - morph: strata/network-security.morph -- name: ceph-service - morph: strata/ceph-service.morph -- name: tools - morph: strata/tools.morph -- name: ruby - morph: strata/ruby.morph -- name: ntpd - morph: strata/ntpd.morph -- name: python-cliapp - morph: strata/python-cliapp.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: python-wsgi - morph: strata/python-wsgi.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: glib-common - morph: strata/glib-common.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: morph-utils - morph: strata/morph-utils.morph -- name: openstack-common - morph: strata/openstack-common.morph -- name: openstack-clients - morph: strata/openstack-clients.morph -- name: cloudinit-support - morph: strata/cloudinit-support.morph -- name: nodejs - morph: strata/nodejs.morph -- name: lorry - morph: strata/lorry.morph -- name: baserock-import - morph: strata/baserock-import.morph -- name: nfs - morph: strata/nfs.morph -- name: python2-core - morph: strata/python2-core.morph -- name: python-common - morph: strata/python-common.morph -- name: chef - morph: strata/chef.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/ceph -- extensions/cloud-init -- extensions/install-essential-files diff --git a/systems/ceph-service.morph.in b/systems/ceph-service.morph.in new file mode 100644 index 00000000..bfa25f55 --- /dev/null +++ b/systems/ceph-service.morph.in @@ -0,0 +1,70 @@ +name: ceph-service.{{CONFIG}} +kind: system +description: | + An example system containing the service daemons for Ceph object, block and file storage. +arch: {{ ARCH }} +strata: +- name: build-essential + morph: strata/build-essential.morph +- name: core + morph: strata/core.morph +- name: cpp-common-libs + morph: strata/cpp-common-libs.morph +- name: foundation + morph: strata/foundation.morph +- name: network-security + morph: strata/network-security.morph +- name: ceph-service + morph: strata/ceph-service.morph +- name: tools + morph: strata/tools.morph +- name: ruby + morph: strata/ruby.morph +- name: ntpd + morph: strata/ntpd.morph +- name: python-cliapp + morph: strata/python-cliapp.morph +- name: python-pygobject + morph: strata/python-pygobject.morph +- name: python-wsgi + morph: strata/python-wsgi.morph +- name: libsoup-common + morph: strata/libsoup-common.morph +- name: glib-common + morph: strata/glib-common.morph +- name: ostree-core + morph: strata/ostree-core.morph +- name: morph-utils + morph: strata/morph-utils.morph +- name: openstack-common + morph: strata/openstack-common.morph +- name: openstack-clients + morph: strata/openstack-clients.morph +- name: cloudinit-support + morph: strata/cloudinit-support.morph +- name: nodejs + morph: strata/nodejs.morph +- name: lorry + morph: strata/lorry.morph +- name: baserock-import + morph: strata/baserock-import.morph +- name: nfs + morph: strata/nfs.morph +- name: python2-core + morph: strata/python2-core.morph +- name: python-common + morph: strata/python-common.morph +- name: chef + morph: strata/chef.morph +{% if BSP %} +- name: bsp-{{ BSP }} + morph: strata/bsp-{{ BSP }}.morph +{% endif %} +configuration-extensions: +- extensions/set-hostname +- extensions/add-config-files +- extensions/nfsboot +- extensions/install-files +- extensions/ceph +- extensions/cloud-init +- extensions/install-essential-files diff --git a/systems/chef-system-x86_64-container.morph b/systems/chef-system-x86_64-container.morph deleted file mode 100644 index 889eabea..00000000 --- a/systems/chef-system-x86_64-container.morph +++ /dev/null @@ -1,32 +0,0 @@ -name: chef-system-x86_64-container -kind: system -arch: x86_64 -description: Minimal chef system suitable for running in a container -configuration-extensions: -- extensions/set-hostname -- extensions/simple-network -- extensions/nfsboot -- extensions/install-files -- extensions/busybox-init -- extensions/remove-gcc -strata: -- name: build-essential - morph: strata/build-essential.morph - artifacts: - - build-essential-minimal -- name: core - morph: strata/core.morph - artifacts: - - core-openssl -- name: foundation - morph: strata/foundation.morph - artifacts: - - foundation-runtime -- name: ruby - morph: strata/ruby.morph - artifacts: - - ruby-runtime -- name: chef - morph: strata/chef.morph - artifacts: - - chef-runtime diff --git a/systems/chef-system.morph.in b/systems/chef-system.morph.in new file mode 100644 index 00000000..2e7e1fd7 --- /dev/null +++ b/systems/chef-system.morph.in @@ -0,0 +1,36 @@ +name: chef-system.{{CONFIG}} +kind: system +arch: {{ ARCH }} +description: Minimal Chef system +configuration-extensions: +- extensions/set-hostname +- extensions/simple-network +- extensions/nfsboot +- extensions/install-files +- extensions/busybox-init +- extensions/remove-gcc +strata: +- name: build-essential + morph: strata/build-essential.morph + artifacts: + - build-essential-minimal +- name: core + morph: strata/core.morph + artifacts: + - core-openssl +- name: foundation + morph: strata/foundation.morph + artifacts: + - foundation-runtime +- name: ruby + morph: strata/ruby.morph + artifacts: + - ruby-runtime +- name: chef + morph: strata/chef.morph + artifacts: + - chef-runtime +{% if BSP %} +- name: bsp-{{ BSP }} + morph: strata/bsp-{{ BSP }}.morph +{% endif %} diff --git a/systems/cross-bootstrap-system-armv5l-generic.morph b/systems/cross-bootstrap-system-armv5l-generic.morph deleted file mode 100644 index e479d150..00000000 --- a/systems/cross-bootstrap-system-armv5l-generic.morph +++ /dev/null @@ -1,23 +0,0 @@ -name: cross-bootstrap-system-armv5l-generic -kind: system -description: A system that produces the minimum needed to build a devel system -arch: armv5l -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: python-cliapp - morph: strata/python-cliapp.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: glib-common - morph: strata/glib-common.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: morph-utils - morph: strata/morph-utils.morph -- name: cross-bootstrap - morph: strata/cross-bootstrap.morph diff --git a/systems/cross-bootstrap-system-armv7lhf-generic.morph b/systems/cross-bootstrap-system-armv7lhf-generic.morph deleted file mode 100644 index 280b1e0e..00000000 --- a/systems/cross-bootstrap-system-armv7lhf-generic.morph +++ /dev/null @@ -1,23 +0,0 @@ -name: cross-bootstrap-system-armv7lhf-generic -kind: system -description: A system that produces the minimum needed to build a devel system -arch: armv7lhf -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: python-cliapp - morph: strata/python-cliapp.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: glib-common - morph: strata/glib-common.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: morph-utils - morph: strata/morph-utils.morph -- name: cross-bootstrap - morph: strata/cross-bootstrap.morph diff --git a/systems/cross-bootstrap-system-armv8b64-generic.morph b/systems/cross-bootstrap-system-armv8b64-generic.morph deleted file mode 100644 index 53e9f46b..00000000 --- a/systems/cross-bootstrap-system-armv8b64-generic.morph +++ /dev/null @@ -1,23 +0,0 @@ -name: cross-bootstrap-system-armv8b64-generic -kind: system -description: A system that produces the minimum needed to build a devel system -arch: armv8b64 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: python-cliapp - morph: strata/python-cliapp.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: glib-common - morph: strata/glib-common.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: morph-utils - morph: strata/morph-utils.morph -- name: cross-bootstrap - morph: strata/cross-bootstrap.morph diff --git a/systems/cross-bootstrap-system-armv8l64-generic.morph b/systems/cross-bootstrap-system-armv8l64-generic.morph deleted file mode 100644 index 1214362f..00000000 --- a/systems/cross-bootstrap-system-armv8l64-generic.morph +++ /dev/null @@ -1,23 +0,0 @@ -name: cross-bootstrap-system-armv8l64-generic -kind: system -description: A system that produces the minimum needed to build a devel system -arch: armv8l64 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: python-cliapp - morph: strata/python-cliapp.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: glib-common - morph: strata/glib-common.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: morph-utils - morph: strata/morph-utils.morph -- name: cross-bootstrap - morph: strata/cross-bootstrap.morph diff --git a/systems/cross-bootstrap-system-ppc64-generic.morph b/systems/cross-bootstrap-system-ppc64-generic.morph deleted file mode 100644 index 297f862b..00000000 --- a/systems/cross-bootstrap-system-ppc64-generic.morph +++ /dev/null @@ -1,23 +0,0 @@ -name: cross-bootstrap-system-ppc64-generic -kind: system -description: A system that produces the minimum needed to build a devel system -arch: ppc64 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: python-cliapp - morph: strata/python-cliapp.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: glib-common - morph: strata/glib-common.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: morph-utils - morph: strata/morph-utils.morph -- name: cross-bootstrap - morph: strata/cross-bootstrap.morph diff --git a/systems/cross-bootstrap-system-x86_64-generic.morph b/systems/cross-bootstrap-system-x86_64-generic.morph deleted file mode 100644 index ef8912ad..00000000 --- a/systems/cross-bootstrap-system-x86_64-generic.morph +++ /dev/null @@ -1,23 +0,0 @@ -name: cross-bootstrap-system-x86_64-generic -kind: system -description: A system that produces the minimum needed to build a devel system -arch: x86_64 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: python-cliapp - morph: strata/python-cliapp.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: glib-common - morph: strata/glib-common.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: morph-utils - morph: strata/morph-utils.morph -- name: cross-bootstrap - morph: strata/cross-bootstrap.morph diff --git a/systems/cross-bootstrap-system.morph.in b/systems/cross-bootstrap-system.morph.in new file mode 100644 index 00000000..9f1c7cbe --- /dev/null +++ b/systems/cross-bootstrap-system.morph.in @@ -0,0 +1,23 @@ +name: cross-bootstrap-system.{{CONFIG}} +kind: system +description: A system that produces the minimum needed to build a devel system +arch: {{ ARCH }} +strata: +- name: build-essential + morph: strata/build-essential.morph +- name: core + morph: strata/core.morph +- name: python-cliapp + morph: strata/python-cliapp.morph +- name: python-pygobject + morph: strata/python-pygobject.morph +- name: libsoup-common + morph: strata/libsoup-common.morph +- name: glib-common + morph: strata/glib-common.morph +- name: ostree-core + morph: strata/ostree-core.morph +- name: morph-utils + morph: strata/morph-utils.morph +- name: cross-bootstrap + morph: strata/cross-bootstrap.morph diff --git a/systems/cxmanage-system-x86_64-generic.morph b/systems/cxmanage-system-x86_64-generic.morph deleted file mode 100644 index 85f74e4c..00000000 --- a/systems/cxmanage-system-x86_64-generic.morph +++ /dev/null @@ -1,26 +0,0 @@ -name: cxmanage-system-x86_64-generic -kind: system -description: A baserock development system with calxeda management tools added -arch: x86_64 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: bsp-x86_64-generic - morph: strata/bsp-x86_64-generic.morph -- name: tools - morph: strata/tools.morph -- name: glib-common - morph: strata/glib-common.morph -- name: cxmanage - morph: strata/cxmanage.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/fstab -- extensions/install-essential-files diff --git a/systems/cxmanage-system.morph.in b/systems/cxmanage-system.morph.in new file mode 100644 index 00000000..07340280 --- /dev/null +++ b/systems/cxmanage-system.morph.in @@ -0,0 +1,28 @@ +name: cxmanage-system.{{CONFIG}} +kind: system +description: A baserock development system with calxeda management tools added +arch: {{ ARCH }} +strata: +- name: build-essential + morph: strata/build-essential.morph +- name: core + morph: strata/core.morph +- name: foundation + morph: strata/foundation.morph +- name: tools + morph: strata/tools.morph +- name: glib-common + morph: strata/glib-common.morph +- name: cxmanage + morph: strata/cxmanage.morph +{% if BSP %} +- name: bsp-{{ BSP }} + morph: strata/bsp-{{ BSP }}.morph +{% endif %} +configuration-extensions: +- extensions/set-hostname +- extensions/add-config-files +- extensions/nfsboot +- extensions/install-files +- extensions/fstab +- extensions/install-essential-files diff --git a/systems/devel-system-armv7-chroot.morph b/systems/devel-system-armv7-chroot.morph deleted file mode 100644 index b5310590..00000000 --- a/systems/devel-system-armv7-chroot.morph +++ /dev/null @@ -1,70 +0,0 @@ -name: devel-system-armv7-chroot -kind: system -description: | - A system with useful tools for doing Baserock development. - - For use as a chroot inside a Linux-based operating system on ARMv7 - computers using little-endian word order. -arch: armv7l -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: tools - morph: strata/tools.morph -- name: python-cliapp - morph: strata/python-cliapp.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: python-wsgi - morph: strata/python-wsgi.morph -- name: morph-utils - morph: strata/morph-utils.morph -- name: openstack-common - morph: strata/openstack-common.morph -- name: openstack-clients - morph: strata/openstack-clients.morph -- name: nodejs - morph: strata/nodejs.morph -- name: ruby - morph: strata/ruby.morph -- name: lorry - morph: strata/lorry.morph -- name: baserock-import - morph: strata/baserock-import.morph -- name: python2-core - morph: strata/python2-core.morph -- name: python-tools - morph: strata/python-tools.morph -- name: python-common - morph: strata/python-common.morph -- name: devtools - morph: strata/devtools.morph -- name: ansible - morph: strata/ansible.morph -- name: swift - morph: strata/swift.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: glib-common - morph: strata/glib-common.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: coreutils-common - morph: strata/coreutils-common.morph -- name: perl-common - morph: strata/perl-common.morph -- name: CPAN-Mini-Inject - morph: strata/CPAN-Mini-Inject.morph -- name: sandboxing - morph: strata/sandboxing.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/fstab -- extensions/install-essential-files diff --git a/systems/devel-system-armv7-highbank.morph b/systems/devel-system-armv7-highbank.morph deleted file mode 100644 index dd98ab71..00000000 --- a/systems/devel-system-armv7-highbank.morph +++ /dev/null @@ -1,73 +0,0 @@ -name: devel-system-armv7-highbank -kind: system -description: | - A system with useful tools for doing Baserock development. - - For use on ARMv7 Calxeda Highbank computers using little-endian word order. -arch: armv7l -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: bsp-armv7-highbank - morph: strata/bsp-armv7-highbank.morph -- name: tools - morph: strata/tools.morph -- name: python-cliapp - morph: strata/python-cliapp.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: python-wsgi - morph: strata/python-wsgi.morph -- name: morph-utils - morph: strata/morph-utils.morph -- name: openstack-clients - morph: strata/openstack-clients.morph -- name: nodejs - morph: strata/nodejs.morph -- name: ruby - morph: strata/ruby.morph -- name: lorry - morph: strata/lorry.morph -- name: baserock-import - morph: strata/baserock-import.morph -- name: nfs - morph: strata/nfs.morph -- name: python2-core - morph: strata/python2-core.morph -- name: python-tools - morph: strata/python-tools.morph -- name: python-common - morph: strata/python-common.morph -- name: devtools - morph: strata/devtools.morph -- name: ansible - morph: strata/ansible.morph -- name: swift - morph: strata/swift.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: glib-common - morph: strata/glib-common.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: unionfs-fuse-group - morph: strata/unionfs-fuse-group.morph -- name: coreutils-common - morph: strata/coreutils-common.morph -- name: perl-common - morph: strata/perl-common.morph -- name: CPAN-Mini-Inject - morph: strata/CPAN-Mini-Inject.morph -- name: sandboxing - morph: strata/sandboxing.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/fstab -- extensions/install-essential-files diff --git a/systems/devel-system-armv7-versatile.morph b/systems/devel-system-armv7-versatile.morph deleted file mode 100644 index cb533696..00000000 --- a/systems/devel-system-armv7-versatile.morph +++ /dev/null @@ -1,71 +0,0 @@ -name: devel-system-armv7-versatile -kind: system -description: | - A system with useful tools for doing Baserock development. - - For use on generic ARMv7 versatile computers using little-endian word order. -arch: armv7l -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: bsp-armv7-versatile - morph: strata/bsp-armv7-versatile.morph -- name: tools - morph: strata/tools.morph -- name: python-cliapp - morph: strata/python-cliapp.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: python-wsgi - morph: strata/python-wsgi.morph -- name: morph-utils - morph: strata/morph-utils.morph -- name: openstack-clients - morph: strata/openstack-clients.morph -- name: nodejs - morph: strata/nodejs.morph -- name: ruby - morph: strata/ruby.morph -- name: lorry - morph: strata/lorry.morph -- name: baserock-import - morph: strata/baserock-import.morph -- name: nfs - morph: strata/nfs.morph -- name: python2-core - morph: strata/python2-core.morph -- name: python-tools - morph: strata/python-tools.morph -- name: python-common - morph: strata/python-common.morph -- name: devtools - morph: strata/devtools.morph -- name: ansible - morph: strata/ansible.morph -- name: swift - morph: strata/swift.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: glib-common - morph: strata/glib-common.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: coreutils-common - morph: strata/coreutils-common.morph -- name: perl-common - morph: strata/perl-common.morph -- name: CPAN-Mini-Inject - morph: strata/CPAN-Mini-Inject.morph -- name: sandboxing - morph: strata/sandboxing.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/fstab -- extensions/install-essential-files diff --git a/systems/devel-system-armv7-wandboard.morph b/systems/devel-system-armv7-wandboard.morph deleted file mode 100644 index c37b599d..00000000 --- a/systems/devel-system-armv7-wandboard.morph +++ /dev/null @@ -1,71 +0,0 @@ -name: devel-system-armv7-wandboard -kind: system -description: | - A system with useful tools for doing Baserock development. - - For use on ARMv7 Wandboard computers using little-endian word order. -arch: armv7l -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: bsp-wandboard - morph: strata/bsp-wandboard.morph -- name: tools - morph: strata/tools.morph -- name: python-cliapp - morph: strata/python-cliapp.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: python-wsgi - morph: strata/python-wsgi.morph -- name: morph-utils - morph: strata/morph-utils.morph -- name: openstack-clients - morph: strata/openstack-clients.morph -- name: nodejs - morph: strata/nodejs.morph -- name: ruby - morph: strata/ruby.morph -- name: lorry - morph: strata/lorry.morph -- name: baserock-import - morph: strata/baserock-import.morph -- name: nfs - morph: strata/nfs.morph -- name: python2-core - morph: strata/python2-core.morph -- name: python-tools - morph: strata/python-tools.morph -- name: python-common - morph: strata/python-common.morph -- name: devtools - morph: strata/devtools.morph -- name: ansible - morph: strata/ansible.morph -- name: swift - morph: strata/swift.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: glib-common - morph: strata/glib-common.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: coreutils-common - morph: strata/coreutils-common.morph -- name: perl-common - morph: strata/perl-common.morph -- name: CPAN-Mini-Inject - morph: strata/CPAN-Mini-Inject.morph -- name: sandboxing - morph: strata/sandboxing.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/fstab -- extensions/install-essential-files diff --git a/systems/devel-system-armv7b-chroot.morph b/systems/devel-system-armv7b-chroot.morph deleted file mode 100644 index 87579a97..00000000 --- a/systems/devel-system-armv7b-chroot.morph +++ /dev/null @@ -1,62 +0,0 @@ -name: devel-system-armv7b-chroot -kind: system -description: | - A system with useful tools for doing Baserock development. - - For use as a chroot inside a Linux-based operating system on ARMv7 computers - using big-endian word order. -arch: armv7b -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: tools - morph: strata/tools.morph -- name: python-cliapp - morph: strata/python-cliapp.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: python-wsgi - morph: strata/python-wsgi.morph -- name: morph-utils - morph: strata/morph-utils.morph -- name: openstack-clients - morph: strata/openstack-clients.morph -- name: baserock-import - morph: strata/baserock-import.morph -- name: python2-core - morph: strata/python2-core.morph -- name: python-tools - morph: strata/python-tools.morph -- name: python-common - morph: strata/python-common.morph -- name: devtools - morph: strata/devtools.morph -- name: ansible - morph: strata/ansible.morph -- name: swift - morph: strata/swift.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: glib-common - morph: strata/glib-common.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: coreutils-common - morph: strata/coreutils-common.morph -- name: perl-common - morph: strata/perl-common.morph -- name: CPAN-Mini-Inject - morph: strata/CPAN-Mini-Inject.morph -- name: sandboxing - morph: strata/sandboxing.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/fstab -- extensions/install-essential-files diff --git a/systems/devel-system-armv7b-highbank.morph b/systems/devel-system-armv7b-highbank.morph deleted file mode 100644 index a4f8664e..00000000 --- a/systems/devel-system-armv7b-highbank.morph +++ /dev/null @@ -1,69 +0,0 @@ -name: devel-system-armv7b-highbank -kind: system -description: | - A system with useful tools for doing Baserock development. - - For use on ARMv7 Calxeda Highbank computers using big-endian word order. -arch: armv7b -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: bsp-armv7b-highbank - morph: strata/bsp-armv7b-highbank.morph -- name: tools - morph: strata/tools.morph -- name: python-cliapp - morph: strata/python-cliapp.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: python-wsgi - morph: strata/python-wsgi.morph -- name: morph-utils - morph: strata/morph-utils.morph -- name: openstack-common - morph: strata/openstack-common.morph -- name: openstack-clients - morph: strata/openstack-clients.morph -- name: baserock-import - morph: strata/baserock-import.morph -- name: nfs - morph: strata/nfs.morph -- name: python2-core - morph: strata/python2-core.morph -- name: python-tools - morph: strata/python-tools.morph -- name: python-common - morph: strata/python-common.morph -- name: devtools - morph: strata/devtools.morph -- name: ansible - morph: strata/ansible.morph -- name: swift - morph: strata/swift.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: glib-common - morph: strata/glib-common.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: unionfs-fuse-group - morph: strata/unionfs-fuse-group.morph -- name: coreutils-common - morph: strata/coreutils-common.morph -- name: perl-common - morph: strata/perl-common.morph -- name: CPAN-Mini-Inject - morph: strata/CPAN-Mini-Inject.morph -- name: sandboxing - morph: strata/sandboxing.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/fstab -- extensions/install-essential-files diff --git a/systems/devel-system-armv7l-altera-socfpga-devkit.morph b/systems/devel-system-armv7l-altera-socfpga-devkit.morph deleted file mode 100644 index f4e74723..00000000 --- a/systems/devel-system-armv7l-altera-socfpga-devkit.morph +++ /dev/null @@ -1,66 +0,0 @@ -name: devel-system-armv7l-altera-socfpga-devkit -kind: system -description: | - A system with useful tools for doing Baserock development. - - For use on Altera SoCFPGA development kit, using little-endian word - order. -arch: armv7lhf -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: bsp-armv7l-altera-socfpga-devkit - morph: strata/bsp-armv7l-altera-socfpga-devkit.morph -- name: tools - morph: strata/tools.morph -- name: python-cliapp - morph: strata/python-cliapp.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: python-wsgi - morph: strata/python-wsgi.morph -- name: morph-utils - morph: strata/morph-utils.morph -- name: nodejs - morph: strata/nodejs.morph -- name: ruby - morph: strata/ruby.morph -- name: lorry - morph: strata/lorry.morph -- name: baserock-import - morph: strata/baserock-import.morph -- name: nfs - morph: strata/nfs.morph -- name: python2-core - morph: strata/python2-core.morph -- name: python-tools - morph: strata/python-tools.morph -- name: python-common - morph: strata/python-common.morph -- name: devtools - morph: strata/devtools.morph -- name: ansible - morph: strata/ansible.morph -- name: swift - morph: strata/swift.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: perl-common - morph: strata/perl-common.morph -- name: CPAN-Mini-Inject - morph: strata/CPAN-Mini-Inject.morph -- name: sandboxing - morph: strata/sandboxing.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/fstab -- extensions/install-essential-files diff --git a/systems/devel-system-armv7lhf-chroot.morph b/systems/devel-system-armv7lhf-chroot.morph deleted file mode 100644 index 90825ffe..00000000 --- a/systems/devel-system-armv7lhf-chroot.morph +++ /dev/null @@ -1,70 +0,0 @@ -name: devel-system-armv7lhf-chroot -kind: system -description: | - A system with useful tools for doing Baserock development. - - For use on ARMv7 computers using little-endian word order and hardware - floating point support. -arch: armv7lhf -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: tools - morph: strata/tools.morph -- name: python-cliapp - morph: strata/python-cliapp.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: python-wsgi - morph: strata/python-wsgi.morph -- name: morph-utils - morph: strata/morph-utils.morph -- name: openstack-common - morph: strata/openstack-common.morph -- name: openstack-clients - morph: strata/openstack-clients.morph -- name: nodejs - morph: strata/nodejs.morph -- name: ruby - morph: strata/ruby.morph -- name: lorry - morph: strata/lorry.morph -- name: baserock-import - morph: strata/baserock-import.morph -- name: python2-core - morph: strata/python2-core.morph -- name: python-tools - morph: strata/python-tools.morph -- name: python-common - morph: strata/python-common.morph -- name: devtools - morph: strata/devtools.morph -- name: ansible - morph: strata/ansible.morph -- name: swift - morph: strata/swift.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: glib-common - morph: strata/glib-common.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: coreutils-common - morph: strata/coreutils-common.morph -- name: perl-common - morph: strata/perl-common.morph -- name: CPAN-Mini-Inject - morph: strata/CPAN-Mini-Inject.morph -- name: sandboxing - morph: strata/sandboxing.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/fstab -- extensions/install-essential-files diff --git a/systems/devel-system-armv7lhf-highbank.morph b/systems/devel-system-armv7lhf-highbank.morph deleted file mode 100644 index 0bbe9acd..00000000 --- a/systems/devel-system-armv7lhf-highbank.morph +++ /dev/null @@ -1,76 +0,0 @@ -name: devel-system-armv7lhf-highbank -kind: system -description: | - A system with useful tools for doing Baserock development. - - For use on ARMv7 Calxeda Highbank computers using little-endian word order - and hardware floating-point support. -arch: armv7lhf -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: bsp-armv7-highbank - morph: strata/bsp-armv7-highbank.morph -- name: tools - morph: strata/tools.morph -- name: python-cliapp - morph: strata/python-cliapp.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: python-wsgi - morph: strata/python-wsgi.morph -- name: morph-utils - morph: strata/morph-utils.morph -- name: openstack-common - morph: strata/openstack-common.morph -- name: openstack-clients - morph: strata/openstack-clients.morph -- name: nodejs - morph: strata/nodejs.morph -- name: ruby - morph: strata/ruby.morph -- name: lorry - morph: strata/lorry.morph -- name: baserock-import - morph: strata/baserock-import.morph -- name: nfs - morph: strata/nfs.morph -- name: python2-core - morph: strata/python2-core.morph -- name: python-tools - morph: strata/python-tools.morph -- name: python-common - morph: strata/python-common.morph -- name: devtools - morph: strata/devtools.morph -- name: ansible - morph: strata/ansible.morph -- name: swift - morph: strata/swift.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: glib-common - morph: strata/glib-common.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: unionfs-fuse-group - morph: strata/unionfs-fuse-group.morph -- name: coreutils-common - morph: strata/coreutils-common.morph -- name: perl-common - morph: strata/perl-common.morph -- name: CPAN-Mini-Inject - morph: strata/CPAN-Mini-Inject.morph -- name: sandboxing - morph: strata/sandboxing.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/fstab -- extensions/install-essential-files diff --git a/systems/devel-system-armv7lhf-jetson.morph b/systems/devel-system-armv7lhf-jetson.morph deleted file mode 100644 index 3f8ba53c..00000000 --- a/systems/devel-system-armv7lhf-jetson.morph +++ /dev/null @@ -1,74 +0,0 @@ -name: devel-system-armv7lhf-jetson -kind: system -description: | - A system with useful tools for doing Baserock development. - - For use on ARMv7 NVIDIA Jetson TK1 computers using little-endian word order - and hardware floating-point support. -arch: armv7lhf -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: tools - morph: strata/tools.morph -- name: python-cliapp - morph: strata/python-cliapp.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: python-wsgi - morph: strata/python-wsgi.morph -- name: morph-utils - morph: strata/morph-utils.morph -- name: openstack-common - morph: strata/openstack-common.morph -- name: openstack-clients - morph: strata/openstack-clients.morph -- name: nfs - morph: strata/nfs.morph -- name: bsp-jetson - morph: strata/bsp-jetson.morph -- name: nodejs - morph: strata/nodejs.morph -- name: ruby - morph: strata/ruby.morph -- name: lorry - morph: strata/lorry.morph -- name: baserock-import - morph: strata/baserock-import.morph -- name: python2-core - morph: strata/python2-core.morph -- name: python-tools - morph: strata/python-tools.morph -- name: python-common - morph: strata/python-common.morph -- name: devtools - morph: strata/devtools.morph -- name: ansible - morph: strata/ansible.morph -- name: swift - morph: strata/swift.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: glib-common - morph: strata/glib-common.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: coreutils-common - morph: strata/coreutils-common.morph -- name: perl-common - morph: strata/perl-common.morph -- name: CPAN-Mini-Inject - morph: strata/CPAN-Mini-Inject.morph -- name: sandboxing - morph: strata/sandboxing.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/fstab -- extensions/install-essential-files diff --git a/systems/devel-system-armv7lhf-wandboard.morph b/systems/devel-system-armv7lhf-wandboard.morph deleted file mode 100644 index ae745525..00000000 --- a/systems/devel-system-armv7lhf-wandboard.morph +++ /dev/null @@ -1,74 +0,0 @@ -name: devel-system-armv7lhf-wandboard -kind: system -description: | - A system with useful tools for doing Baserock development. - - For use on ARMv7 Wandboard computers using little-endian word order and - hardware floating point support. -arch: armv7lhf -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: bsp-wandboard - morph: strata/bsp-wandboard.morph -- name: tools - morph: strata/tools.morph -- name: python-cliapp - morph: strata/python-cliapp.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: python-wsgi - morph: strata/python-wsgi.morph -- name: morph-utils - morph: strata/morph-utils.morph -- name: openstack-common - morph: strata/openstack-common.morph -- name: openstack-clients - morph: strata/openstack-clients.morph -- name: nodejs - morph: strata/nodejs.morph -- name: ruby - morph: strata/ruby.morph -- name: lorry - morph: strata/lorry.morph -- name: baserock-import - morph: strata/baserock-import.morph -- name: nfs - morph: strata/nfs.morph -- name: python2-core - morph: strata/python2-core.morph -- name: python-tools - morph: strata/python-tools.morph -- name: python-common - morph: strata/python-common.morph -- name: devtools - morph: strata/devtools.morph -- name: ansible - morph: strata/ansible.morph -- name: swift - morph: strata/swift.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: glib-common - morph: strata/glib-common.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: coreutils-common - morph: strata/coreutils-common.morph -- name: perl-common - morph: strata/perl-common.morph -- name: CPAN-Mini-Inject - morph: strata/CPAN-Mini-Inject.morph -- name: sandboxing - morph: strata/sandboxing.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/fstab -- extensions/install-essential-files diff --git a/systems/devel-system-armv8b64.morph b/systems/devel-system-armv8b64.morph deleted file mode 100644 index 339ae230..00000000 --- a/systems/devel-system-armv8b64.morph +++ /dev/null @@ -1,75 +0,0 @@ -name: devel-system-armv8b64 -kind: system -description: | - A system with useful tools for doing Baserock development. - - For use on 64-bit ARMv8 computers using big-endian word. -arch: armv8b64 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: bsp-armv8b64-generic - morph: strata/bsp-armv8b64-generic.morph -- name: tools - morph: strata/tools.morph -- name: python-cliapp - morph: strata/python-cliapp.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: python-wsgi - morph: strata/python-wsgi.morph -- name: morph-utils - morph: strata/morph-utils.morph -- name: openstack-common - morph: strata/openstack-common.morph -- name: openstack-clients - morph: strata/openstack-clients.morph -- name: cloudinit-support - morph: strata/cloudinit-support.morph -- name: nodejs - morph: strata/nodejs.morph -- name: ruby - morph: strata/ruby.morph -- name: lorry - morph: strata/lorry.morph -- name: baserock-import - morph: strata/baserock-import.morph -- name: nfs - morph: strata/nfs.morph -- name: python2-core - morph: strata/python2-core.morph -- name: python-tools - morph: strata/python-tools.morph -- name: python-common - morph: strata/python-common.morph -- name: devtools - morph: strata/devtools.morph -- name: ansible - morph: strata/ansible.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: glib-common - morph: strata/glib-common.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: coreutils-common - morph: strata/coreutils-common.morph -- name: perl-common - morph: strata/perl-common.morph -- name: CPAN-Mini-Inject - morph: strata/CPAN-Mini-Inject.morph -- name: sandboxing - morph: strata/sandboxing.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/simple-network -- extensions/nfsboot -- extensions/install-files -- extensions/cloud-init -- extensions/moonshot-kernel -- extensions/install-essential-files diff --git a/systems/devel-system-armv8l64.morph b/systems/devel-system-armv8l64.morph deleted file mode 100644 index 53b55569..00000000 --- a/systems/devel-system-armv8l64.morph +++ /dev/null @@ -1,76 +0,0 @@ -name: devel-system-armv8l64 -kind: system -description: | - A system with useful tools for doing Baserock development. - - For use on 64-bit ARMv8 computers using little-endian word. -arch: armv8l64 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: bsp-armv8l64-generic - morph: strata/bsp-armv8l64-generic.morph -- name: tools - morph: strata/tools.morph -- name: python-cliapp - morph: strata/python-cliapp.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: python-wsgi - morph: strata/python-wsgi.morph -- name: morph-utils - morph: strata/morph-utils.morph -- name: openstack-common - morph: strata/openstack-common.morph -- name: openstack-clients - morph: strata/openstack-clients.morph -- name: cloudinit-support - morph: strata/cloudinit-support.morph -- name: ruby - morph: strata/ruby.morph -- name: lorry - morph: strata/lorry.morph -- name: baserock-import - morph: strata/baserock-import.morph -- name: nfs - morph: strata/nfs.morph -- name: python2-core - morph: strata/python2-core.morph -- name: python-tools - morph: strata/python-tools.morph -- name: python-common - morph: strata/python-common.morph -- name: devtools - morph: strata/devtools.morph -- name: ansible - morph: strata/ansible.morph -- name: swift - morph: strata/swift.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: glib-common - morph: strata/glib-common.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: coreutils-common - morph: strata/coreutils-common.morph -- name: perl-common - morph: strata/perl-common.morph -- name: CPAN-Mini-Inject - morph: strata/CPAN-Mini-Inject.morph -- name: sandboxing - morph: strata/sandboxing.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/simple-network -- extensions/nfsboot -- extensions/install-files -- extensions/cloud-init -- extensions/moonshot-kernel -- extensions/fstab -- extensions/install-essential-files diff --git a/systems/devel-system-ppc64-chroot.morph b/systems/devel-system-ppc64-chroot.morph deleted file mode 100644 index 5b6ad771..00000000 --- a/systems/devel-system-ppc64-chroot.morph +++ /dev/null @@ -1,68 +0,0 @@ -name: devel-system-ppc64-chroot -kind: system -description: | - A system with useful tools for doing Baserock development. - - For use as a chroot inside a Linux operating system on 64-bit POWER - computers. -arch: ppc64 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: tools - morph: strata/tools.morph -- name: python-cliapp - morph: strata/python-cliapp.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: python-wsgi - morph: strata/python-wsgi.morph -- name: morph-utils - morph: strata/morph-utils.morph -- name: openstack-common - morph: strata/openstack-common.morph -- name: openstack-clients - morph: strata/openstack-clients.morph -- name: ruby - morph: strata/ruby.morph -- name: lorry - morph: strata/lorry.morph -- name: baserock-import - morph: strata/baserock-import.morph -- name: python2-core - morph: strata/python2-core.morph -- name: python-tools - morph: strata/python-tools.morph -- name: python-common - morph: strata/python-common.morph -- name: devtools - morph: strata/devtools.morph -- name: ansible - morph: strata/ansible.morph -- name: swift - morph: strata/swift.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: glib-common - morph: strata/glib-common.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: coreutils-common - morph: strata/coreutils-common.morph -- name: perl-common - morph: strata/perl-common.morph -- name: CPAN-Mini-Inject - morph: strata/CPAN-Mini-Inject.morph -- name: sandboxing - morph: strata/sandboxing.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/fstab -- extensions/install-essential-files diff --git a/systems/devel-system-ppc64-generic.morph b/systems/devel-system-ppc64-generic.morph deleted file mode 100644 index f06d23f7..00000000 --- a/systems/devel-system-ppc64-generic.morph +++ /dev/null @@ -1,71 +0,0 @@ -name: devel-system-ppc64-generic -kind: system -description: | - A system with useful tools for doing Baserock development. - - For use on 64-bit POWER computers. -arch: ppc64 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: bsp-ppc64-generic - morph: strata/bsp-ppc64-generic.morph -- name: tools - morph: strata/tools.morph -- name: python-cliapp - morph: strata/python-cliapp.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: python-wsgi - morph: strata/python-wsgi.morph -- name: morph-utils - morph: strata/morph-utils.morph -- name: openstack-common - morph: strata/openstack-common.morph -- name: openstack-clients - morph: strata/openstack-clients.morph -- name: ruby - morph: strata/ruby.morph -- name: lorry - morph: strata/lorry.morph -- name: baserock-import - morph: strata/baserock-import.morph -- name: nfs - morph: strata/nfs.morph -- name: python2-core - morph: strata/python2-core.morph -- name: python-tools - morph: strata/python-tools.morph -- name: python-common - morph: strata/python-common.morph -- name: devtools - morph: strata/devtools.morph -- name: ansible - morph: strata/ansible.morph -- name: swift - morph: strata/swift.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: glib-common - morph: strata/glib-common.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: coreutils-common - morph: strata/coreutils-common.morph -- name: perl-common - morph: strata/perl-common.morph -- name: CPAN-Mini-Inject - morph: strata/CPAN-Mini-Inject.morph -- name: sandboxing - morph: strata/sandboxing.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/fstab -- extensions/install-essential-files diff --git a/systems/devel-system-x86_32-chroot.morph b/systems/devel-system-x86_32-chroot.morph deleted file mode 100644 index acbf9a2d..00000000 --- a/systems/devel-system-x86_32-chroot.morph +++ /dev/null @@ -1,70 +0,0 @@ -name: devel-system-x86_32-chroot -kind: system -description: | - A system with useful tools for doing Baserock development. - - For use as a chroot inside a Linux operating system on 32-bit Intel x86 - computers. -arch: x86_32 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: tools - morph: strata/tools.morph -- name: python-cliapp - morph: strata/python-cliapp.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: python-wsgi - morph: strata/python-wsgi.morph -- name: morph-utils - morph: strata/morph-utils.morph -- name: openstack-clients - morph: strata/openstack-clients.morph -- name: bsp-x86_both-tools - morph: strata/bsp-x86_both-tools.morph -- name: nodejs - morph: strata/nodejs.morph -- name: ruby - morph: strata/ruby.morph -- name: lorry - morph: strata/lorry.morph -- name: baserock-import - morph: strata/baserock-import.morph -- name: python2-core - morph: strata/python2-core.morph -- name: python-tools - morph: strata/python-tools.morph -- name: python-common - morph: strata/python-common.morph -- name: devtools - morph: strata/devtools.morph -- name: ansible - morph: strata/ansible.morph -- name: swift - morph: strata/swift.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: glib-common - morph: strata/glib-common.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: coreutils-common - morph: strata/coreutils-common.morph -- name: perl-common - morph: strata/perl-common.morph -- name: CPAN-Mini-Inject - morph: strata/CPAN-Mini-Inject.morph -- name: sandboxing - morph: strata/sandboxing.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/fstab -- extensions/install-essential-files diff --git a/systems/devel-system-x86_32-generic.morph b/systems/devel-system-x86_32-generic.morph deleted file mode 100644 index fe376fcd..00000000 --- a/systems/devel-system-x86_32-generic.morph +++ /dev/null @@ -1,76 +0,0 @@ -name: devel-system-x86_32-generic -kind: system -description: | - A system with useful tools for doing Baserock development. - - For use on 32-bit Intel x86 computers. -arch: x86_32 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: bsp-x86_32-generic - morph: strata/bsp-x86_32-generic.morph -- name: tools - morph: strata/tools.morph -- name: python-cliapp - morph: strata/python-cliapp.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: python-wsgi - morph: strata/python-wsgi.morph -- name: morph-utils - morph: strata/morph-utils.morph -- name: openstack-common - morph: strata/openstack-common.morph -- name: openstack-clients - morph: strata/openstack-clients.morph -- name: cloudinit-support - morph: strata/cloudinit-support.morph -- name: nodejs - morph: strata/nodejs.morph -- name: ruby - morph: strata/ruby.morph -- name: lorry - morph: strata/lorry.morph -- name: baserock-import - morph: strata/baserock-import.morph -- name: nfs - morph: strata/nfs.morph -- name: python2-core - morph: strata/python2-core.morph -- name: python-tools - morph: strata/python-tools.morph -- name: python-common - morph: strata/python-common.morph -- name: devtools - morph: strata/devtools.morph -- name: ansible - morph: strata/ansible.morph -- name: swift - morph: strata/swift.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: glib-common - morph: strata/glib-common.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: coreutils-common - morph: strata/coreutils-common.morph -- name: perl-common - morph: strata/perl-common.morph -- name: CPAN-Mini-Inject - morph: strata/CPAN-Mini-Inject.morph -- name: sandboxing - morph: strata/sandboxing.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/cloud-init -- extensions/fstab -- extensions/install-essential-files diff --git a/systems/devel-system-x86_64-chroot.morph b/systems/devel-system-x86_64-chroot.morph deleted file mode 100644 index 47e3d123..00000000 --- a/systems/devel-system-x86_64-chroot.morph +++ /dev/null @@ -1,72 +0,0 @@ -name: devel-system-x86_64-chroot -kind: system -description: | - A system with useful tools for doing Baserock development. - - For use as a chroot inside a Linux operating system on 64-bit Intel x86 - computers. -arch: x86_64 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: tools - morph: strata/tools.morph -- name: python-cliapp - morph: strata/python-cliapp.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: python-wsgi - morph: strata/python-wsgi.morph -- name: morph-utils - morph: strata/morph-utils.morph -- name: openstack-common - morph: strata/openstack-common.morph -- name: openstack-clients - morph: strata/openstack-clients.morph -- name: bsp-x86_both-tools - morph: strata/bsp-x86_both-tools.morph -- name: nodejs - morph: strata/nodejs.morph -- name: ruby - morph: strata/ruby.morph -- name: lorry - morph: strata/lorry.morph -- name: baserock-import - morph: strata/baserock-import.morph -- name: python2-core - morph: strata/python2-core.morph -- name: python-tools - morph: strata/python-tools.morph -- name: python-common - morph: strata/python-common.morph -- name: devtools - morph: strata/devtools.morph -- name: ansible - morph: strata/ansible.morph -- name: swift - morph: strata/swift.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: glib-common - morph: strata/glib-common.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: coreutils-common - morph: strata/coreutils-common.morph -- name: perl-common - morph: strata/perl-common.morph -- name: CPAN-Mini-Inject - morph: strata/CPAN-Mini-Inject.morph -- name: sandboxing - morph: strata/sandboxing.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/fstab -- extensions/install-essential-files diff --git a/systems/devel-system-x86_64-generic.morph b/systems/devel-system-x86_64-generic.morph deleted file mode 100644 index 91c416c6..00000000 --- a/systems/devel-system-x86_64-generic.morph +++ /dev/null @@ -1,81 +0,0 @@ -name: devel-system-x86_64-generic -kind: system -description: | - A system with useful tools for doing Baserock development. - - For use on 64-bit Intel x86 computers. -arch: x86_64 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: bsp-x86_64-generic - morph: strata/bsp-x86_64-generic.morph -- name: tools - morph: strata/tools.morph -- name: python-cliapp - morph: strata/python-cliapp.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: python-wsgi - morph: strata/python-wsgi.morph -- name: morph-utils - morph: strata/morph-utils.morph -- name: openstack-common - morph: strata/openstack-common.morph -- name: openstack-clients - morph: strata/openstack-clients.morph -- name: cloudinit-support - morph: strata/cloudinit-support.morph -- name: nodejs - morph: strata/nodejs.morph -- name: ruby - morph: strata/ruby.morph -- name: lorry - morph: strata/lorry.morph -- name: baserock-import - morph: strata/baserock-import.morph -- name: nfs - morph: strata/nfs.morph -- name: python2-core - morph: strata/python2-core.morph -- name: python-tools - morph: strata/python-tools.morph -- name: python-common - morph: strata/python-common.morph -- name: devtools - morph: strata/devtools.morph -- name: ansible - morph: strata/ansible.morph -- name: swift - morph: strata/swift.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: glib-common - morph: strata/glib-common.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: coreutils-common - morph: strata/coreutils-common.morph -- name: perl-common - morph: strata/perl-common.morph -- name: CPAN-Mini-Inject - morph: strata/CPAN-Mini-Inject.morph -- name: erlang - morph: strata/erlang.morph -- name: elixir - morph: strata/elixir.morph -- name: sandboxing - morph: strata/sandboxing.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/simple-network -- extensions/nfsboot -- extensions/install-files -- extensions/cloud-init -- extensions/fstab -- extensions/install-essential-files diff --git a/systems/devel-system-x86_64-vagrant.morph b/systems/devel-system-x86_64-vagrant.morph deleted file mode 100644 index fb1e7e9f..00000000 --- a/systems/devel-system-x86_64-vagrant.morph +++ /dev/null @@ -1,74 +0,0 @@ -name: devel-system-x86_64-vagrant -kind: system -description: | - A system with useful tools for doing Baserock development, using Vagrant. - - For use with the Vagrant tool for x86_64 virtual machines. -arch: x86_64 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: bsp-x86_64-generic - morph: strata/bsp-x86_64-generic.morph -- name: tools - morph: strata/tools.morph -- name: python-cliapp - morph: strata/python-cliapp.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: python-wsgi - morph: strata/python-wsgi.morph -- name: morph-utils - morph: strata/morph-utils.morph -- name: openstack-common - morph: strata/openstack-common.morph -- name: openstack-clients - morph: strata/openstack-clients.morph -- name: virtualbox-guest-x86_64 - morph: strata/virtualbox-guest-x86_64.morph -- name: nodejs - morph: strata/nodejs.morph -- name: ruby - morph: strata/ruby.morph -- name: lorry - morph: strata/lorry.morph -- name: baserock-import - morph: strata/baserock-import.morph -- name: python2-core - morph: strata/python2-core.morph -- name: python-tools - morph: strata/python-tools.morph -- name: python-common - morph: strata/python-common.morph -- name: devtools - morph: strata/devtools.morph -- name: ansible - morph: strata/ansible.morph -- name: swift - morph: strata/swift.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: glib-common - morph: strata/glib-common.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: coreutils-common - morph: strata/coreutils-common.morph -- name: perl-common - morph: strata/perl-common.morph -- name: CPAN-Mini-Inject - morph: strata/CPAN-Mini-Inject.morph -- name: sandboxing - morph: strata/sandboxing.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/vagrant -- extensions/fstab -- extensions/install-essential-files diff --git a/systems/devel-system.morph.in b/systems/devel-system.morph.in new file mode 100644 index 00000000..d2944880 --- /dev/null +++ b/systems/devel-system.morph.in @@ -0,0 +1,92 @@ +name: devel-system.{{CONFIG}} +kind: system +description: | + A system with useful tools for doing Baserock development. +arch: {{ ARCH }} +strata: +- name: build-essential + morph: strata/build-essential.morph +- name: core + morph: strata/core.morph +- name: foundation + morph: strata/foundation.morph +- name: tools + morph: strata/tools.morph +- name: python-cliapp + morph: strata/python-cliapp.morph +- name: python-pygobject + morph: strata/python-pygobject.morph +- name: python-wsgi + morph: strata/python-wsgi.morph +- name: morph-utils + morph: strata/morph-utils.morph +- name: openstack-common + morph: strata/openstack-common.morph +- name: openstack-clients + morph: strata/openstack-clients.morph +- name: cloudinit-support + morph: strata/cloudinit-support.morph +- name: nodejs + morph: strata/nodejs.morph +- name: ruby + morph: strata/ruby.morph +- name: lorry + morph: strata/lorry.morph +- name: baserock-import + morph: strata/baserock-import.morph +- name: nfs + morph: strata/nfs.morph +- name: python2-core + morph: strata/python2-core.morph +- name: python-tools + morph: strata/python-tools.morph +- name: python-common + morph: strata/python-common.morph +- name: devtools + morph: strata/devtools.morph +- name: ansible + morph: strata/ansible.morph +- name: swift + morph: strata/swift.morph +- name: libsoup-common + morph: strata/libsoup-common.morph +- name: glib-common + morph: strata/glib-common.morph +- name: ostree-core + morph: strata/ostree-core.morph +- name: coreutils-common + morph: strata/coreutils-common.morph +- name: perl-common + morph: strata/perl-common.morph +- name: CPAN-Mini-Inject + morph: strata/CPAN-Mini-Inject.morph +- name: erlang + morph: strata/erlang.morph +- name: elixir + morph: strata/elixir.morph +- name: sandboxing + morph: strata/sandboxing.morph +{% if ENABLE_VAGRANT_BASEBOX %} +- name: virtualbox-guest + morph: strata/virtualbox-guest.morph +{% endif %} +{% if BSP %} +- name: bsp-{{ BSP }} + morph: strata/bsp-{{ BSP }}.morph +{% elif ARCH == x86_64 or ARCH == x86_32 %} +# We still need syslinux, because it's used by some of the deploy extensions. +- name: syslinux-group + morph: strata/syslinux-group.morph +{% endif %} +configuration-extensions: +- extensions/set-hostname +- extensions/add-config-files +- extensions/simple-network +- extensions/nfsboot +- extensions/install-files +- extensions/cloud-init +- extensions/fstab +- extensions/install-essential-files +{% if ENABLE_VAGRANT_BASEBOX %} +- extensions/vagrant +{% endif %} diff --git a/systems/genivi-baseline-system-armv7lhf-jetson.morph b/systems/genivi-baseline-system-armv7lhf-jetson.morph deleted file mode 100644 index ccf59f81..00000000 --- a/systems/genivi-baseline-system-armv7lhf-jetson.morph +++ /dev/null @@ -1,52 +0,0 @@ -name: genivi-baseline-system-armv7lhf-jetson -kind: system -description: A GENIVI baseline system for a Jetson TK. -arch: armv7lhf -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: bsp-jetson - morph: strata/bsp-jetson.morph -- name: connectivity - morph: strata/connectivity.morph -- name: connman-common - morph: strata/connman-common.morph -- name: device-management - morph: strata/device-management.morph -- name: audio-bluetooth - morph: strata/audio-bluetooth.morph -- name: glib-common - morph: strata/glib-common.morph -- name: libdrm-common - morph: strata/libdrm-common.morph -- name: multimedia-common - morph: strata/multimedia-common.morph -- name: multimedia-gstreamer - morph: strata/multimedia-gstreamer.morph -- name: genivi - morph: strata/genivi.morph -- name: wayland-generic - morph: strata/wayland-generic.morph -- name: graphics-common - morph: strata/graphics-common.morph -- name: input-common - morph: strata/input-common.morph -- name: mesa-common - morph: strata/mesa-common.morph -- name: x-common - morph: strata/x-common.morph -- name: weston-genivi - morph: strata/weston-genivi.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/strip-gplv3 -- extensions/fstab -- extensions/install-essential-files -- extensions/genivi diff --git a/systems/genivi-baseline-system-armv7lhf-versatile.morph b/systems/genivi-baseline-system-armv7lhf-versatile.morph deleted file mode 100644 index 74493383..00000000 --- a/systems/genivi-baseline-system-armv7lhf-versatile.morph +++ /dev/null @@ -1,50 +0,0 @@ -name: genivi-baseline-system-armv7lhf-versatile -kind: system -description: A GENIVI baseline system for an ARMv7 system. -arch: armv7lhf -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: bsp-armv7-versatile - morph: strata/bsp-armv7-versatile.morph -- name: connectivity - morph: strata/connectivity.morph -- name: connman-common - morph: strata/connman-common.morph -- name: device-management - morph: strata/device-management.morph -- name: audio-bluetooth - morph: strata/audio-bluetooth.morph -- name: glib-common - morph: strata/glib-common.morph -- name: libdrm-common - morph: strata/libdrm-common.morph -- name: multimedia-common - morph: strata/multimedia-common.morph -- name: multimedia-gstreamer - morph: strata/multimedia-gstreamer.morph -- name: genivi - morph: strata/genivi.morph -- name: wayland-generic - morph: strata/wayland-generic.morph -- name: graphics-common - morph: strata/graphics-common.morph -- name: input-common - morph: strata/input-common.morph -- name: x-common - morph: strata/x-common.morph -- name: weston-genivi - morph: strata/weston-genivi.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/strip-gplv3 -- extensions/fstab -- extensions/install-essential-files -- extensions/genivi diff --git a/systems/genivi-baseline-system-x86_64-generic.morph b/systems/genivi-baseline-system-x86_64-generic.morph deleted file mode 100644 index bbef3ee3..00000000 --- a/systems/genivi-baseline-system-x86_64-generic.morph +++ /dev/null @@ -1,53 +0,0 @@ -name: genivi-baseline-system-x86_64-generic -kind: system -description: A GENIVI baseline system for a 64-bit x86 system. -arch: x86_64 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: bsp-x86_64-generic - morph: strata/bsp-x86_64-generic.morph -- name: connectivity - morph: strata/connectivity.morph -- name: connman-common - morph: strata/connman-common.morph -- name: device-management - morph: strata/device-management.morph -- name: audio-bluetooth - morph: strata/audio-bluetooth.morph -- name: glib-common - morph: strata/glib-common.morph -- name: libdrm-common - morph: strata/libdrm-common.morph -- name: multimedia-common - morph: strata/multimedia-common.morph -- name: multimedia-gstreamer - morph: strata/multimedia-gstreamer.morph -- name: genivi - morph: strata/genivi.morph -- name: wayland-generic - morph: strata/wayland-generic.morph -- name: graphics-common - morph: strata/graphics-common.morph -- name: input-common - morph: strata/input-common.morph -- name: llvm-common - morph: strata/llvm-common.morph -- name: mesa-common - morph: strata/mesa-common.morph -- name: x-common - morph: strata/x-common.morph -- name: weston-genivi - morph: strata/weston-genivi.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/strip-gplv3 -- extensions/install-essential-files -- extensions/genivi diff --git a/systems/genivi-baseline-system.morph.in b/systems/genivi-baseline-system.morph.in new file mode 100644 index 00000000..2269219f --- /dev/null +++ b/systems/genivi-baseline-system.morph.in @@ -0,0 +1,56 @@ +name: genivi-baseline-system.{{CONFIG}} +kind: system +description: + An example Baserock system that is a GENIVI-compliant GENIVI Baseline. +arch: {{ ARCH }} +strata: +- name: build-essential + morph: strata/build-essential.morph +- name: core + morph: strata/core.morph +- name: foundation + morph: strata/foundation.morph +- name: connectivity + morph: strata/connectivity.morph +- name: connman-common + morph: strata/connman-common.morph +- name: device-management + morph: strata/device-management.morph +- name: audio-bluetooth + morph: strata/audio-bluetooth.morph +- name: glib-common + morph: strata/glib-common.morph +- name: libdrm-common + morph: strata/libdrm-common.morph +- name: multimedia-common + morph: strata/multimedia-common.morph +- name: multimedia-gstreamer + morph: strata/multimedia-gstreamer.morph +- name: genivi + morph: strata/genivi.morph +- name: wayland-generic + morph: strata/wayland-generic.morph +- name: graphics-common + morph: strata/graphics-common.morph +- name: input-common + morph: strata/input-common.morph +- name: llvm-common + morph: strata/llvm-common.morph +- name: mesa-common + morph: strata/mesa-common.morph +- name: x-common + morph: strata/x-common.morph +- name: weston-genivi + morph: strata/weston-genivi.morph +{% if BSP %} +- name: bsp-{{ BSP }} + morph: strata/bsp-{{ BSP }}.morph +{% endif %} +configuration-extensions: +- extensions/set-hostname +- extensions/add-config-files +- extensions/nfsboot +- extensions/install-files +- extensions/strip-gplv3 +- extensions/install-essential-files +- extensions/genivi diff --git a/systems/genivi-demo-platform-armv7lhf-jetson.morph b/systems/genivi-demo-platform-armv7lhf-jetson.morph deleted file mode 100644 index 08700b8f..00000000 --- a/systems/genivi-demo-platform-armv7lhf-jetson.morph +++ /dev/null @@ -1,79 +0,0 @@ -name: genivi-demo-platform-armv7lhf-jetson -kind: system -description: A GENIVI demo platform for a 64-bit x86 system. -arch: armv7lhf -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: cpp-common-libs - morph: strata/cpp-common-libs.morph -- name: python2-core - morph: strata/python2-core.morph -- name: glib-common - morph: strata/glib-common.morph -- name: foundation - morph: strata/foundation.morph -- name: bsp-jetson - morph: strata/bsp-jetson.morph -- name: connectivity - morph: strata/connectivity.morph -- name: connman-common - morph: strata/connman-common.morph -- name: device-management - morph: strata/device-management.morph -- name: audio-bluetooth - morph: strata/audio-bluetooth.morph -- name: libdrm-common - morph: strata/libdrm-common.morph -- name: multimedia-common - morph: strata/multimedia-common.morph -- name: multimedia-gstreamer - morph: strata/multimedia-gstreamer.morph -- name: navigation - morph: strata/navigation.morph -- name: genivi - morph: strata/genivi.morph -- name: wayland-generic - morph: strata/wayland-generic.morph -- name: graphics-common - morph: strata/graphics-common.morph -- name: input-common - morph: strata/input-common.morph -- name: ivi-common - morph: strata/ivi-common.morph -- name: mesa-common - morph: strata/mesa-common.morph -- name: x-common - morph: strata/x-common.morph -- name: weston-genivi - morph: strata/weston-genivi.morph -- name: ruby - morph: strata/ruby.morph -- name: icu-common - morph: strata/icu-common.morph -- name: qt5-tools - morph: strata/qt5-tools.morph -- name: qt5-tools-qtmultimedia - morph: strata/qt5-tools-qtmultimedia.morph -- name: qt5-tools-qtwebkit - morph: strata/qt5-tools-qtwebkit.morph -- name: qt5-tools-qtwayland - morph: strata/qt5-tools-qtwayland.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: genivi-demo-platform-libs - morph: strata/genivi-demo-platform-libs.morph -- name: genivi-demo-platform - morph: strata/genivi-demo-platform.morph -- name: tools - morph: strata/tools.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/fstab -- extensions/install-essential-files -- extensions/genivi diff --git a/systems/genivi-demo-platform-x86_64-generic.morph b/systems/genivi-demo-platform-x86_64-generic.morph deleted file mode 100644 index cfdb5c82..00000000 --- a/systems/genivi-demo-platform-x86_64-generic.morph +++ /dev/null @@ -1,81 +0,0 @@ -name: genivi-demo-platform-x86_64-generic -kind: system -description: A GENIVI demo platform for a 64-bit x86 system. -arch: x86_64 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: cpp-common-libs - morph: strata/cpp-common-libs.morph -- name: python2-core - morph: strata/python2-core.morph -- name: glib-common - morph: strata/glib-common.morph -- name: foundation - morph: strata/foundation.morph -- name: bsp-x86_64-generic - morph: strata/bsp-x86_64-generic.morph -- name: connectivity - morph: strata/connectivity.morph -- name: connman-common - morph: strata/connman-common.morph -- name: device-management - morph: strata/device-management.morph -- name: audio-bluetooth - morph: strata/audio-bluetooth.morph -- name: libdrm-common - morph: strata/libdrm-common.morph -- name: multimedia-common - morph: strata/multimedia-common.morph -- name: multimedia-gstreamer - morph: strata/multimedia-gstreamer.morph -- name: navigation - morph: strata/navigation.morph -- name: genivi - morph: strata/genivi.morph -- name: wayland-generic - morph: strata/wayland-generic.morph -- name: graphics-common - morph: strata/graphics-common.morph -- name: input-common - morph: strata/input-common.morph -- name: ivi-common - morph: strata/ivi-common.morph -- name: llvm-common - morph: strata/llvm-common.morph -- name: mesa-common - morph: strata/mesa-common.morph -- name: x-common - morph: strata/x-common.morph -- name: weston-genivi - morph: strata/weston-genivi.morph -- name: ruby - morph: strata/ruby.morph -- name: icu-common - morph: strata/icu-common.morph -- name: qt5-tools - morph: strata/qt5-tools.morph -- name: qt5-tools-qtmultimedia - morph: strata/qt5-tools-qtmultimedia.morph -- name: qt5-tools-qtwebkit - morph: strata/qt5-tools-qtwebkit.morph -- name: qt5-tools-qtwayland - morph: strata/qt5-tools-qtwayland.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: genivi-demo-platform-libs - morph: strata/genivi-demo-platform-libs.morph -- name: genivi-demo-platform - morph: strata/genivi-demo-platform.morph -- name: tools - morph: strata/tools.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/fstab -- extensions/install-essential-files -- extensions/genivi diff --git a/systems/genivi-demo-platform.morph.in b/systems/genivi-demo-platform.morph.in new file mode 100644 index 00000000..2f39074e --- /dev/null +++ b/systems/genivi-demo-platform.morph.in @@ -0,0 +1,83 @@ +name: genivi-demo-platform.{{CONFIG}} +kind: system +description: The GENIVI demo platform +arch: {{ ARCH }} +strata: +- name: build-essential + morph: strata/build-essential.morph +- name: core + morph: strata/core.morph +- name: cpp-common-libs + morph: strata/cpp-common-libs.morph +- name: python2-core + morph: strata/python2-core.morph +- name: glib-common + morph: strata/glib-common.morph +- name: foundation + morph: strata/foundation.morph +- name: connectivity + morph: strata/connectivity.morph +- name: connman-common + morph: strata/connman-common.morph +- name: device-management + morph: strata/device-management.morph +- name: audio-bluetooth + morph: strata/audio-bluetooth.morph +- name: libdrm-common + morph: strata/libdrm-common.morph +- name: multimedia-common + morph: strata/multimedia-common.morph +- name: multimedia-gstreamer + morph: strata/multimedia-gstreamer.morph +- name: navigation + morph: strata/navigation.morph +- name: genivi + morph: strata/genivi.morph +- name: wayland-generic + morph: strata/wayland-generic.morph +- name: graphics-common + morph: strata/graphics-common.morph +- name: input-common + morph: strata/input-common.morph +- name: ivi-common + morph: strata/ivi-common.morph +- name: llvm-common + morph: strata/llvm-common.morph +- name: mesa-common + morph: strata/mesa-common.morph +- name: x-common + morph: strata/x-common.morph +- name: weston-genivi + morph: strata/weston-genivi.morph +- name: ruby + morph: strata/ruby.morph +- name: icu-common + morph: strata/icu-common.morph +- name: qt5-tools + morph: strata/qt5-tools.morph +- name: qt5-tools-qtmultimedia + morph: strata/qt5-tools-qtmultimedia.morph +- name: qt5-tools-qtwebkit + morph: strata/qt5-tools-qtwebkit.morph +- name: qt5-tools-qtwayland + morph: strata/qt5-tools-qtwayland.morph +- name: python-pygobject + morph: strata/python-pygobject.morph +- name: genivi-demo-platform-libs + morph: strata/genivi-demo-platform-libs.morph +- name: genivi-demo-platform + morph: strata/genivi-demo-platform.morph +- name: tools + morph: strata/tools.morph +{% if BSP %} +- name: bsp-{{ BSP }} + morph: strata/bsp-{{ BSP }}.morph +{% endif %} +configuration-extensions: +- extensions/set-hostname +- extensions/add-config-files +- extensions/nfsboot +- extensions/install-files +- extensions/fstab +- extensions/install-essential-files +- extensions/genivi diff --git a/systems/gnome-system-armv7lhf-jetson.morph b/systems/gnome-system-armv7lhf-jetson.morph deleted file mode 100644 index c64b03f5..00000000 --- a/systems/gnome-system-armv7lhf-jetson.morph +++ /dev/null @@ -1,92 +0,0 @@ -name: gnome-system-armv7lhf-jetson -kind: system -description: A GNOME system system. -arch: armv7lhf -strata: -- name: audio-bluetooth - morph: strata/audio-bluetooth.morph -- name: bsp-jetson - morph: strata/bsp-jetson.morph -- name: build-essential - morph: strata/build-essential.morph -- name: NetworkManager-common - morph: strata/NetworkManager-common.morph -- name: core - morph: strata/core.morph -- name: data-indexing-management - morph: strata/data-indexing-management.morph -- name: device-management - morph: strata/device-management.morph -- name: dlna-services - morph: strata/dlna-services.morph -- name: foundation - morph: strata/foundation.morph -- name: geolocation - morph: strata/geolocation.morph -- name: glib-common - morph: strata/glib-common.morph -- name: gnome - morph: strata/gnome.morph -- name: graphics-common - morph: strata/graphics-common.morph -- name: gtk-deps - morph: strata/gtk-deps.morph -- name: gtk2 - morph: strata/gtk2.morph -- name: gtk3 - morph: strata/gtk3.morph -- name: input-common - morph: strata/input-common.morph -- name: llvm-common - morph: strata/llvm-common.morph -- name: mesa-common - morph: strata/mesa-common.morph -- name: multimedia-common - morph: strata/multimedia-common.morph -- name: multimedia-gstreamer - morph: strata/multimedia-gstreamer.morph -- name: python2-core - morph: strata/python2-core.morph -- name: python3-gobject - morph: strata/python3-gobject.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: ruby - morph: strata/ruby.morph -- name: libdrm-common - morph: strata/libdrm-common.morph -- name: wayland-generic - morph: strata/wayland-generic.morph -- name: weston-common - morph: strata/weston-common.morph -- name: x-common - morph: strata/x-common.morph -- name: x-drivers - morph: strata/x-drivers.morph -- name: x-generic - morph: strata/x-generic.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: xdg-app-common - morph: strata/xdg-app-common.morph -- name: network-security - morph: strata/network-security.morph -- name: icu-common - morph: strata/icu-common.morph -- name: samba - morph: strata/samba.morph -- name: secret-service - morph: strata/secret-service.morph -- name: spell-checking - morph: strata/spell-checking.morph -- name: storage-management - morph: strata/storage-management.morph -- name: cups - morph: strata/cups.morph -- name: WebKitGtk1-common - morph: strata/WebKitGtk1-common.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/install-files -- extensions/install-essential-files diff --git a/systems/gnome-system-x86_64.morph b/systems/gnome-system-x86_64.morph deleted file mode 100644 index 431da3b0..00000000 --- a/systems/gnome-system-x86_64.morph +++ /dev/null @@ -1,100 +0,0 @@ -name: gnome-system-x86_64 -kind: system -description: A GNOME system system. -arch: x86_64 -strata: -- name: audio-bluetooth - morph: strata/audio-bluetooth.morph -- name: bsp-x86_64-generic - morph: strata/bsp-x86_64-generic.morph -- name: build-essential - morph: strata/build-essential.morph -- name: NetworkManager-common - morph: strata/NetworkManager-common.morph -- name: core - morph: strata/core.morph -- name: data-indexing-management - morph: strata/data-indexing-management.morph -- name: device-management - morph: strata/device-management.morph -- name: dlna-services - morph: strata/dlna-services.morph -- name: foundation - morph: strata/foundation.morph -- name: geolocation - morph: strata/geolocation.morph -- name: glib-common - morph: strata/glib-common.morph -- name: gnome - morph: strata/gnome.morph -- name: graphics-common - morph: strata/graphics-common.morph -- name: gtk-deps - morph: strata/gtk-deps.morph -- name: gtk2 - morph: strata/gtk2.morph -- name: gtk3 - morph: strata/gtk3.morph -- name: input-common - morph: strata/input-common.morph -- name: llvm-common - morph: strata/llvm-common.morph -- name: mesa-common - morph: strata/mesa-common.morph -- name: multimedia-common - morph: strata/multimedia-common.morph -- name: multimedia-hardware-codecs-x86 - morph: strata/multimedia-hardware-codecs-x86.morph -- name: multimedia-gstreamer - morph: strata/multimedia-gstreamer.morph -- name: multimedia-gstreamer-openmax-generic - morph: strata/multimedia-gstreamer-openmax-generic.morph -- name: privileges-management - morph: strata/privileges-management.morph -- name: python2-core - morph: strata/python2-core.morph -- name: python3-gobject - morph: strata/python3-gobject.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: ruby - morph: strata/ruby.morph -- name: libdrm-common - morph: strata/libdrm-common.morph -- name: vala-common - morph: strata/vala-common.morph -- name: wayland-generic - morph: strata/wayland-generic.morph -- name: weston-common - morph: strata/weston-common.morph -- name: x-common - morph: strata/x-common.morph -- name: x-drivers - morph: strata/x-drivers.morph -- name: x-generic - morph: strata/x-generic.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: xdg-app-common - morph: strata/xdg-app-common.morph -- name: network-security - morph: strata/network-security.morph -- name: icu-common - morph: strata/icu-common.morph -- name: samba - morph: strata/samba.morph -- name: secret-service - morph: strata/secret-service.morph -- name: spell-checking - morph: strata/spell-checking.morph -- name: storage-management - morph: strata/storage-management.morph -- name: cups - morph: strata/cups.morph -- name: WebKitGtk1-common - morph: strata/WebKitGtk1-common.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/install-files -- extensions/install-essential-files diff --git a/systems/gnome-system.morph.in b/systems/gnome-system.morph.in new file mode 100644 index 00000000..85c0cb5d --- /dev/null +++ b/systems/gnome-system.morph.in @@ -0,0 +1,105 @@ +name: gnome-system.{{CONFIG}} +kind: system +description: | + A system that boots to the GNOME graphical desktop envirionment. +arch: {{ ARCH }} +strata: +- name: audio-bluetooth + morph: strata/audio-bluetooth.morph +- name: build-essential + morph: strata/build-essential.morph +- name: NetworkManager-common + morph: strata/NetworkManager-common.morph +- name: core + morph: strata/core.morph +- name: data-indexing-management + morph: strata/data-indexing-management.morph +- name: device-management + morph: strata/device-management.morph +- name: dlna-services + morph: strata/dlna-services.morph +- name: foundation + morph: strata/foundation.morph +- name: geolocation + morph: strata/geolocation.morph +- name: glib-common + morph: strata/glib-common.morph +- name: gnome + morph: strata/gnome.morph +- name: graphics-common + morph: strata/graphics-common.morph +- name: gtk-deps + morph: strata/gtk-deps.morph +- name: gtk2 + morph: strata/gtk2.morph +- name: gtk3 + morph: strata/gtk3.morph +- name: input-common + morph: strata/input-common.morph +- name: llvm-common + morph: strata/llvm-common.morph +- name: mesa-common + morph: strata/mesa-common.morph +- name: multimedia-common + morph: strata/multimedia-common.morph +- name: multimedia-gstreamer + morph: strata/multimedia-gstreamer.morph +- name: multimedia-gstreamer-openmax-generic + morph: strata/multimedia-gstreamer-openmax-generic.morph +- name: privileges-management + morph: strata/privileges-management.morph +- name: python2-core + morph: strata/python2-core.morph +- name: python3-gobject + morph: strata/python3-gobject.morph +- name: libsoup-common + morph: strata/libsoup-common.morph +- name: ruby + morph: strata/ruby.morph +- name: libdrm-common + morph: strata/libdrm-common.morph +- name: vala-common + morph: strata/vala-common.morph +- name: wayland-generic + morph: strata/wayland-generic.morph +- name: weston-common + morph: strata/weston-common.morph +- name: x-common + morph: strata/x-common.morph +- name: x-drivers + morph: strata/x-drivers.morph +- name: x-generic + morph: strata/x-generic.morph +- name: ostree-core + morph: strata/ostree-core.morph +- name: xdg-app-common + morph: strata/xdg-app-common.morph +- name: network-security + morph: strata/network-security.morph +- name: icu-common + morph: strata/icu-common.morph +- name: samba + morph: strata/samba.morph +- name: secret-service + morph: strata/secret-service.morph +- name: spell-checking + morph: strata/spell-checking.morph +- name: storage-management + morph: strata/storage-management.morph +- name: cups + morph: strata/cups.morph +- name: WebKitGtk1-common + morph: strata/WebKitGtk1-common.morph +{% if ARCH == 'x86_64' or ARCH == 'x86_32' %} +- name: multimedia-hardware-codecs-x86 + morph: strata/multimedia-hardware-codecs-x86.morph +{% endif %} +{% if BSP %} +- name: bsp-{{ BSP }} + morph: strata/bsp-{{ BSP }}.morph +{% endif %} +configuration-extensions: +- extensions/set-hostname +- extensions/add-config-files +- extensions/install-files +- extensions/install-essential-files diff --git a/systems/initramfs-x86_64.morph b/systems/initramfs-x86_64.morph deleted file mode 100644 index 4bb0020d..00000000 --- a/systems/initramfs-x86_64.morph +++ /dev/null @@ -1,11 +0,0 @@ -name: initramfs-x86_64 -kind: system -description: Initramfs for x86_64 -arch: x86_64 -strata: -- name: build-essential - morph: strata/build-essential.morph - artifacts: - - build-essential-minimal -- name: initramfs-utils - morph: strata/initramfs-utils.morph diff --git a/systems/initramfs.morph.in b/systems/initramfs.morph.in new file mode 100644 index 00000000..73ce14fc --- /dev/null +++ b/systems/initramfs.morph.in @@ -0,0 +1,11 @@ +name: initramfs.{{CONFIG}} +kind: system +description: Initramfs +arch: {{ ARCH }} +strata: +- name: build-essential + morph: strata/build-essential.morph + artifacts: + - build-essential-minimal +- name: initramfs-utils + morph: strata/initramfs-utils.morph diff --git a/systems/installer-system-armv8b64.morph b/systems/installer-system-armv8b64.morph deleted file mode 100644 index 824e2dab..00000000 --- a/systems/installer-system-armv8b64.morph +++ /dev/null @@ -1,39 +0,0 @@ -name: installer-system-armv8b64 -kind: system -description: The system that should be used as an Installer to install other Baserock - systems. -arch: armv8b64 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: python2-core - morph: strata/python2-core.morph -- name: foundation - morph: strata/foundation.morph -- name: bsp-armv8b64-generic - morph: strata/bsp-armv8b64-generic.morph -- name: python-cliapp - morph: strata/python-cliapp.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: python-wsgi - morph: strata/python-wsgi.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: glib-common - morph: strata/glib-common.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: morph-utils - morph: strata/morph-utils.morph -- name: installer-utils - morph: strata/installer-utils.morph -configuration-extensions: -- extensions/set-hostname -- extensions/install-files -- extensions/fstab -- extensions/installer -- extensions/moonshot-kernel -- extensions/install-essential-files diff --git a/systems/installer-system-x86_64.morph b/systems/installer-system-x86_64.morph deleted file mode 100644 index aa102c15..00000000 --- a/systems/installer-system-x86_64.morph +++ /dev/null @@ -1,38 +0,0 @@ -name: installer-system-x86_64 -kind: system -description: The system that should be used as an Installer to install other Baserock - systems. -arch: x86_64 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: python2-core - morph: strata/python2-core.morph -- name: foundation - morph: strata/foundation.morph -- name: bsp-x86_64-generic - morph: strata/bsp-x86_64-generic.morph -- name: python-cliapp - morph: strata/python-cliapp.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: python-wsgi - morph: strata/python-wsgi.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: glib-common - morph: strata/glib-common.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: morph-utils - morph: strata/morph-utils.morph -- name: installer-utils - morph: strata/installer-utils.morph -configuration-extensions: -- extensions/set-hostname -- extensions/install-files -- extensions/fstab -- extensions/installer -- extensions/install-essential-files diff --git a/systems/installer-system.morph.in b/systems/installer-system.morph.in new file mode 100644 index 00000000..e48266d3 --- /dev/null +++ b/systems/installer-system.morph.in @@ -0,0 +1,40 @@ +name: installer-system.{{CONFIG}} +kind: system +description: The system that should be used as an Installer to install other Baserock + systems. +arch: {{ ARCH }} +strata: +- name: build-essential + morph: strata/build-essential.morph +- name: core + morph: strata/core.morph +- name: python2-core + morph: strata/python2-core.morph +- name: foundation + morph: strata/foundation.morph +- name: python-cliapp + morph: strata/python-cliapp.morph +- name: python-pygobject + morph: strata/python-pygobject.morph +- name: python-wsgi + morph: strata/python-wsgi.morph +- name: libsoup-common + morph: strata/libsoup-common.morph +- name: glib-common + morph: strata/glib-common.morph +- name: ostree-core + morph: strata/ostree-core.morph +- name: morph-utils + morph: strata/morph-utils.morph +- name: installer-utils + morph: strata/installer-utils.morph +{% if BSP %} +- name: bsp-{{ BSP }} + morph: strata/bsp-{{ BSP }}.morph +{% endif %} +configuration-extensions: +- extensions/set-hostname +- extensions/install-files +- extensions/fstab +- extensions/installer +- extensions/install-essential-files diff --git a/systems/ivi-system-armv7lhf-jetson.morph b/systems/ivi-system-armv7lhf-jetson.morph deleted file mode 100644 index 5e10db6d..00000000 --- a/systems/ivi-system-armv7lhf-jetson.morph +++ /dev/null @@ -1,90 +0,0 @@ -name: ivi-system-armv7lhf-jetson -kind: system -description: A generic IVI system with components from GENIVI and AGL -arch: armv7lhf -strata: -- name: audio-bluetooth - morph: strata/audio-bluetooth.morph -- name: bsp-x86_64-generic - morph: strata/bsp-x86_64-generic.morph -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: cpp-common-libs - morph: strata/cpp-common-libs.morph -- name: data-indexing-management - morph: strata/data-indexing-management.morph -- name: device-management - morph: strata/device-management.morph -- name: dlna-services - morph: strata/dlna-services.morph -- name: foundation - morph: strata/foundation.morph -- name: geolocation - morph: strata/geolocation.morph -- name: glib-common - morph: strata/glib-common.morph -- name: graphics-common - morph: strata/graphics-common.morph -- name: icu-common - morph: strata/icu-common.morph -- name: input-common - morph: strata/input-common.morph -- name: ivi-common - morph: strata/ivi-common.morph -- name: libdrm-common - morph: strata/libdrm-common.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: llvm-common - morph: strata/llvm-common.morph -- name: mesa-common - morph: strata/mesa-common.morph -- name: multimedia-common - morph: strata/multimedia-common.morph -- name: multimedia-gstreamer - morph: strata/multimedia-gstreamer.morph -- name: multimedia-gstreamer-openmax-generic - morph: strata/multimedia-gstreamer-openmax-generic.morph -- name: navigation - morph: strata/navigation.morph -- name: network-security - morph: strata/network-security.morph -- name: NetworkManager-common - morph: strata/NetworkManager-common.morph -- name: privileges-management - morph: strata/privileges-management.morph -- name: python2-core - morph: strata/python2-core.morph -- name: python3-gobject - morph: strata/python3-gobject.morph -- name: qt5-tools - morph: strata/qt5-tools.morph -- name: qt5-tools-qtmultimedia - morph: strata/qt5-tools-qtmultimedia.morph -- name: qt5-tools-qtwebengine - morph: strata/qt5-tools-qtwebengine.morph -- name: qt5-tools-qtwayland - morph: strata/qt5-tools-qtwayland.morph -- name: ruby - morph: strata/ruby.morph -- name: samba - morph: strata/samba.morph -- name: secret-service - morph: strata/secret-service.morph -- name: spell-checking - morph: strata/spell-checking.morph -- name: storage-management - morph: strata/storage-management.morph -- name: vala-common - morph: strata/vala-common.morph -- name: wayland-generic - morph: strata/wayland-generic.morph -- name: weston-common - morph: strata/weston-common.morph -- name: x-common - morph: strata/x-common.morph -configuration-extensions: -- extensions/set-hostname -- extensions/install-essential-files diff --git a/systems/ivi-system-x86_64.morph b/systems/ivi-system-x86_64.morph deleted file mode 100644 index 53d4f488..00000000 --- a/systems/ivi-system-x86_64.morph +++ /dev/null @@ -1,92 +0,0 @@ -name: ivi-system-x86_64 -kind: system -description: A generic IVI system with components from GENIVI and AGL -arch: x86_64 -strata: -- name: audio-bluetooth - morph: strata/audio-bluetooth.morph -- name: bsp-x86_64-generic - morph: strata/bsp-x86_64-generic.morph -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: cpp-common-libs - morph: strata/cpp-common-libs.morph -- name: data-indexing-management - morph: strata/data-indexing-management.morph -- name: device-management - morph: strata/device-management.morph -- name: dlna-services - morph: strata/dlna-services.morph -- name: foundation - morph: strata/foundation.morph -- name: geolocation - morph: strata/geolocation.morph -- name: glib-common - morph: strata/glib-common.morph -- name: graphics-common - morph: strata/graphics-common.morph -- name: icu-common - morph: strata/icu-common.morph -- name: input-common - morph: strata/input-common.morph -- name: ivi-common - morph: strata/ivi-common.morph -- name: libdrm-common - morph: strata/libdrm-common.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: llvm-common - morph: strata/llvm-common.morph -- name: mesa-common - morph: strata/mesa-common.morph -- name: multimedia-common - morph: strata/multimedia-common.morph -- name: multimedia-hardware-codecs-x86 - morph: strata/multimedia-hardware-codecs-x86.morph -- name: multimedia-gstreamer - morph: strata/multimedia-gstreamer.morph -- name: multimedia-gstreamer-openmax-generic - morph: strata/multimedia-gstreamer-openmax-generic.morph -- name: navigation - morph: strata/navigation.morph -- name: network-security - morph: strata/network-security.morph -- name: NetworkManager-common - morph: strata/NetworkManager-common.morph -- name: privileges-management - morph: strata/privileges-management.morph -- name: python2-core - morph: strata/python2-core.morph -- name: python3-gobject - morph: strata/python3-gobject.morph -- name: qt5-tools - morph: strata/qt5-tools.morph -- name: qt5-tools-qtmultimedia - morph: strata/qt5-tools-qtmultimedia.morph -- name: qt5-tools-qtwebengine - morph: strata/qt5-tools-qtwebengine.morph -- name: qt5-tools-qtwayland - morph: strata/qt5-tools-qtwayland.morph -- name: ruby - morph: strata/ruby.morph -- name: samba - morph: strata/samba.morph -- name: secret-service - morph: strata/secret-service.morph -- name: spell-checking - morph: strata/spell-checking.morph -- name: storage-management - morph: strata/storage-management.morph -- name: vala-common - morph: strata/vala-common.morph -- name: wayland-generic - morph: strata/wayland-generic.morph -- name: weston-common - morph: strata/weston-common.morph -- name: x-common - morph: strata/x-common.morph -configuration-extensions: -- extensions/set-hostname -- extensions/install-essential-files diff --git a/systems/ivi-system.morph.in b/systems/ivi-system.morph.in new file mode 100644 index 00000000..513f76a9 --- /dev/null +++ b/systems/ivi-system.morph.in @@ -0,0 +1,96 @@ +name: ivi-system.{{CONFIG}} +kind: system +description: A generic IVI system with components from GENIVI and AGL +arch: {{ ARCH }} +strata: +- name: audio-bluetooth + morph: strata/audio-bluetooth.morph +- name: build-essential + morph: strata/build-essential.morph +- name: core + morph: strata/core.morph +- name: cpp-common-libs + morph: strata/cpp-common-libs.morph +- name: data-indexing-management + morph: strata/data-indexing-management.morph +- name: device-management + morph: strata/device-management.morph +- name: dlna-services + morph: strata/dlna-services.morph +- name: foundation + morph: strata/foundation.morph +- name: geolocation + morph: strata/geolocation.morph +- name: glib-common + morph: strata/glib-common.morph +- name: graphics-common + morph: strata/graphics-common.morph +- name: icu-common + morph: strata/icu-common.morph +- name: input-common + morph: strata/input-common.morph +- name: ivi-common + morph: strata/ivi-common.morph +- name: libdrm-common + morph: strata/libdrm-common.morph +- name: libsoup-common + morph: strata/libsoup-common.morph +- name: llvm-common + morph: strata/llvm-common.morph +- name: mesa-common + morph: strata/mesa-common.morph +- name: multimedia-common + morph: strata/multimedia-common.morph +- name: multimedia-gstreamer + morph: strata/multimedia-gstreamer.morph +- name: multimedia-gstreamer-openmax-generic + morph: strata/multimedia-gstreamer-openmax-generic.morph +- name: navigation + morph: strata/navigation.morph +- name: network-security + morph: strata/network-security.morph +- name: NetworkManager-common + morph: strata/NetworkManager-common.morph +- name: privileges-management + morph: strata/privileges-management.morph +- name: python2-core + morph: strata/python2-core.morph +- name: python3-gobject + morph: strata/python3-gobject.morph +- name: qt5-tools + morph: strata/qt5-tools.morph +- name: qt5-tools-qtmultimedia + morph: strata/qt5-tools-qtmultimedia.morph +- name: qt5-tools-qtwebengine + morph: strata/qt5-tools-qtwebengine.morph +- name: qt5-tools-qtwayland + morph: strata/qt5-tools-qtwayland.morph +- name: ruby + morph: strata/ruby.morph +- name: samba + morph: strata/samba.morph +- name: secret-service + morph: strata/secret-service.morph +- name: spell-checking + morph: strata/spell-checking.morph +- name: storage-management + morph: strata/storage-management.morph +- name: vala-common + morph: strata/vala-common.morph +- name: wayland-generic + morph: strata/wayland-generic.morph +- name: weston-common + morph: strata/weston-common.morph +- name: x-common + morph: strata/x-common.morph +{% if ARCH == 'x86_64' or ARCH == 'x86_32' %} +- name: multimedia-hardware-codecs-x86 + morph: strata/multimedia-hardware-codecs-x86.morph +{% endif %} +{% if BSP %} +- name: bsp-{{ BSP }} + morph: strata/bsp-{{ BSP }}.morph +{% endif %} +configuration-extensions: +- extensions/set-hostname +- extensions/install-essential-files diff --git a/systems/java-build-system-x86_64-generic.morph b/systems/java-build-system-x86_64-generic.morph deleted file mode 100644 index b60637ba..00000000 --- a/systems/java-build-system-x86_64-generic.morph +++ /dev/null @@ -1,86 +0,0 @@ -name: java-build-system-x86_64-generic -kind: system -description: | - A superset of devel-system which can build OpenJDK. - - There are instruction on using and testing java-build-system at: - https://wiki.baserock.org/Java. - - For use on 64-bit Intel x86 computers. -arch: x86_64 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: bsp-x86_64-generic - morph: strata/bsp-x86_64-generic.morph -- name: tools - morph: strata/tools.morph -- name: python-cliapp - morph: strata/python-cliapp.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: python-wsgi - morph: strata/python-wsgi.morph -- name: morph-utils - morph: strata/morph-utils.morph -- name: openstack-common - morph: strata/openstack-common.morph -- name: openstack-clients - morph: strata/openstack-clients.morph -- name: cloudinit-support - morph: strata/cloudinit-support.morph -- name: nodejs - morph: strata/nodejs.morph -- name: ruby - morph: strata/ruby.morph -- name: lorry - morph: strata/lorry.morph -- name: baserock-import - morph: strata/baserock-import.morph -- name: nfs - morph: strata/nfs.morph -- name: python2-core - morph: strata/python2-core.morph -- name: python-tools - morph: strata/python-tools.morph -- name: python-common - morph: strata/python-common.morph -- name: devtools - morph: strata/devtools.morph -- name: ansible - morph: strata/ansible.morph -- name: swift - morph: strata/swift.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: glib-common - morph: strata/glib-common.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: coreutils-common - morph: strata/coreutils-common.morph -- name: x-common - morph: strata/x-common.morph -- name: x-generic - morph: strata/x-generic.morph -- name: cups - morph: strata/cups.morph -- name: java - morph: strata/java.morph -- name: graphics-common - morph: strata/graphics-common.morph -- name: audio-bluetooth - morph: strata/audio-bluetooth.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/simple-network -- extensions/nfsboot -- extensions/install-files -- extensions/cloud-init -- extensions/fstab -- extensions/install-essential-files diff --git a/systems/java-build-system.morph.in b/systems/java-build-system.morph.in new file mode 100644 index 00000000..cdae66d4 --- /dev/null +++ b/systems/java-build-system.morph.in @@ -0,0 +1,86 @@ +name: java-build-system.{{CONFIG}} +kind: system +description: | + A superset of devel-system which can build OpenJDK. + + There are instruction on using and testing java-build-system at: + https://wiki.baserock.org/Java. +arch: {{ ARCH }} +strata: +- name: build-essential + morph: strata/build-essential.morph +- name: core + morph: strata/core.morph +- name: foundation + morph: strata/foundation.morph +- name: tools + morph: strata/tools.morph +- name: python-cliapp + morph: strata/python-cliapp.morph +- name: python-pygobject + morph: strata/python-pygobject.morph +- name: python-wsgi + morph: strata/python-wsgi.morph +- name: morph-utils + morph: strata/morph-utils.morph +- name: openstack-common + morph: strata/openstack-common.morph +- name: openstack-clients + morph: strata/openstack-clients.morph +- name: cloudinit-support + morph: strata/cloudinit-support.morph +- name: nodejs + morph: strata/nodejs.morph +- name: ruby + morph: strata/ruby.morph +- name: lorry + morph: strata/lorry.morph +- name: baserock-import + morph: strata/baserock-import.morph +- name: nfs + morph: strata/nfs.morph +- name: python2-core + morph: strata/python2-core.morph +- name: python-tools + morph: strata/python-tools.morph +- name: python-common + morph: strata/python-common.morph +- name: devtools + morph: strata/devtools.morph +- name: ansible + morph: strata/ansible.morph +- name: swift + morph: strata/swift.morph +- name: libsoup-common + morph: strata/libsoup-common.morph +- name: glib-common + morph: strata/glib-common.morph +- name: ostree-core + morph: strata/ostree-core.morph +- name: coreutils-common + morph: strata/coreutils-common.morph +- name: x-common + morph: strata/x-common.morph +- name: x-generic + morph: strata/x-generic.morph +- name: cups + morph: strata/cups.morph +- name: java + morph: strata/java.morph +- name: graphics-common + morph: strata/graphics-common.morph +- name: audio-bluetooth + morph: strata/audio-bluetooth.morph +{% if BSP %} +- name: bsp-{{ BSP }} + morph: strata/bsp-{{ BSP }}.morph +{% endif %} +configuration-extensions: +- extensions/set-hostname +- extensions/add-config-files +- extensions/simple-network +- extensions/nfsboot +- extensions/install-files +- extensions/cloud-init +- extensions/fstab +- extensions/install-essential-files diff --git a/systems/minimal-system-armv5l-openbmc-aspeed.morph b/systems/minimal-system-armv5l-openbmc-aspeed.morph deleted file mode 100644 index 602e05c7..00000000 --- a/systems/minimal-system-armv5l-openbmc-aspeed.morph +++ /dev/null @@ -1,20 +0,0 @@ -name: minimal-system-armv5l-openbmc-aspeed -kind: system -description: The set of strata required to have a minimal system for armv5l -arch: armv5l -strata: -- name: build-essential - morph: strata/build-essential.morph - artifacts: - - build-essential-minimal -- name: bsp-armv5l-openbmc-aspeed - morph: strata/bsp-armv5l-openbmc-aspeed.morph - artifacts: - - bsp-armv5l-openbmc-aspeed-runtime -configuration-extensions: -- extensions/set-hostname -- extensions/simple-network -- extensions/nfsboot -- extensions/install-files -- extensions/busybox-init -- extensions/install-essential-files diff --git a/systems/minimal-system-x86_32-generic.morph b/systems/minimal-system-x86_32-generic.morph deleted file mode 100644 index 2e9f79c5..00000000 --- a/systems/minimal-system-x86_32-generic.morph +++ /dev/null @@ -1,21 +0,0 @@ -name: minimal-system-x86_32-generic -kind: system -description: The set of strata required to have a minimal system for a 32-bit x86 - system. -arch: x86_32 -strata: -- name: build-essential - morph: strata/build-essential.morph - artifacts: - - build-essential-minimal -- name: bsp-x86_32-generic - morph: strata/bsp-x86_32-generic.morph - artifacts: - - bsp-x86_32-generic-runtime -configuration-extensions: -- extensions/set-hostname -- extensions/simple-network -- extensions/nfsboot -- extensions/install-files -- extensions/busybox-init -- extensions/install-essential-files diff --git a/systems/minimal-system-x86_64-generic.morph b/systems/minimal-system-x86_64-generic.morph deleted file mode 100644 index afd9460c..00000000 --- a/systems/minimal-system-x86_64-generic.morph +++ /dev/null @@ -1,21 +0,0 @@ -name: minimal-system-x86_64-generic -kind: system -description: The set of strata required to have a minimal system for a 64-bit x86 - system. -arch: x86_64 -strata: -- name: build-essential - morph: strata/build-essential.morph - artifacts: - - build-essential-minimal -- name: bsp-x86_64-generic - morph: strata/bsp-x86_64-generic.morph - artifacts: - - bsp-x86_64-generic-runtime -configuration-extensions: -- extensions/set-hostname -- extensions/simple-network -- extensions/nfsboot -- extensions/install-files -- extensions/busybox-init -- extensions/install-essential-files diff --git a/systems/minimal-system.morph.in b/systems/minimal-system.morph.in new file mode 100644 index 00000000..019d2c8b --- /dev/null +++ b/systems/minimal-system.morph.in @@ -0,0 +1,23 @@ +name: minimal-system.{{CONFIG}} +kind: system +description: | + An example Baserock system with a minimal disk space footprint. +arch: {{ ARCH }} +strata: +- name: build-essential + morph: strata/build-essential.morph + artifacts: + - build-essential-minimal +{% if BSP %} +- name: bsp-{{ BSP }} + morph: strata/bsp-{{ BSP }}.morph + artifacts: + - bsp-{{ BSP }}-runtime +{% endif %} +configuration-extensions: +- extensions/set-hostname +- extensions/simple-network +- extensions/nfsboot +- extensions/install-files +- extensions/busybox-init +- extensions/install-essential-files diff --git a/systems/nodejs-system-x86_64.morph b/systems/nodejs-system-x86_64.morph deleted file mode 100644 index 7fba330b..00000000 --- a/systems/nodejs-system-x86_64.morph +++ /dev/null @@ -1,24 +0,0 @@ -name: nodejs-system-x86_64 -kind: system -description: A system that is able to build other systems based on the 64-bit x86 - architecture. -arch: x86_64 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: bsp-x86_64-generic - morph: strata/bsp-x86_64-generic.morph -- name: python2-core - morph: strata/python2-core.morph -- name: nodejs - morph: strata/nodejs.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/install-essential-files diff --git a/systems/nodejs-system.morph.in b/systems/nodejs-system.morph.in new file mode 100644 index 00000000..87c3c20d --- /dev/null +++ b/systems/nodejs-system.morph.in @@ -0,0 +1,26 @@ +name: nodejs-system.{{CONFIG}} +kind: system +description: | + Example system containing the Node.js Javascript runtime +arch: {{ ARCH }} +strata: +- name: build-essential + morph: strata/build-essential.morph +- name: core + morph: strata/core.morph +- name: foundation + morph: strata/foundation.morph +- name: python2-core + morph: strata/python2-core.morph +- name: nodejs + morph: strata/nodejs.morph +{% if BSP %} +- name: bsp-{{ BSP }} + morph: strata/bsp-{{ BSP }}.morph +{% endif %} +configuration-extensions: +- extensions/set-hostname +- extensions/add-config-files +- extensions/nfsboot +- extensions/install-files +- extensions/install-essential-files diff --git a/systems/ocaml-system-x86_64.morph b/systems/ocaml-system-x86_64.morph deleted file mode 100644 index 9ac35d6f..00000000 --- a/systems/ocaml-system-x86_64.morph +++ /dev/null @@ -1,20 +0,0 @@ -name: ocaml-system-x86_64 -kind: system -description: OCaml base system -arch: x86_64 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: bsp-x86_64-generic - morph: strata/bsp-x86_64-generic.morph -- name: ocaml-language - morph: strata/ocaml-language.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files diff --git a/systems/ocaml-system.morph.in b/systems/ocaml-system.morph.in new file mode 100644 index 00000000..1b482831 --- /dev/null +++ b/systems/ocaml-system.morph.in @@ -0,0 +1,22 @@ +name: ocaml-system.{{CONFIG}} +kind: system +description: OCaml base system +arch: {{ ARCH }} +strata: +- name: build-essential + morph: strata/build-essential.morph +- name: core + morph: strata/core.morph +- name: foundation + morph: strata/foundation.morph +- name: ocaml-language + morph: strata/ocaml-language.morph +{% if BSP %} +- name: bsp-{{ BSP }} + morph: strata/bsp-{{ BSP }}.morph +{% endif %} +configuration-extensions: +- extensions/set-hostname +- extensions/add-config-files +- extensions/nfsboot +- extensions/install-files diff --git a/systems/openstack-system-x86_64.morph b/systems/openstack-system-x86_64.morph deleted file mode 100644 index 7cb8c20f..00000000 --- a/systems/openstack-system-x86_64.morph +++ /dev/null @@ -1,88 +0,0 @@ -name: openstack-system-x86_64 -kind: system -description: Openstack system in baserock for the x86_64 architecture -arch: x86_64 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: python2-core - morph: strata/python2-core.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: python-common - morph: strata/python-common.morph -- name: foundation - morph: strata/foundation.morph -- name: bsp-x86_64-generic - morph: strata/bsp-x86_64-generic.morph -- name: coreutils-common - morph: strata/coreutils-common.morph -- name: devtools - morph: strata/devtools.morph -- name: tools - morph: strata/tools.morph -- name: cloudinit-support - morph: strata/cloudinit-support.morph -- name: lvm - morph: strata/lvm.morph -- name: virtualization - morph: strata/virtualization.morph -- name: connectivity - morph: strata/connectivity.morph -- name: networking-utils - morph: strata/networking-utils.morph -- name: nfs - morph: strata/nfs.morph -- name: databases - morph: strata/databases.morph -- name: erlang - morph: strata/erlang.morph -- name: pcre-utils - morph: strata/pcre-utils.morph -- name: apache-httpd-server - morph: strata/apache-httpd-server.morph -- name: django - morph: strata/django.morph -- name: xstatic - morph: strata/xstatic.morph -- name: openstack-common - morph: strata/openstack-common.morph -- name: openstack-clients - morph: strata/openstack-clients.morph -- name: openstack-services - morph: strata/openstack-services.morph -- name: ansible - morph: strata/ansible.morph -- name: ntpd - morph: strata/ntpd.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: glib-common - morph: strata/glib-common.morph -- name: test-tools - morph: strata/test-tools.morph -- name: swift - morph: strata/swift.morph -- name: python-tools - morph: strata/python-tools.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/simple-network -- extensions/nfsboot -- extensions/install-files -- extensions/cloud-init -- extensions/hosts -- extensions/openstack-keystone -- extensions/openstack-glance -- extensions/openstack-cinder -- extensions/openstack-nova -- extensions/openstack-network -- extensions/openstack-neutron -- extensions/openstack-ceilometer -- extensions/openstack-time -- extensions/fstab -- extensions/openstack-ironic -- extensions/install-essential-files diff --git a/systems/openstack-system.morph.in b/systems/openstack-system.morph.in new file mode 100644 index 00000000..35dc05dc --- /dev/null +++ b/systems/openstack-system.morph.in @@ -0,0 +1,91 @@ +name: openstack-system.{{CONFIG}} +kind: system +description: | + OpenStack infrastructure-as-a-service provider. +arch: {{ ARCH }} +strata: +- name: build-essential + morph: strata/build-essential.morph +- name: core + morph: strata/core.morph +- name: python2-core + morph: strata/python2-core.morph +- name: python-pygobject + morph: strata/python-pygobject.morph +- name: python-common + morph: strata/python-common.morph +- name: foundation + morph: strata/foundation.morph +- name: coreutils-common + morph: strata/coreutils-common.morph +- name: devtools + morph: strata/devtools.morph +- name: tools + morph: strata/tools.morph +- name: cloudinit-support + morph: strata/cloudinit-support.morph +- name: lvm + morph: strata/lvm.morph +- name: virtualization + morph: strata/virtualization.morph +- name: connectivity + morph: strata/connectivity.morph +- name: networking-utils + morph: strata/networking-utils.morph +- name: nfs + morph: strata/nfs.morph +- name: databases + morph: strata/databases.morph +- name: erlang + morph: strata/erlang.morph +- name: pcre-utils + morph: strata/pcre-utils.morph +- name: apache-httpd-server + morph: strata/apache-httpd-server.morph +- name: django + morph: strata/django.morph +- name: xstatic + morph: strata/xstatic.morph +- name: openstack-common + morph: strata/openstack-common.morph +- name: openstack-clients + morph: strata/openstack-clients.morph +- name: openstack-services + morph: strata/openstack-services.morph +- name: ansible + morph: strata/ansible.morph +- name: ntpd + morph: strata/ntpd.morph +- name: libsoup-common + morph: strata/libsoup-common.morph +- name: glib-common + morph: strata/glib-common.morph +- name: test-tools + morph: strata/test-tools.morph +- name: swift + morph: strata/swift.morph +- name: python-tools + morph: strata/python-tools.morph +{% if BSP %} +- name: bsp-{{ BSP }} + morph: strata/bsp-{{ BSP }}.morph +{% endif %} +configuration-extensions: +- extensions/set-hostname +- extensions/add-config-files +- extensions/simple-network +- extensions/nfsboot +- extensions/install-files +- extensions/cloud-init +- extensions/hosts +- extensions/openstack-keystone +- extensions/openstack-glance +- extensions/openstack-cinder +- extensions/openstack-nova +- extensions/openstack-network +- extensions/openstack-neutron +- extensions/openstack-ceilometer +- extensions/openstack-time +- extensions/fstab +- extensions/openstack-ironic +- extensions/install-essential-files diff --git a/systems/qt4-devel-system-x86_64-generic.morph b/systems/qt4-devel-system-x86_64-generic.morph deleted file mode 100644 index d6a84fd6..00000000 --- a/systems/qt4-devel-system-x86_64-generic.morph +++ /dev/null @@ -1,48 +0,0 @@ -name: qt4-devel-system-x86_64-generic -kind: system -description: A system that is able to build other systems based on the 64-bit x86 - architecture. -arch: x86_64 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: audio-bluetooth - morph: strata/audio-bluetooth.morph -- name: multimedia-common - morph: strata/multimedia-common.morph -- name: multimedia-gstreamer-0.10 - morph: strata/multimedia-gstreamer-0.10.morph -- name: bsp-x86_64-generic - morph: strata/bsp-x86_64-generic.morph -- name: tools - morph: strata/tools.morph -- name: glib-common - morph: strata/glib-common.morph -- name: x-common - morph: strata/x-common.morph -- name: x-generic - morph: strata/x-generic.morph -- name: qt4-tools - morph: strata/qt4-tools.morph -- name: qt4-sdk - morph: strata/qt4-sdk.morph -- name: lua51 - morph: strata/lua51.morph -- name: connectivity - morph: strata/connectivity.morph -- name: connman-common - morph: strata/connman-common.morph -- name: enlightenment - morph: strata/enlightenment.morph -- name: icu-common - morph: strata/icu-common.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/install-essential-files diff --git a/systems/qt4-devel-system.morph.in b/systems/qt4-devel-system.morph.in new file mode 100644 index 00000000..e69f9d56 --- /dev/null +++ b/systems/qt4-devel-system.morph.in @@ -0,0 +1,50 @@ +name: qt4-devel-system.{{CONFIG}} +kind: system +description: + A system with the Qt4 libraries available. +arch: {{ ARCH }} +strata: +- name: build-essential + morph: strata/build-essential.morph +- name: core + morph: strata/core.morph +- name: foundation + morph: strata/foundation.morph +- name: audio-bluetooth + morph: strata/audio-bluetooth.morph +- name: multimedia-common + morph: strata/multimedia-common.morph +- name: multimedia-gstreamer-0.10 + morph: strata/multimedia-gstreamer-0.10.morph +- name: tools + morph: strata/tools.morph +- name: glib-common + morph: strata/glib-common.morph +- name: x-common + morph: strata/x-common.morph +- name: x-generic + morph: strata/x-generic.morph +- name: qt4-tools + morph: strata/qt4-tools.morph +- name: qt4-sdk + morph: strata/qt4-sdk.morph +- name: lua51 + morph: strata/lua51.morph +- name: connectivity + morph: strata/connectivity.morph +- name: connman-common + morph: strata/connman-common.morph +- name: enlightenment + morph: strata/enlightenment.morph +- name: icu-common + morph: strata/icu-common.morph +{% if BSP %} +- name: bsp-{{ BSP }} + morph: strata/bsp-{{ BSP }}.morph +{% endif %} +configuration-extensions: +- extensions/set-hostname +- extensions/add-config-files +- extensions/nfsboot +- extensions/install-files +- extensions/install-essential-files diff --git a/systems/qt5-devel-system-x86_64-generic.morph b/systems/qt5-devel-system-x86_64-generic.morph deleted file mode 100644 index eb393f12..00000000 --- a/systems/qt5-devel-system-x86_64-generic.morph +++ /dev/null @@ -1,50 +0,0 @@ -name: qt5-devel-system-x86_64-generic -kind: system -description: A system that is able to build other systems based on the 64-bit x86 - architecture. -arch: x86_64 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: audio-bluetooth - morph: strata/audio-bluetooth.morph -- name: multimedia-common - morph: strata/multimedia-common.morph -- name: multimedia-gstreamer - morph: strata/multimedia-gstreamer.morph -- name: bsp-x86_64-generic - morph: strata/bsp-x86_64-generic.morph -- name: tools - morph: strata/tools.morph -- name: glib-common - morph: strata/glib-common.morph -- name: x-common - morph: strata/x-common.morph -- name: x-generic - morph: strata/x-generic.morph -- name: qt5-tools - morph: strata/qt5-tools.morph -- name: qt5-tools-qtwebengine - morph: strata/qt5-tools-qtwebengine.morph -- name: qt5-sdk - morph: strata/qt5-sdk.morph -- name: lua51 - morph: strata/lua51.morph -- name: connectivity - morph: strata/connectivity.morph -- name: connman-common - morph: strata/connman-common.morph -- name: enlightenment - morph: strata/enlightenment.morph -- name: icu-common - morph: strata/icu-common.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/install-essential-files diff --git a/systems/qt5-devel-system.morph.in b/systems/qt5-devel-system.morph.in new file mode 100644 index 00000000..79bb94cc --- /dev/null +++ b/systems/qt5-devel-system.morph.in @@ -0,0 +1,52 @@ +name: qt5-devel-system.{{CONFIG}} +kind: system +description: | + A system with the Qt5 libraries available. +arch: {{ ARCH }} +strata: +- name: build-essential + morph: strata/build-essential.morph +- name: core + morph: strata/core.morph +- name: foundation + morph: strata/foundation.morph +- name: audio-bluetooth + morph: strata/audio-bluetooth.morph +- name: multimedia-common + morph: strata/multimedia-common.morph +- name: multimedia-gstreamer + morph: strata/multimedia-gstreamer.morph +- name: tools + morph: strata/tools.morph +- name: glib-common + morph: strata/glib-common.morph +- name: x-common + morph: strata/x-common.morph +- name: x-generic + morph: strata/x-generic.morph +- name: qt5-tools + morph: strata/qt5-tools.morph +- name: qt5-tools-qtwebengine + morph: strata/qt5-tools-qtwebengine.morph +- name: qt5-sdk + morph: strata/qt5-sdk.morph +- name: lua51 + morph: strata/lua51.morph +- name: connectivity + morph: strata/connectivity.morph +- name: connman-common + morph: strata/connman-common.morph +- name: enlightenment + morph: strata/enlightenment.morph +- name: icu-common + morph: strata/icu-common.morph +{% if BSP %} +- name: bsp-{{ BSP }} + morph: strata/bsp-{{ BSP }}.morph +{% endif %} +configuration-extensions: +- extensions/set-hostname +- extensions/add-config-files +- extensions/nfsboot +- extensions/install-files +- extensions/install-essential-files diff --git a/systems/swift-system-x86_64.morph b/systems/swift-system-x86_64.morph deleted file mode 100644 index f850ec45..00000000 --- a/systems/swift-system-x86_64.morph +++ /dev/null @@ -1,34 +0,0 @@ -name: swift-system-x86_64 -kind: system -description: A base system for deploying swift nodes -arch: x86_64 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: bsp-x86_64-generic - morph: strata/bsp-x86_64-generic.morph -- name: swift - morph: strata/swift.morph -- name: ntpd - morph: strata/ntpd.morph -- name: python2-core - morph: strata/python2-core.morph -- name: python-common - morph: strata/python-common.morph -- name: ansible - morph: strata/ansible.morph -- name: openstack-common - morph: strata/openstack-common.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/simple-network -- extensions/nfsboot -- extensions/install-files -- extensions/fstab -- extensions/swift-storage -- extensions/install-essential-files diff --git a/systems/swift-system.morph.in b/systems/swift-system.morph.in new file mode 100644 index 00000000..4ad5a28a --- /dev/null +++ b/systems/swift-system.morph.in @@ -0,0 +1,37 @@ +name: swift-system.{{CONFIG}} +kind: system +description: | + A base system for deploying OpenStack Swift nodes. +arch: {{ ARCH }} +strata: +- name: build-essential + morph: strata/build-essential.morph +- name: core + morph: strata/core.morph +- name: foundation + morph: strata/foundation.morph +- name: swift + morph: strata/swift.morph +- name: ntpd + morph: strata/ntpd.morph +- name: python2-core + morph: strata/python2-core.morph +- name: python-common + morph: strata/python-common.morph +- name: ansible + morph: strata/ansible.morph +- name: openstack-common + morph: strata/openstack-common.morph +{% if BSP %} +- name: bsp-{{ BSP }} + morph: strata/bsp-{{ BSP }}.morph +{% endif %} +configuration-extensions: +- extensions/set-hostname +- extensions/add-config-files +- extensions/simple-network +- extensions/nfsboot +- extensions/install-files +- extensions/fstab +- extensions/swift-storage +- extensions/install-essential-files diff --git a/systems/trove-system-x86_64.morph b/systems/trove-system-x86_64.morph deleted file mode 100644 index 09838777..00000000 --- a/systems/trove-system-x86_64.morph +++ /dev/null @@ -1,65 +0,0 @@ -name: trove-system-x86_64 -kind: system -description: Trove server -arch: x86_64 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: bsp-x86_64-generic - morph: strata/bsp-x86_64-generic.morph -- name: foundation - morph: strata/foundation.morph -- name: core - morph: strata/core.morph -- name: python2-core - morph: strata/python2-core.morph -- name: python3-core - morph: strata/python3-core.morph -- name: tools - morph: strata/tools.morph -- name: python-cliapp - morph: strata/python-cliapp.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: python-wsgi - morph: strata/python-wsgi.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: glib-common - morph: strata/glib-common.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: morph-utils - morph: strata/morph-utils.morph -- name: pcre-utils - morph: strata/pcre-utils.morph -- name: lorry - morph: strata/lorry.morph -- name: lorry-controller - morph: strata/lorry-controller.morph -- name: trove - morph: strata/trove.morph -- name: lighttpd-server - morph: strata/lighttpd-server.morph -- name: nfs - morph: strata/nfs.morph -- name: python-common - morph: strata/python-common.morph -- name: ansible - morph: strata/ansible.morph -- name: cloudinit-support - morph: strata/cloudinit-support.morph -- name: devtools - morph: strata/devtools.morph -- name: fail2ban-common - morph: strata/fail2ban-common.morph -- name: connectivity - morph: strata/connectivity.morph -configuration-extensions: -- extensions/set-hostname -- extensions/trove -- extensions/nfsboot-server -- extensions/fstab -- extensions/install-files -- extensions/cloud-init -- extensions/install-essential-files diff --git a/systems/trove-system.morph.in b/systems/trove-system.morph.in new file mode 100644 index 00000000..120d25bb --- /dev/null +++ b/systems/trove-system.morph.in @@ -0,0 +1,68 @@ +name: trove-system.{{CONFIG}} +kind: system +description: | + Trove source code hosting server +arch: {{ ARCH }} +strata: +- name: build-essential + morph: strata/build-essential.morph +- name: foundation + morph: strata/foundation.morph +- name: core + morph: strata/core.morph +- name: python2-core + morph: strata/python2-core.morph +- name: python3-core + morph: strata/python3-core.morph +- name: tools + morph: strata/tools.morph +- name: python-cliapp + morph: strata/python-cliapp.morph +- name: python-pygobject + morph: strata/python-pygobject.morph +- name: python-wsgi + morph: strata/python-wsgi.morph +- name: libsoup-common + morph: strata/libsoup-common.morph +- name: glib-common + morph: strata/glib-common.morph +- name: ostree-core + morph: strata/ostree-core.morph +- name: morph-utils + morph: strata/morph-utils.morph +- name: pcre-utils + morph: strata/pcre-utils.morph +- name: lorry + morph: strata/lorry.morph +- name: lorry-controller + morph: strata/lorry-controller.morph +- name: trove + morph: strata/trove.morph +- name: lighttpd-server + morph: strata/lighttpd-server.morph +- name: nfs + morph: strata/nfs.morph +- name: python-common + morph: strata/python-common.morph +- name: ansible + morph: strata/ansible.morph +- name: cloudinit-support + morph: strata/cloudinit-support.morph +- name: devtools + morph: strata/devtools.morph +- name: fail2ban-common + morph: strata/fail2ban-common.morph +- name: connectivity + morph: strata/connectivity.morph +{% if BSP %} +- name: bsp-{{ BSP }} + morph: strata/bsp-{{ BSP }}.morph +{% endif %} +configuration-extensions: +- extensions/set-hostname +- extensions/trove +- extensions/nfsboot-server +- extensions/fstab +- extensions/install-files +- extensions/cloud-init +- extensions/install-essential-files diff --git a/systems/web-system-x86_64-generic.morph b/systems/web-system-x86_64-generic.morph deleted file mode 100644 index 090abcbe..00000000 --- a/systems/web-system-x86_64-generic.morph +++ /dev/null @@ -1,43 +0,0 @@ -name: web-system-x86_64-generic -kind: system -description: system with web tools -arch: x86_64 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: bsp-x86_64-generic - morph: strata/bsp-x86_64-generic.morph -- name: foundation - morph: strata/foundation.morph -- name: core - morph: strata/core.morph -- name: tools - morph: strata/tools.morph -- name: glib-common - morph: strata/glib-common.morph -- name: nfs - morph: strata/nfs.morph -- name: databases - morph: strata/databases.morph -- name: pcre-utils - morph: strata/pcre-utils.morph -- name: lighttpd-server - morph: strata/lighttpd-server.morph -- name: webtools - morph: strata/webtools.morph -- name: erlang - morph: strata/erlang.morph -- name: ruby - morph: strata/ruby.morph -- name: python2-core - morph: strata/python2-core.morph -- name: nodejs - morph: strata/nodejs.morph -- name: icu-common - morph: strata/icu-common.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/install-essential-files diff --git a/systems/web-system.morph.in b/systems/web-system.morph.in new file mode 100644 index 00000000..cfbc6493 --- /dev/null +++ b/systems/web-system.morph.in @@ -0,0 +1,46 @@ +name: web-system.{{CONFIG}} +kind: system +description: | + Example system with "web" tools +arch: {{ ARCH }} +strata: +- name: build-essential + morph: strata/build-essential.morph +- name: foundation + morph: strata/foundation.morph +- name: core + morph: strata/core.morph +- name: tools + morph: strata/tools.morph +- name: glib-common + morph: strata/glib-common.morph +- name: nfs + morph: strata/nfs.morph +- name: databases + morph: strata/databases.morph +- name: pcre-utils + morph: strata/pcre-utils.morph +- name: lighttpd-server + morph: strata/lighttpd-server.morph +- name: webtools + morph: strata/webtools.morph +- name: erlang + morph: strata/erlang.morph +- name: ruby + morph: strata/ruby.morph +- name: python2-core + morph: strata/python2-core.morph +- name: nodejs + morph: strata/nodejs.morph +- name: icu-common + morph: strata/icu-common.morph +{% if BSP %} +- name: bsp-{{ BSP }} + morph: strata/bsp-{{ BSP }}.morph +{% endif %} +configuration-extensions: +- extensions/set-hostname +- extensions/add-config-files +- extensions/nfsboot +- extensions/install-files +- extensions/install-essential-files diff --git a/systems/weston-qt5-system-x86_64.morph b/systems/weston-qt5-system-x86_64.morph deleted file mode 100644 index 7ac315c1..00000000 --- a/systems/weston-qt5-system-x86_64.morph +++ /dev/null @@ -1,68 +0,0 @@ -name: weston-qt5-system-x86_64.morph -kind: system -description: A system that is able to build other systems based on the 64-bit x86 - architecture. -arch: x86_64 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: coreutils-common - morph: strata/coreutils-common.morph -- name: device-management - morph: strata/device-management.morph -- name: foundation - morph: strata/foundation.morph -- name: audio-bluetooth - morph: strata/audio-bluetooth.morph -- name: libdrm-common - morph: strata/libdrm-common.morph -- name: multimedia-common - morph: strata/multimedia-common.morph -- name: multimedia-gstreamer - morph: strata/multimedia-gstreamer.morph -- name: bsp-x86_64-generic - morph: strata/bsp-x86_64-generic.morph -- name: tools - morph: strata/tools.morph -- name: glib-common - morph: strata/glib-common.morph -- name: wayland-generic - morph: strata/wayland-generic.morph -- name: graphics-common - morph: strata/graphics-common.morph -- name: input-common - morph: strata/input-common.morph -- name: llvm-common - morph: strata/llvm-common.morph -- name: mesa-common - morph: strata/mesa-common.morph -- name: weston-common - morph: strata/weston-common.morph -- name: x-common - morph: strata/x-common.morph -- name: x-generic - morph: strata/x-generic.morph -- name: qt5-tools - morph: strata/qt5-tools.morph -- name: qt5-tools-qtmultimedia - morph: strata/qt5-tools-qtmultimedia.morph -- name: qt5-sdk - morph: strata/qt5-sdk.morph -- name: qt5-tools-qtwebengine - morph: strata/qt5-tools-qtwebengine.morph -- name: qt5-tools-qtwayland - morph: strata/qt5-tools-qtwayland.morph -- name: connectivity - morph: strata/connectivity.morph -- name: connman-common - morph: strata/connman-common.morph -- name: icu-common - morph: strata/icu-common.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/install-essential-files diff --git a/systems/weston-qt5-system.morph.in b/systems/weston-qt5-system.morph.in new file mode 100644 index 00000000..e79534d5 --- /dev/null +++ b/systems/weston-qt5-system.morph.in @@ -0,0 +1,70 @@ +name: weston-qt5-system.{{CONFIG}} +kind: system +description: | + A system with the Weston display server. +arch: {{ ARCH }} +strata: +- name: build-essential + morph: strata/build-essential.morph +- name: core + morph: strata/core.morph +- name: coreutils-common + morph: strata/coreutils-common.morph +- name: device-management + morph: strata/device-management.morph +- name: foundation + morph: strata/foundation.morph +- name: audio-bluetooth + morph: strata/audio-bluetooth.morph +- name: libdrm-common + morph: strata/libdrm-common.morph +- name: multimedia-common + morph: strata/multimedia-common.morph +- name: multimedia-gstreamer + morph: strata/multimedia-gstreamer.morph +- name: tools + morph: strata/tools.morph +- name: glib-common + morph: strata/glib-common.morph +- name: wayland-generic + morph: strata/wayland-generic.morph +- name: graphics-common + morph: strata/graphics-common.morph +- name: input-common + morph: strata/input-common.morph +- name: llvm-common + morph: strata/llvm-common.morph +- name: mesa-common + morph: strata/mesa-common.morph +- name: weston-common + morph: strata/weston-common.morph +- name: x-common + morph: strata/x-common.morph +- name: x-generic + morph: strata/x-generic.morph +- name: qt5-tools + morph: strata/qt5-tools.morph +- name: qt5-tools-qtmultimedia + morph: strata/qt5-tools-qtmultimedia.morph +- name: qt5-sdk + morph: strata/qt5-sdk.morph +- name: qt5-tools-qtwebengine + morph: strata/qt5-tools-qtwebengine.morph +- name: qt5-tools-qtwayland + morph: strata/qt5-tools-qtwayland.morph +- name: connectivity + morph: strata/connectivity.morph +- name: connman-common + morph: strata/connman-common.morph +- name: icu-common + morph: strata/icu-common.morph +{% if BSP %} +- name: bsp-{{ BSP }} + morph: strata/bsp-{{ BSP }}.morph +{% endif %} +configuration-extensions: +- extensions/set-hostname +- extensions/add-config-files +- extensions/nfsboot +- extensions/install-files +- extensions/install-essential-files diff --git a/systems/weston-system-armv7lhf-jetson.morph b/systems/weston-system-armv7lhf-jetson.morph deleted file mode 100644 index 5b25ebd0..00000000 --- a/systems/weston-system-armv7lhf-jetson.morph +++ /dev/null @@ -1,54 +0,0 @@ -name: weston-system-armv7lhf-jetson -kind: system -description: A weston system for ARMv7 little-endian hard-float NVIDIA Jetson TK1 - computers. -arch: armv7lhf -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: coreutils-common - morph: strata/coreutils-common.morph -- name: device-management - morph: strata/device-management.morph -- name: foundation - morph: strata/foundation.morph -- name: bsp-jetson - morph: strata/bsp-jetson.morph -- name: connectivity - morph: strata/connectivity.morph -- name: audio-bluetooth - morph: strata/audio-bluetooth.morph -- name: libdrm-common - morph: strata/libdrm-common.morph -- name: multimedia-common - morph: strata/multimedia-common.morph -- name: multimedia-gstreamer - morph: strata/multimedia-gstreamer.morph -- name: wayland-generic - morph: strata/wayland-generic.morph -- name: graphics-common - morph: strata/graphics-common.morph -- name: input-common - morph: strata/input-common.morph -- name: llvm-common - morph: strata/llvm-common.morph -- name: mesa-common - morph: strata/mesa-common.morph -- name: weston-common - morph: strata/weston-common.morph -- name: x-common - morph: strata/x-common.morph -- name: x-generic - morph: strata/x-generic.morph -- name: tools - morph: strata/tools.morph -- name: glib-common - morph: strata/glib-common.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/install-essential-files diff --git a/systems/weston-system-x86_64-generic.morph b/systems/weston-system-x86_64-generic.morph deleted file mode 100644 index 5e91fb71..00000000 --- a/systems/weston-system-x86_64-generic.morph +++ /dev/null @@ -1,53 +0,0 @@ -name: weston-system-x86_64-generic -kind: system -description: A weston system for a 64-bit x86 system. -arch: x86_64 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: coreutils-common - morph: strata/coreutils-common.morph -- name: device-management - morph: strata/device-management.morph -- name: foundation - morph: strata/foundation.morph -- name: bsp-x86_64-generic - morph: strata/bsp-x86_64-generic.morph -- name: connectivity - morph: strata/connectivity.morph -- name: audio-bluetooth - morph: strata/audio-bluetooth.morph -- name: libdrm-common - morph: strata/libdrm-common.morph -- name: multimedia-common - morph: strata/multimedia-common.morph -- name: multimedia-gstreamer - morph: strata/multimedia-gstreamer.morph -- name: wayland-generic - morph: strata/wayland-generic.morph -- name: graphics-common - morph: strata/graphics-common.morph -- name: input-common - morph: strata/input-common.morph -- name: llvm-common - morph: strata/llvm-common.morph -- name: mesa-common - morph: strata/mesa-common.morph -- name: weston-common - morph: strata/weston-common.morph -- name: x-common - morph: strata/x-common.morph -- name: x-generic - morph: strata/x-generic.morph -- name: tools - morph: strata/tools.morph -- name: glib-common - morph: strata/glib-common.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/install-essential-files diff --git a/systems/weston-system.morph.in b/systems/weston-system.morph.in new file mode 100644 index 00000000..c27c05bb --- /dev/null +++ b/systems/weston-system.morph.in @@ -0,0 +1,56 @@ +name: weston-system.{{CONFIG}} +kind: system +description: | + A system containing the Weston display server. +arch: {{ ARCH }} +strata: +- name: build-essential + morph: strata/build-essential.morph +- name: core + morph: strata/core.morph +- name: coreutils-common + morph: strata/coreutils-common.morph +- name: device-management + morph: strata/device-management.morph +- name: foundation + morph: strata/foundation.morph +- name: connectivity + morph: strata/connectivity.morph +- name: audio-bluetooth + morph: strata/audio-bluetooth.morph +- name: libdrm-common + morph: strata/libdrm-common.morph +- name: multimedia-common + morph: strata/multimedia-common.morph +- name: multimedia-gstreamer + morph: strata/multimedia-gstreamer.morph +- name: wayland-generic + morph: strata/wayland-generic.morph +- name: graphics-common + morph: strata/graphics-common.morph +- name: input-common + morph: strata/input-common.morph +- name: llvm-common + morph: strata/llvm-common.morph +- name: mesa-common + morph: strata/mesa-common.morph +- name: weston-common + morph: strata/weston-common.morph +- name: x-common + morph: strata/x-common.morph +- name: x-generic + morph: strata/x-generic.morph +- name: tools + morph: strata/tools.morph +- name: glib-common + morph: strata/glib-common.morph +{% if BSP %} +- name: bsp-{{ BSP }} + morph: strata/bsp-{{ BSP }}.morph +{% endif %} +configuration-extensions: +- extensions/set-hostname +- extensions/add-config-files +- extensions/nfsboot +- extensions/install-files +- extensions/install-essential-files diff --git a/systems/xfce-system-x86_64.morph b/systems/xfce-system-x86_64.morph deleted file mode 100644 index 62616000..00000000 --- a/systems/xfce-system-x86_64.morph +++ /dev/null @@ -1,75 +0,0 @@ -name: xfce-system -kind: system -description: A system with the XFCE desktop -arch: x86_64 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: coreutils-common - morph: strata/coreutils-common.morph -- name: device-management - morph: strata/device-management.morph -- name: python2-core - morph: strata/python2-core.morph -- name: foundation - morph: strata/foundation.morph -- name: bsp-x86_64-generic - morph: strata/bsp-x86_64-generic.morph -- name: connectivity - morph: strata/connectivity.morph -- name: connman-common - morph: strata/connman-common.morph -- name: input-common - morph: strata/input-common.morph -- name: audio-bluetooth - morph: strata/audio-bluetooth.morph -- name: libdrm-common - morph: strata/libdrm-common.morph -- name: mesa-common - morph: strata/mesa-common.morph -- name: graphics-common - morph: strata/graphics-common.morph -- name: wayland-generic - morph: strata/wayland-generic.morph -- name: x-common - morph: strata/x-common.morph -- name: x-generic - morph: strata/x-generic.morph -- name: x-drivers - morph: strata/x-drivers.morph -- name: multimedia-common - morph: strata/multimedia-common.morph -- name: multimedia-gstreamer - morph: strata/multimedia-gstreamer.morph -- name: gtk-deps - morph: strata/gtk-deps.morph -- name: gtk2 - morph: strata/gtk2.morph -- name: tools - morph: strata/tools.morph -- name: devtools - morph: strata/devtools.morph -- name: python-cliapp - morph: strata/python-cliapp.morph -- name: python-pygobject - morph: strata/python-pygobject.morph -- name: python-wsgi - morph: strata/python-wsgi.morph -- name: libsoup-common - morph: strata/libsoup-common.morph -- name: glib-common - morph: strata/glib-common.morph -- name: ostree-core - morph: strata/ostree-core.morph -- name: morph-utils - morph: strata/morph-utils.morph -- name: xfce - morph: strata/xfce.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/nfsboot -- extensions/install-files -- extensions/install-essential-files diff --git a/systems/xfce-system.morph.in b/systems/xfce-system.morph.in new file mode 100644 index 00000000..c7424d83 --- /dev/null +++ b/systems/xfce-system.morph.in @@ -0,0 +1,78 @@ +name: xfce-system.{{CONFIG}} +kind: system +description: | + A system with the XFCE desktop +arch: {{ ARCH }} +strata: +- name: build-essential + morph: strata/build-essential.morph +- name: core + morph: strata/core.morph +- name: coreutils-common + morph: strata/coreutils-common.morph +- name: device-management + morph: strata/device-management.morph +- name: python2-core + morph: strata/python2-core.morph +- name: foundation + morph: strata/foundation.morph +- name: connectivity + morph: strata/connectivity.morph +- name: connman-common + morph: strata/connman-common.morph +- name: input-common + morph: strata/input-common.morph +- name: audio-bluetooth + morph: strata/audio-bluetooth.morph +- name: libdrm-common + morph: strata/libdrm-common.morph +- name: mesa-common + morph: strata/mesa-common.morph +- name: graphics-common + morph: strata/graphics-common.morph +- name: wayland-generic + morph: strata/wayland-generic.morph +- name: x-common + morph: strata/x-common.morph +- name: x-generic + morph: strata/x-generic.morph +- name: x-drivers + morph: strata/x-drivers.morph +- name: multimedia-common + morph: strata/multimedia-common.morph +- name: multimedia-gstreamer + morph: strata/multimedia-gstreamer.morph +- name: gtk-deps + morph: strata/gtk-deps.morph +- name: gtk2 + morph: strata/gtk2.morph +- name: tools + morph: strata/tools.morph +- name: devtools + morph: strata/devtools.morph +- name: python-cliapp + morph: strata/python-cliapp.morph +- name: python-pygobject + morph: strata/python-pygobject.morph +- name: python-wsgi + morph: strata/python-wsgi.morph +- name: libsoup-common + morph: strata/libsoup-common.morph +- name: glib-common + morph: strata/glib-common.morph +- name: ostree-core + morph: strata/ostree-core.morph +- name: morph-utils + morph: strata/morph-utils.morph +- name: xfce + morph: strata/xfce.morph +{% if BSP %} +- name: bsp-{{ BSP }} + morph: strata/bsp-{{ BSP }}.morph +{% endif %} +configuration-extensions: +- extensions/set-hostname +- extensions/add-config-files +- extensions/nfsboot +- extensions/install-files +- extensions/install-essential-files diff --git a/systems/zookeeper-client-x86_64.morph b/systems/zookeeper-client-x86_64.morph deleted file mode 100644 index 9b720f50..00000000 --- a/systems/zookeeper-client-x86_64.morph +++ /dev/null @@ -1,30 +0,0 @@ -name: zookeeper-client-x86_64 -kind: system -description: | - A system that is able to build other systems based on the 64-bit x86 - architecture. includes the installation of zookeeper and a test client. -arch: x86_64 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: bsp-x86_64-generic - morph: strata/bsp-x86_64-generic.morph -- name: zookeeper - morph: strata/zookeeper.morph -- name: zookeeper-client - morph: strata/zookeeper-client.morph -- name: test-tools - morph: strata/test-tools.morph -- name: java - morph: strata/java.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/simple-network -- extensions/nfsboot -- extensions/install-files -- extensions/install-essential-files diff --git a/systems/zookeeper-client.morph.in b/systems/zookeeper-client.morph.in new file mode 100644 index 00000000..f662ad37 --- /dev/null +++ b/systems/zookeeper-client.morph.in @@ -0,0 +1,31 @@ +name: zookeeper-client.{{CONFIG}} +kind: system +description: | + Example of a system that can act as an Apache Zookeeper client. +arch: {{ ARCH }} +strata: +- name: build-essential + morph: strata/build-essential.morph +- name: core + morph: strata/core.morph +- name: foundation + morph: strata/foundation.morph +- name: zookeeper + morph: strata/zookeeper.morph +- name: zookeeper-client + morph: strata/zookeeper-client.morph +- name: test-tools + morph: strata/test-tools.morph +- name: java + morph: strata/java.morph +{% if BSP %} +- name: bsp-{{ BSP }} + morph: strata/bsp-{{ BSP }}.morph +{% endif %} +configuration-extensions: +- extensions/set-hostname +- extensions/add-config-files +- extensions/simple-network +- extensions/nfsboot +- extensions/install-files +- extensions/install-essential-files diff --git a/systems/zookeeper-server-x86_64.morph b/systems/zookeeper-server-x86_64.morph deleted file mode 100644 index 37a60ae2..00000000 --- a/systems/zookeeper-server-x86_64.morph +++ /dev/null @@ -1,30 +0,0 @@ -name: zookeeper-server-X86_64 -kind: system -description: | - A system that is able to build other systems based on the 64-bit x86 - architecture. includes the zookeeper server and setup for basic tests -arch: x86_64 -strata: -- name: build-essential - morph: strata/build-essential.morph -- name: core - morph: strata/core.morph -- name: foundation - morph: strata/foundation.morph -- name: bsp-x86_64-generic - morph: strata/bsp-x86_64-generic.morph -- name: zookeeper - morph: strata/zookeeper.morph -- name: zookeeper-server - morph: strata/zookeeper-server.morph -- name: test-tools - morph: strata/test-tools.morph -- name: java - morph: strata/java.morph -configuration-extensions: -- extensions/set-hostname -- extensions/add-config-files -- extensions/simple-network -- extensions/nfsboot -- extensions/install-files -- extensions/install-essential-files diff --git a/systems/zookeeper-server.morph.in b/systems/zookeeper-server.morph.in new file mode 100644 index 00000000..292c4029 --- /dev/null +++ b/systems/zookeeper-server.morph.in @@ -0,0 +1,31 @@ +name: zookeeper-server.{{CONFIG}} +kind: system +description: | + Example of a system that can act as an Apache Zookeeper server. +arch: {{ ARCH }} +strata: +- name: build-essential + morph: strata/build-essential.morph +- name: core + morph: strata/core.morph +- name: foundation + morph: strata/foundation.morph +- name: zookeeper + morph: strata/zookeeper.morph +- name: zookeeper-server + morph: strata/zookeeper-server.morph +- name: test-tools + morph: strata/test-tools.morph +- name: java + morph: strata/java.morph +{% if BSP %} +- name: bsp-{{ BSP }} + morph: strata/bsp-{{ BSP }}.morph +{% endif %} +configuration-extensions: +- extensions/set-hostname +- extensions/add-config-files +- extensions/simple-network +- extensions/nfsboot +- extensions/install-files +- extensions/install-essential-files -- cgit v1.2.1