[elbe-devel] [PATCH 2/2] add Xinclude example

Benedikt Spranger b.spranger at linutronix.de
Wed Feb 22 18:27:14 CET 2017


Signed-off-by: Benedikt Spranger <b.spranger at linutronix.de>
---
 examples/x86_32-pc-hdimg-include.xml | 49 ++++++++++++++++++++++++++++++++++++
 examples/x86_32-pc-hdimg-pkglist.xml | 10 ++++++++
 2 files changed, 59 insertions(+)
 create mode 100644 examples/x86_32-pc-hdimg-include.xml
 create mode 100644 examples/x86_32-pc-hdimg-pkglist.xml

diff --git a/examples/x86_32-pc-hdimg-include.xml b/examples/x86_32-pc-hdimg-include.xml
new file mode 100644
index 0000000..cb06c29
--- /dev/null
+++ b/examples/x86_32-pc-hdimg-include.xml
@@ -0,0 +1,49 @@
+<ns0:RootFileSystem xmlns:ns0="https://www.linutronix.de/projects/Elbe"
+		    xmlns:xi="http://www.w3.org/2003/XInclude"
+		    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+		    created="2009-05-20T08:50:56" revision="6"
+		    xsi:schemaLocation="https://www.linutronix.de/projects/Elbe dbsfed.xsd">
+	<project>
+		<name>i386-stretch-grub</name>
+		<version>1.0</version>
+		<description>for testing 32bit with grub2</description>
+		<buildtype>i386</buildtype>
+		<mirror>
+			<primary_host>ftp.de.debian.org</primary_host>
+			<primary_path>/debian</primary_path>
+			<primary_proto>http</primary_proto>
+		</mirror>
+		<suite>stretch</suite>
+	</project>
+	<target>
+		<hostname>i386-stretch</hostname>
+		<domain>elbe-rfs.org</domain>
+		<passwd>foo</passwd>
+		<console>ttyS0,115200</console>
+		<images>
+			<msdoshd>
+				<name>sda.img</name>
+				<size>1900MiB</size>
+				<grub-install/>
+				<partition>
+								<size>remain</size>
+								<label>rfs</label>
+				</partition>
+			</msdoshd>
+		</images>
+		<fstab>
+			<bylabel>
+				<label>rfs</label>
+				<mountpoint>/</mountpoint>
+				<fs>
+					<type>ext4</type>
+					<tune2fs>-i 0</tune2fs>
+				</fs>
+			</bylabel>
+		</fstab>
+		<finetuning>
+			<rm>var/cache/apt/archives/*.deb</rm>
+		</finetuning>
+		<xi:include href="x86_32-pc-hdimg-pkglist.xml"/> 
+	</target>
+</ns0:RootFileSystem>
diff --git a/examples/x86_32-pc-hdimg-pkglist.xml b/examples/x86_32-pc-hdimg-pkglist.xml
new file mode 100644
index 0000000..b70f273
--- /dev/null
+++ b/examples/x86_32-pc-hdimg-pkglist.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0"?>
+<pkg-list>
+  <pkg>linux-image-686-pae</pkg>
+  <pkg>grub-pc</pkg>
+  <pkg>xserver-xorg-video-radeon</pkg>
+  <pkg>xserver-xorg-core</pkg>
+  <pkg>mono-runtime</pkg>
+  <pkg>slim</pkg>
+  <pkg>awesome</pkg>
+</pkg-list>
-- 
2.11.0





More information about the elbe-devel mailing list