diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2012-11-23 12:40:18 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2012-11-23 12:40:18 +0000 |
commit | a8969cdeb3132e98dfc7894a4eb08d5af50eeb50 (patch) | |
tree | 82629bdda5249be90a3abc39c5f35451d1dd9210 | |
parent | 6df72c22c9f84b527e3635ed654d6904782eb665 (diff) | |
download | definitions-a8969cdeb3132e98dfc7894a4eb08d5af50eeb50.tar.gz |
Create x86_32 system variants
Although this duplicates the definitions of the systems, it is misleading
to build a system named x86_64 for 32-bit x86, and we have a real
instance of a user expecting the x86_32 system morphs to exist and
becoming confused that they don't.
-rw-r--r-- | base-system-x86_32-generic.morph | 20 | ||||
-rw-r--r-- | bsp-x86_32-generic.morph | 25 | ||||
-rw-r--r-- | devel-system-x86_32-generic.morph | 25 |
3 files changed, 70 insertions, 0 deletions
diff --git a/base-system-x86_32-generic.morph b/base-system-x86_32-generic.morph new file mode 100644 index 00000000..b1af9feb --- /dev/null +++ b/base-system-x86_32-generic.morph @@ -0,0 +1,20 @@ +{ + "name": "base-system-x86_32-generic", + "description": "The set of strata required to have a minimal system for a 32-bit x86 system.", + "kind": "system", + "system-kind": "syslinux-disk", + "arch": "x86_32", + "disk-size": "2G", + "strata": [ + { + "morph": "bsp-x86_32-generic", + "repo": "baserock:baserock/morphs", + "ref": "master" + }, + { + "morph": "foundation", + "repo": "baserock:baserock/morphs", + "ref": "master" + } + ] +} diff --git a/bsp-x86_32-generic.morph b/bsp-x86_32-generic.morph new file mode 100644 index 00000000..e4c6ce8d --- /dev/null +++ b/bsp-x86_32-generic.morph @@ -0,0 +1,25 @@ +{ + "name": "bsp-x86_32-generic", + "description": "The set of platform specific components required for booting a 32-bit x86 based system.", + "kind": "stratum", + "chunks": [ + { + "name": "linux", + "repo": "upstream:linux", + "ref": "baserock/morph", + "build-depends": [] + }, + { + "name": "nasm", + "repo": "upstream:nasm", + "ref": "baserock/morph", + "build-depends": [] + }, + { + "name": "syslinux", + "repo": "upstream:syslinux", + "ref": "baserock/morph", + "build-depends": ["nasm"] + } + ] +} diff --git a/devel-system-x86_32-generic.morph b/devel-system-x86_32-generic.morph new file mode 100644 index 00000000..99e23ef0 --- /dev/null +++ b/devel-system-x86_32-generic.morph @@ -0,0 +1,25 @@ +{ + "name": "devel-system-x86_32-generic", + "description": "A system that is able to build other systems based on the 32-bit x86 architecture.", + "kind": "system", + "system-kind": "syslinux-disk", + "arch": "x86_32", + "disk-size": "2G", + "strata": [ + { + "morph": "bsp-x86_32-generic", + "repo": "baserock:baserock/morphs", + "ref": "master" + }, + { + "morph": "foundation", + "repo": "baserock:baserock/morphs", + "ref": "master" + }, + { + "morph": "devel", + "repo": "baserock:baserock/morphs", + "ref": "master" + } + ] +} |