[elbe-devel] [PATCH 8/9] tests: add a section to test <set_partition_type/>

Bastian Germann bage at linutronix.de
Tue Dec 15 15:01:17 CET 2020


Am 14.12.20 um 17:41 schrieb Torben Hohn:
> <set_partition_type> has to be used in an <losetup> section.

typo: an -> a

> 
> Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>

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

> ---
>   tests/simple-amd64-with-grub-tighten.xml | 7 +++++++
>   1 file changed, 7 insertions(+)
> 
> diff --git a/tests/simple-amd64-with-grub-tighten.xml b/tests/simple-amd64-with-grub-tighten.xml
> index 1d79cff28..d10024482 100644
> --- a/tests/simple-amd64-with-grub-tighten.xml
> +++ b/tests/simple-amd64-with-grub-tighten.xml
> @@ -67,6 +67,13 @@
>   			<cp path="/etc/bash.bashrc">/root/.bashrc</cp>
>   			<artifact>/etc/hosts</artifact>
>   		</finetuning>
> +
> +		<project-finetuning>
> +			<losetup img="sda.img">
> +				<!-- globs work, but must make sure, that only a single file is matched -->
> +				<set_partition_type part="2" type="14"/>
> +			</losetup>
> +		</project-finetuning>
>   	</target>
>   	<check-image-list>
>   		<check>
> 


More information about the elbe-devel mailing list