[elbe-devel] [PATCH 3/4] tests: Add simple test for amd64 with grub

Torben Hohn torben.hohn at linutronix.de
Tue Jul 21 12:50:56 CEST 2020


On Mon, Jul 20, 2020 at 08:34:44PM -0400, Olivier Dion wrote:
> Signed-off-by: Olivier Dion <dion at linutronix.de>

Reviewed-by: Torben Hohn <torben.hohn 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
> 
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel

-- 
Torben Hohn
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen
Phone: +49 7556 25 999 18; Fax.: +49 7556 25 999 99

Hinweise zum Datenschutz finden Sie hier (Informations on data privacy 
can be found here): https://linutronix.de/kontakt/Datenschutz.php

Linutronix GmbH | Firmensitz (Registered Office): Uhldingen-Mühlhofen | 
Registergericht (Registration Court): Amtsgericht Freiburg i.Br., HRB700 
806 | Geschäftsführer (Managing Directors): Heinz Egger, Thomas Gleixner


More information about the elbe-devel mailing list