summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Firth <dan.firth@codethink.co.uk>2016-03-22 13:57:26 +0000
committerDaniel Firth <dan.firth@codethink.co.uk>2016-03-22 14:44:27 +0000
commit623aeb74987a71333d4948dcef1183c587215d65 (patch)
treefbf11dd929ec8070818f60d3f3e62d0ca02916f6
parentc8ff1d5d658556e3f0031338bb55e62e780be51a (diff)
downloadspec-623aeb74987a71333d4948dcef1183c587215d65.tar.gz
Document submodule spec changes
Change-Id: Icc0aba5072cb4dd656e88855cdf2cbbb51c7caf9
-rw-r--r--spec.mdwn15
1 files changed, 14 insertions, 1 deletions
diff --git a/spec.mdwn b/spec.mdwn
index 248f826..34431f9 100644
--- a/spec.mdwn
+++ b/spec.mdwn
@@ -17,7 +17,7 @@ The source code of [Morph] and [YBD] might be more useful if you need a complete
Versioning
----------
-The current version of the definitions format is version 7.
+The current version of the definitions format is version 8.
Definitions repository
----------------------
@@ -202,6 +202,11 @@ The fields mean the following:
to a chunk .morph file.
- `build-system` specifies one of the predefined build systems. You
must specify ONE of `morph` or `build-system` for each chunk.
+ - `submodules` is a list of key/value mappings that specifies url
+ overrides for .gitmodules. The key should be the name of the submodule
+ as listed in .gitmodules, not the path. The value is a dictionary
+ containing one key/value pair:
+ * `url`: The url override for the submodule, this can include aliasing.
In addition to these keys, each of the sources can specify a list of
build dependencies using the `build-depends` field. To specify one or
more chunk dependencies, `build-depends` needs to be set to a list
@@ -256,6 +261,14 @@ The fields mean the following:
build-depends:
- fhs-dirs
- linux-api-headers
+ - name: ansible
+ repo: upstream:ansible
+ ref: v2.0
+ submodules:
+ lib/ansible/modules/core:
+ url: upstream:ansible-modules-core
+ lib/ansible/modules/extras:
+ url: upstream:ansible-modules-extras
### Example system: