From 2a071ef057c953e81e1b8bd9b714373b4dbb26c2 Mon Sep 17 00:00:00 2001 From: Sam Thursfield Date: Tue, 28 Aug 2012 17:20:04 +0100 Subject: Strata should be referred to with full repo/ref/morph triplets This removes the requirement that all strata must be in the same repo as the system morphology. Both the system "strata" field and the stratum "build-depends" field are affected. --- tests/setup | 6 +++++- tests/show-dependencies.setup | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/setup b/tests/setup index 19c400fa..25472dc7 100755 --- a/tests/setup +++ b/tests/setup @@ -109,7 +109,11 @@ cat < hello-system.morph "system-kind": "syslinux-disk", "disk-size": "1G", "strata": [ - "hello-stratum" + { + "morph": "hello-stratum", + "repo": "test:morphs-repo", + "ref": "master" + } ] } EOF diff --git a/tests/show-dependencies.setup b/tests/show-dependencies.setup index 924a626b..76711987 100755 --- a/tests/show-dependencies.setup +++ b/tests/show-dependencies.setup @@ -198,7 +198,11 @@ cat < xfce-core.morph "name": "xfce-core", "kind": "stratum", "build-depends": [ - "gtk-stack" + { + "morph": "gtk-stack", + "repo": "test:test-repo", + "ref": "master" + } ], "chunks": [ { -- cgit v1.2.1