[elbe-devel] [PATCH 2/3] tests: add simple-arm64.xml

Bastian Germann bage at linutronix.de
Wed Mar 10 17:57:17 CET 2021


Am 10.03.21 um 17:07 schrieb Torben Hohn:
> add arm64 test
> 
> Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>

Same here. With the indentation fixed:
Reviewed-by: Bastian Germann <bage at linutronix.de>

> ---
>   tests/simple-arm64.xml | 81 ++++++++++++++++++++++++++++++++++++++++++
>   1 file changed, 81 insertions(+)
>   create mode 100644 tests/simple-arm64.xml
> 
> diff --git a/tests/simple-arm64.xml b/tests/simple-arm64.xml
> new file mode 100644
> index 000000000..60c817064
> --- /dev/null
> +++ b/tests/simple-arm64.xml
> @@ -0,0 +1,81 @@
> +<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-arm64</name>
> +		<version>1.0</version>
> +		<suite>buster</suite>
> +		<buildtype>aarch64</buildtype>
> +
> +		<description>
> +			Testing arm64
> +		</description>
> +
> +		<mirror>
> +			<primary_host>ftp.de.debian.org</primary_host>
> +			<primary_path>/debian</primary_path>
> +			<primary_proto>http</primary_proto>
> +		</mirror>
> +
> +	</project>
> +
> +	<target>
> +		<hostname>arm64-buster</hostname>
> +		<domain>elbe-ci</domain>
> +		<passwd>root</passwd>
> +		<console>ttyS0,115200</console>
> +
> +		<images>
> +			<msdoshd>
> +				<name>sda.img</name>
> +				<size>2000MiB</size>
> +				<grub-install />
> +				<partition>
> +					<size>1000MiB</size>
> +					<label>rfs</label>
> +				</partition>
> +				<partition>
> +					<size>64kB</size>
> +					<label>bindata</label>
> +					<binary>/etc/hosts</binary>
> +				</partition>
> +			</msdoshd>
> +		</images>
> +
> +		<fstab>
> +			<bylabel>
> +				<label>rfs</label>
> +				<mountpoint>/</mountpoint>
> +				<fs><type>ext4</type></fs>
> +			</bylabel>
> +		</fstab>
> +
> +		<pkg-list>
> +		  <pkg>linux-image-arm64</pkg>
> +		</pkg-list>
> +
> +		<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>/boot/vmlinuz-4.19.0-14-arm64</artifact>
> +			<artifact>/boot/initrd.img-4.19.0-14-arm64</artifact>
> +		</finetuning>
> +
> +		<project-finetuning>
> +		</project-finetuning>
> +	</target>
> +	<check-image-list>
> +		<check>
> +			<img>sda.img.tar.gz</img>
> +			<interpreter>qemu-system-aarch64</interpreter>
> +			<interpreter-opts>-m 2G -M virt -drive format=raw,file=$ELBE_IMG,id=hd,if-none -device virtio-blk-pci,drive=hd -nographic -kernel vmlinuz-4.19.0-14-arm64 -initrd initrd.img-4.19.0-14-arm64</interpreter-opts>
> +			<action> <login /> </action>
> +		</check>
> +	</check-image-list>
> +</ns0:RootFileSystem>
> 


More information about the elbe-devel mailing list