summaryrefslogtreecommitdiff
path: root/build-essential.morph
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2014-03-26 15:15:26 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2014-03-26 15:15:26 +0000
commit817a4a98e5fdb14283e1e809a3ba28f884f79292 (patch)
tree34f32317da5e12122991049df9d0ad71d5ee727a /build-essential.morph
parent0ed129b7644d080ddab8447b183e666623563e6b (diff)
downloaddefinitions-baserock/richardmaw/S10786-finer-splitting.tar.gz
Define a minimal x86_32 systembaserock/richardmaw/S10786-finer-splitting
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.
Diffstat (limited to 'build-essential.morph')
-rw-r--r--build-essential.morph22
1 files changed, 19 insertions, 3 deletions
diff --git a/build-essential.morph b/build-essential.morph
index 387f2b82..eefec3aa 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
@@ -165,7 +170,8 @@ chunks:
prefix: /usr
- name: eglibc
repo: upstream:eglibc2
- ref: baserock/2.15-build-essential
+ ref: baserock/richardmaw/S10786-finer-splitting
+ unpetrify-ref: baserock/2.15-build-essential
build-depends:
- stage2-binutils
- stage2-busybox
@@ -178,10 +184,15 @@ 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: baserock/build-essential
+ ref: baserock/richardmaw/S10786-finer-splitting
+ unpetrify-ref: baserock/build-essential
build-depends:
- stage2-binutils
- stage2-busybox
@@ -194,6 +205,8 @@ chunks:
- stage2-reset-specs
- eglibc
build-mode: staging
+ artifacts:
+ zlib-libs: build-essential-minimal
prefix: /usr
- name: binutils
repo: upstream:binutils-redhat
@@ -246,7 +259,8 @@ chunks:
prefix: /usr
- name: gcc
repo: upstream:gcc-tarball
- ref: baserock/build-essential
+ ref: baserock/richardmaw/S10786-finer-splitting
+ unpetrify-ref: baserock/build-essential
build-depends:
- stage2-binutils
- stage2-busybox
@@ -260,6 +274,8 @@ chunks:
- eglibc
- zlib
build-mode: staging
+ artifacts:
+ gcc-libs: build-essential-minimal
prefix: /usr
- name: make
repo: upstream:make