[elbe-devel] [PATCH v3 4/6] examples: Add a debootstrap variant example

Benedikt Spranger b.spranger at linutronix.de
Fri Nov 9 12:18:52 CET 2018


Example for building a stretch system using the sysvinit system.
Therefore the deboostrapvariant minbase is used to initially build
a system without an init system and add sysvinit later.

The example is a variant of x86_64-pc-hdimg-grub-hybrid-stretch.xml.
To build it, please preprocess the receipe with "--variant=sysv".

Signed-off-by: Benedikt Spranger <b.spranger at linutronix.de>
---
 examples/x86_64-pc-hdimg-grub-hybrid-stretch.xml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/examples/x86_64-pc-hdimg-grub-hybrid-stretch.xml b/examples/x86_64-pc-hdimg-grub-hybrid-stretch.xml
index 21b7077b..90811562 100644
--- a/examples/x86_64-pc-hdimg-grub-hybrid-stretch.xml
+++ b/examples/x86_64-pc-hdimg-grub-hybrid-stretch.xml
@@ -30,6 +30,7 @@
 		<domain>tec.linutronix.de</domain>
 		<passwd>foo</passwd>
 		<console>ttyS0,115200</console>
+		<debootstrapvariant variant="sysv">minbase</debootstrapvariant>
 		<package>
 			<tar>
 				<name>grub-hybrid-rfs.tgz</name>
@@ -84,6 +85,7 @@
 			<pkg>grub-efi-amd64-bin</pkg>
 			<pkg>grub-pc</pkg>
 			<pkg>linux-image-amd64</pkg>
+			<pkg variant="sysv">sysvinit-core</pkg>
 		</pkg-list>
 	</target>
 </ns0:RootFileSystem>
-- 
2.19.1




More information about the elbe-devel mailing list