[elbe-devel] [PATCH 5/6] examples arm64-qemu-virt: add project-finetuning section

Manuel Traut manut at linutronix.de
Fri Dec 21 13:13:13 CET 2018


On 17:02 Wed 19 Dec     , Torben Hohn wrote:
> try to extract the kernel from the image (untested, dont know the correct
> filename for sure)
> Also convert image to qcow2, because this image is intended to be used
> with qemu.
> 
> Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>
> ---
>  examples/arm64-qemu-virt.xml | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/examples/arm64-qemu-virt.xml b/examples/arm64-qemu-virt.xml
> index 6b03b294..f5601da9 100644
> --- a/examples/arm64-qemu-virt.xml
> +++ b/examples/arm64-qemu-virt.xml
> @@ -76,5 +76,11 @@
>  			<pkg>ntpdate</pkg>
>  			<pkg>busybox</pkg>
>  		</pkg-list>
> +		<project-finetuning>
> +			<losetup img="sdcard.img">
> +				<copy_from_partition part="1" artifact="zImage">/zImage</extract_partition>

elbe preprocess failed.
XML Parse error
Opening and ending tag mismatch: copy_from_partition line 81 and extract_partition, line 81, column 80 (line 81)

i'll post a v2

> +			</losetup>
> +			<img_convert fmt="qcow2" dst="sdcard.qcow2">sdcard.img</img_convert>
> +		</project-finetuning>
>  	</target>
>  </ns0:RootFileSystem>
> -- 
> 2.11.0
> 
> 
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel



More information about the elbe-devel mailing list