summaryrefslogtreecommitdiff
path: root/yarns
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2013-08-12 18:54:02 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2013-08-14 16:32:29 +0000
commit1c44afdafb32a803e2578ace2545c2fe36373538 (patch)
treeec2e1469bb41c2d6e42d350b4c7b8935b40d0c87 /yarns
parent5098d2da9e658bc02c867f296e08848eb4b37b8a (diff)
downloadmorph-1c44afdafb32a803e2578ace2545c2fe36373538.tar.gz
Fix test morphology to be a valid one
The MorphologyLoader validates morphologies stricter than old code, so adjust the test morphology accordingly: add arch to a system morphology, and build-mode and build-depends to a stratum one.
Diffstat (limited to 'yarns')
-rw-r--r--yarns/implementations.yarn3
1 files changed, 3 insertions, 0 deletions
diff --git a/yarns/implementations.yarn b/yarns/implementations.yarn
index 7f9281ac..fa31d372 100644
--- a/yarns/implementations.yarn
+++ b/yarns/implementations.yarn
@@ -67,6 +67,7 @@ another to hold a chunk.
cat << EOF > "$DATADIR/gits/morphs/test-system.morph"
name: test-system
kind: system
+ arch: $(uname -m)
strata:
- name: test-stratum
repo: test:morphs
@@ -82,6 +83,8 @@ another to hold a chunk.
repo: test:test-chunk
ref: master
morph: test-chunk
+ build-mode: bootstrap
+ build-depends: []
EOF
run_in "$DATADIR/gits/morphs" git init .