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

Torben Hohn torben.hohn at linutronix.de
Tue May 8 17:10:41 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 | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/schema/dbsfed.xsd b/schema/dbsfed.xsd
index 4572337d..4161ee0e 100644
--- a/schema/dbsfed.xsd
+++ b/schema/dbsfed.xsd
@@ -349,6 +349,15 @@
           </documentation>
         </annotation>
       </element>
+      <element name="swap-size" type="rfs:memory" 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.
+	    Supports unit prefixes like GiB, GB, and G.
+          </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