diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2014-03-26 15:15:26 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2014-03-27 14:55:08 +0000 |
commit | a57d100a25d6e91266db9dfa6499c706169d1282 (patch) | |
tree | ff3edaf8ca1e84551fd35b86711da8e474e9bb74 | |
parent | 6f9c1a7e1de3697eb72f8829bb31302bbf486c71 (diff) | |
download | definitions-a57d100a25d6e91266db9dfa6499c706169d1282.tar.gz |
Define a minimal x86_32 system
This minimal system is smaller than base, consisting of little more than
busybox, its dependent libraries and a kernel built with tools that
don't make it into the final system.
-rw-r--r-- | base-system-x86_32-generic.morph | 2 | ||||
-rw-r--r-- | build-essential.morph | 19 | ||||
-rw-r--r-- | minimal-system-x86_32-generic.morph | 18 |
3 files changed, 35 insertions, 4 deletions
diff --git a/base-system-x86_32-generic.morph b/base-system-x86_32-generic.morph index a1eff551..e53b2d97 100644 --- a/base-system-x86_32-generic.morph +++ b/base-system-x86_32-generic.morph @@ -5,7 +5,7 @@ configuration-extensions: - simple-network - nfsboot - install-files -description: The set of strata required to have a minimal system for a 32-bit x86 +description: The set of strata required to have a basic system for a 32-bit x86 system. kind: system name: base-system-x86_32-generic diff --git a/build-essential.morph b/build-essential.morph index f4b46d9c..1c304dd8 100644 --- a/build-essential.morph +++ b/build-essential.morph @@ -31,6 +31,11 @@ description: | stage2-fhs-dirs.morph for details. Basically, /bin is a symlink to /tools/bin during stage 2 but in stage 3 it becomes a real directory again. +products: +- artifact: build-essential-minimal + include: + - fhs-dirs-.* + - busybox-.* chunks: - name: stage1-binutils repo: upstream:binutils-redhat @@ -179,7 +184,7 @@ chunks: prefix: /usr - name: eglibc repo: upstream:eglibc2 - ref: 43ee5d250ad47d2bee8ec17954efb7f22d2b804c + ref: baserock/richardmaw/S10786-finer-splitting unpetrify-ref: baserock/2.15-build-essential build-depends: - stage2-binutils @@ -193,10 +198,14 @@ chunks: - stage2-reset-specs - linux-api-headers build-mode: staging + artifacts: + eglibc-gconv: build-essential-runtime + eglibc-libs: build-essential-minimal + eglibc-nss: build-essential-runtime prefix: /usr - name: zlib repo: upstream:zlib - ref: db3aed6856d7a23186844fdf93105cad2fcf2f2f + ref: baserock/richardmaw/S10786-finer-splitting unpetrify-ref: baserock/build-essential build-depends: - stage2-binutils @@ -210,6 +219,8 @@ chunks: - stage2-reset-specs - eglibc build-mode: staging + artifacts: + zlib-libs: build-essential-minimal prefix: /usr - name: binutils repo: upstream:binutils-redhat @@ -265,7 +276,7 @@ chunks: prefix: /usr - name: gcc repo: upstream:gcc-tarball - ref: dd78b627480ed8d3c135271cd627096ae76fa5fc + ref: baserock/richardmaw/S10786-finer-splitting unpetrify-ref: baserock/build-essential build-depends: - stage2-binutils @@ -280,6 +291,8 @@ chunks: - eglibc - zlib build-mode: staging + artifacts: + gcc-libs: build-essential-minimal prefix: /usr - name: make repo: upstream:make diff --git a/minimal-system-x86_32-generic.morph b/minimal-system-x86_32-generic.morph new file mode 100644 index 00000000..64c90228 --- /dev/null +++ b/minimal-system-x86_32-generic.morph @@ -0,0 +1,18 @@ +arch: x86_32 +configuration-extensions: +- set-hostname +- simple-network +- nfsboot +- install-files +description: The set of strata required to have a minimal system for a 32-bit x86 + system. +kind: system +name: minimal-system-x86_32-generic +strata: +- morph: build-essential + artifacts: + - build-essential-minimal +- morph: bsp-x86_32-generic + # Don't include kernel headers in the system + artifacts: + - bsp-x86_32-generic-runtime |