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

Torben Hohn torben.hohn at linutronix.de
Mon May 7 15:51:12 CEST 2018


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




More information about the elbe-devel mailing list