[elbe-devel] [PATCH v2 1/6] schema: dbfsed: Add mirror options

Olivier Dion dion at linutronix.de
Tue Jul 21 17:13:01 CEST 2020


The <options> tag can be used under <mirror> or <url>.  It accepts a
sequence of <option> tag that are simple string to use as Apt options.

Signed-off-by: Olivier Dion <dion at linutronix.de>
---
 schema/dbsfed.xsd | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/schema/dbsfed.xsd b/schema/dbsfed.xsd
index 71f22012..c548b03f 100644
--- a/schema/dbsfed.xsd
+++ b/schema/dbsfed.xsd
@@ -205,6 +205,13 @@
           </documentation>
         </annotation>
       </element>
+      <element name="options" type="rfs:mirror-options" minOccurs="0" maxOccurs="1">
+        <annotation>
+          <documentation>
+            List of options for this mirror
+          </documentation>
+        </annotation>
+      </element>
     </all>
     <attribute ref="xml:base"/>
   </complexType>
@@ -234,6 +241,13 @@
       </documentation>
     </annotation>
     <all>
+      <element name="options" type="rfs:mirror-options" minOccurs="0" maxOccurs="1">
+	<annotation>
+          <documentation>
+	    Options for the primary mirror.
+          </documentation>
+        </annotation>
+      </element>
       <element name="primary_host" type="rfs:string" minOccurs="0" maxOccurs="1">
         <annotation>
           <documentation>
@@ -284,6 +298,24 @@
     <attribute ref="xml:base"/>
   </complexType>
 
+  <complexType name="mirror-options">
+    <annotation>
+      <documentation>
+	List of options for a mirror
+      </documentation>
+    </annotation>
+    <sequence>
+      <element name="option" type="rfs:string" minOccurs="0" maxOccurs="unbounded">
+        <annotation>
+          <documentation>
+	    e.g. trusted=yes or check-valid-until=no
+          </documentation>
+        </annotation>
+      </element>
+    </sequence>
+    <attribute ref="xml:base"/>
+  </complexType>
+
   <complexType name="initvm">
     <annotation>
       <documentation>
-- 
2.27.0



More information about the elbe-devel mailing list