[elbe-devel] [PATCH 3/4] tests: Add simple test for amd64 with grub
Olivier Dion
dion at linutronix.de
Tue Jul 21 02:34:44 CEST 2020
Signed-off-by: Olivier Dion <dion at linutronix.de>
---
tests/simple-amd64-with-grub-tighten.xml | 66 ++++++++++++++++++++++++
1 file changed, 66 insertions(+)
create mode 100644 tests/simple-amd64-with-grub-tighten.xml
diff --git a/tests/simple-amd64-with-grub-tighten.xml b/tests/simple-amd64-with-grub-tighten.xml
new file mode 100644
index 00000000..b9bacb0d
--- /dev/null
+++ b/tests/simple-amd64-with-grub-tighten.xml
@@ -0,0 +1,66 @@
+<ns0:RootFileSystem xmlns:ns0="https://www.linutronix.de/projects/Elbe"
+ 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>simple-amd64-with-grub-tighten</name>
+ <version>1.0</version>
+ <suite>buster</suite>
+ <buildtype>amd64</buildtype>
+
+ <description>
+ Testing amd64 with grub and tighten packages
+ </description>
+
+ <mirror>
+ <primary_host>ftp.de.debian.org</primary_host>
+ <primary_path>/debian</primary_path>
+ <primary_proto>http</primary_proto>
+ </mirror>
+
+ </project>
+
+ <target>
+ <hostname>amd64-buster</hostname>
+ <domain>elbe-ci</domain>
+ <passwd>root</passwd>
+ <console>ttyS0,115200</console>
+ <debootstrapvariant>minbase</debootstrapvariant>
+
+ <images>
+ <gpthd>
+ <name>sda.img</name>
+ <size>2000MiB</size>
+ <grub-install />
+ <partition>
+ <size>remain</size>
+ <label>rfs</label>
+ </partition>
+ </gpthd>
+ </images>
+
+ <fstab>
+ <bylabel>
+ <label>rfs</label>
+ <mountpoint>/</mountpoint>
+ <fs><type>ext4</type></fs>
+ </bylabel>
+ </fstab>
+
+ <pkg-list>
+ <pkg>busybox-static</pkg>
+ </pkg-list>
+
+ <tighten />
+ <install-recommends />
+
+ <finetuning>
+ <file dst="/etc/hosts" append="true" encoding="plain">
+ 192.168.0.165 mydomain mydomain-host
+ </file>
+ <cp path="/etc/bash.bashrc">/root/.bashrc</cp>
+ <artifact>/etc/host</artifact>
+ </finetuning>
+ </target>
+</ns0:RootFileSystem>
--
2.27.0
More information about the elbe-devel
mailing list