[elbe-devel] [PATCH v2 2/3] schema: dbsfed: Add node definition for losetup/command

Torben Hohn torben.hohn at linutronix.de
Wed Jul 15 11:33:00 CEST 2020


On Mon, Jun 29, 2020 at 03:00:40PM -0400, Olivier Dion wrote:
> Signed-off-by: Olivier Dion <dion at linutronix.de>

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

> ---
>  schema/dbsfed.xsd | 22 ++++++++++++++++++++++
>  1 file changed, 22 insertions(+)
> 
> diff --git a/schema/dbsfed.xsd b/schema/dbsfed.xsd
> index c7bae9be..71f22012 100644
> --- a/schema/dbsfed.xsd
> +++ b/schema/dbsfed.xsd
> @@ -2059,6 +2059,15 @@
>            </documentation>
>          </annotation>
>        </element>
> +      <element name="command" type="rfs:partition-command" minOccurs="0" maxOccurs="unbounded">
> +        <annotation>
> +          <documentation>
> +	    Execute a command with a partition mounted.  Before the
> +	    comand is executed, the environment variable ELBE_MNT is
> +	    set to the absolute filepath to the mount point.
> +          </documentation>
> +        </annotation>
> +      </element>
>      </choice>
>    </group>
>  
> @@ -2077,6 +2086,19 @@
>      </simpleContent>
>    </complexType>
>  
> +    <complexType name="partition-command">
> +    <annotation>
> +      <documentation>
> +	The node's text should be a valid shell commands
> +      </documentation>
> +    </annotation>
> +    <simpleContent>
> +      <extension base="rfs:string">
> +        <attribute name="part" type="integer" use="required" />
> +      </extension>
> +    </simpleContent>
> +  </complexType>
> +
>    <complexType name="copy_from_partition">
>      <annotation>
>        <documentation>
> -- 
> 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