[elbe-devel] [PATCH 3/6] dbsfed.xsd: add swap-size element

Manuel Traut manuel.traut at linutronix.de
Mon May 7 16:32:37 CEST 2018


On Mon, May 07, 2018 at 03:51:12PM +0200, Torben Hohn wrote:
> add swap size element to be supported later on.
> swapsize is subtracted from hd image size. So the RFS size of the initvm
> will be roughly initvm/size - initvm/swap-size.
> 
> Swap is needed for big pbuilder builds like qt or similar things.
> 
> Signed-off-by: Torben Hohn <torben.hohn at linutronix.de>
> ---
>  schema/dbsfed.xsd | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/schema/dbsfed.xsd b/schema/dbsfed.xsd
> index 908f786f..ecb310b3 100644
> --- a/schema/dbsfed.xsd
> +++ b/schema/dbsfed.xsd
> @@ -349,6 +349,14 @@
>            </documentation>
>          </annotation>
>        </element>
> +      <element name="swap-size" type="rfs:string" minOccurs="0" maxOccurs="1">
> +        <annotation>
> +          <documentation>
> +            size of the virtual swap partition used in the build environment.
> +            this size is subtracted from the size of the virtual harddisk.

Why is it rfs:string? Shouldn't it be rfs:part_size ?

> +          </documentation>
> +        </annotation>
> +      </element>
>        <element name="img" type="rfs:string" minOccurs="0" maxOccurs="1">
>          <annotation>
>            <documentation>
> -- 
> 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