From a57d100a25d6e91266db9dfa6499c706169d1282 Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Wed, 26 Mar 2014 15:15:26 +0000 Subject: 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. --- minimal-system-x86_32-generic.morph | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 minimal-system-x86_32-generic.morph (limited to 'minimal-system-x86_32-generic.morph') 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 -- cgit v1.2.1 From 7b9c1858a458f1c6f1a1f1447c49f8615d385765 Mon Sep 17 00:00:00 2001 From: Richard Maw Date: Thu, 27 Mar 2014 14:55:56 +0000 Subject: Allow minimal systems to be bootable This adds a busybox-init.configure extension, which if INIT_SYSTEM=busybox is set, will configure it to boot with busybox. The existing minimal system has been changed to use the busybox-init configuration extension. minimal-system-deploy.morph has been added as an example, showing that INIT_SYSTEM: busybox needs to be set. --- minimal-system-x86_32-generic.morph | 1 + 1 file changed, 1 insertion(+) (limited to 'minimal-system-x86_32-generic.morph') diff --git a/minimal-system-x86_32-generic.morph b/minimal-system-x86_32-generic.morph index 64c90228..b9e9b9e9 100644 --- a/minimal-system-x86_32-generic.morph +++ b/minimal-system-x86_32-generic.morph @@ -4,6 +4,7 @@ configuration-extensions: - simple-network - nfsboot - install-files +- busybox-init description: The set of strata required to have a minimal system for a 32-bit x86 system. kind: system -- cgit v1.2.1