diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2013-01-24 11:49:48 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2013-01-24 17:25:15 +0000 |
commit | 4de377ebd6877abeb312954dda001fb1f45b14df (patch) | |
tree | 2c880e0f80d73dd1082b32d0099ff3e72cd4d51e /bsp-x86_64-generic.morph | |
parent | ec66dd9129f4b00bb9297b94814e27ad82c63b4d (diff) | |
download | morphs-4de377ebd6877abeb312954dda001fb1f45b14df.tar.gz |
Reorganise morphologies for build-essential
This patch rewrites the Baserock morphologies so that they can be
built using a minimal "build-essential" staging filler, as described
in my previous patch mail.
The Baserock system is split up into three strata:
- build-essential: the minimum set of tools that can rebuild
itself (from tarballs)
- core: the remaining set of components necessary to produce
a Baserock system which can rebuild itself from source
- tools: auxiliary development tools and libraries
The 'build-essential' stratum does not specify any build
dependencies, because it expects to be built with a staging filler
containing itself. In effect, the stratum has a circular dependency
on itself, which we solve by using a staging filler. The 'core'
stratum depends on only on 'build-essential'. This ensures that all
build dependencies between chunks in 'core' are explicit. These
strata can also be built with the staging filler from the water-bomb
release.
The distinction between a base and a devel system is no longer
defined by the 'foundation' and 'devel' strata (in practice these
had various hidden build dependencies between each other). The size
of a base system is larger than before, due to more development tools
being in 'core'.
Diffstat (limited to 'bsp-x86_64-generic.morph')
-rw-r--r-- | bsp-x86_64-generic.morph | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bsp-x86_64-generic.morph b/bsp-x86_64-generic.morph index 954b7b5..ae477fe 100644 --- a/bsp-x86_64-generic.morph +++ b/bsp-x86_64-generic.morph @@ -2,6 +2,13 @@ "name": "bsp-x86_64-generic", "description": "The set of platform specific components required for booting a 64-bit x86 based system.", "kind": "stratum", + "build-depends": [ + { + "repo": "baserock:baserock/morphs", + "ref": "baserock/samthursfield/build-essential", + "morph": "core" + } + ], "chunks": [ { "name": "linux", |