summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-09-27 00:54:38 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-09-27 00:57:11 +0000
commit1bd922cea73154a461b3f5430fed46d3fbd65cf3 (patch)
tree06d68fec5ecaf94cf7e6eeb05d1bcbafb2773b77
parented592ddf2e0379de98f939220ff5092f8b6e88bc (diff)
downloaddefinitions-baserock/pedroalvarez/mariadb.tar.gz
Add mariadb system, stratum and chunk morphologiesbaserock/pedroalvarez/mariadb
-rw-r--r--strata/mariadb.morph12
-rw-r--r--strata/mariadb/mariadb-git.morph5
-rw-r--r--systems/mariadb-system-x86_64-generic.morph25
3 files changed, 42 insertions, 0 deletions
diff --git a/strata/mariadb.morph b/strata/mariadb.morph
new file mode 100644
index 00000000..452319a1
--- /dev/null
+++ b/strata/mariadb.morph
@@ -0,0 +1,12 @@
+name: mariadb
+kind: stratum
+description: some popular databases
+build-depends:
+- morph: strata/tools.morph
+- morph: strata/nfs.morph
+chunks:
+- name: mariadb-git
+ morph: strata/mariadb/mariadb-git.morph
+ repo: upstream:mariadb-git
+ ref: mariadb-10.1.0
+ build-depends: []
diff --git a/strata/mariadb/mariadb-git.morph b/strata/mariadb/mariadb-git.morph
new file mode 100644
index 00000000..6c0cbc7e
--- /dev/null
+++ b/strata/mariadb/mariadb-git.morph
@@ -0,0 +1,5 @@
+name: mariadb-git
+kind: chunk
+build-system: cmake
+build-commands:
+- export DESTDIR=''; make
diff --git a/systems/mariadb-system-x86_64-generic.morph b/systems/mariadb-system-x86_64-generic.morph
new file mode 100644
index 00000000..d8325b96
--- /dev/null
+++ b/systems/mariadb-system-x86_64-generic.morph
@@ -0,0 +1,25 @@
+name: 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: bsp-x86_64-generic
+ morph: strata/bsp-x86_64-generic.morph
+- name: tools
+ morph: strata/tools.morph
+- name: mariadb
+ morph: strata/mariadb.morph
+configuration-extensions:
+- set-hostname
+- add-config-files
+- simple-network
+- nfsboot
+- install-files
+- cloud-init