[elbe-devel] [PATCH v3 1/6] schema: dbfsed: Add mirror options
Olivier Dion
dion at linutronix.de
Thu Jul 23 18:31:50 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 f1d1cae4..5a45a869 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>
@@ -291,6 +305,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