[elbe-devel] [PATCH v3 2/6] schema: Enhance schema for debootstrap variant handling
Benedikt Spranger
b.spranger at linutronix.de
Fri Nov 9 12:18:50 CET 2018
The previous patch introduced debootstrap variant handling. Update the XML
schema to recognize and validate the new introduced tag.
Signed-off-by: Benedikt Spranger <b.spranger at linutronix.de>
---
schema/dbsfed.xsd | 43 +++++++++++++++++++++++++++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/schema/dbsfed.xsd b/schema/dbsfed.xsd
index e0b374bc..66a989b8 100644
--- a/schema/dbsfed.xsd
+++ b/schema/dbsfed.xsd
@@ -754,6 +754,21 @@
</documentation>
</annotation>
</element>
+ <element name="debootstrapvariant" type="rfs:debootstrapvarianttype" minOccurs="0" maxOccurs="1">
+ <annotation>
+ <documentation>
+ Name of the bootstrap script variant to use. Currently, the
+ variants supported are minbase, which only includes essential
+ packages and apt; buildd, which installs the buildessential
+ packages into TARGET; and fakechroot, which installs the packages
+ without root privileges. The default, with no --variant=X
+ argument, is to create a base Debian installation in TARGET.
+ Some documentation mentioned the variant scratchbox too, but this
+ variant is not supported by the debootstrap used and therefore
+ not allowed.
+ </documentation>
+ </annotation>
+ </element>
<element name="package" type="rfs:package" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>
@@ -840,6 +855,34 @@
<attribute ref="xml:base"/>
</complexType>
+ <complexType name="debootstrapvarianttype">
+ <annotation>
+ <documentation>
+ Enhanced restriction type specifying debootstrap variants.
+ </documentation>
+ </annotation>
+ <simpleContent>
+ <extension base="rfs:debootstrapvarianttype_restriction">
+ <attribute ref="xml:base"/>
+ </extension>
+ </simpleContent>
+ </complexType>
+
+ <simpleType name="debootstrapvarianttype_restriction">
+ <annotation>
+ <documentation>
+ Restriction type specifying debootstrap variants.
+ Supported debootstrap variants are minbase, buildd and fakechroot.
+ The variant scratchbox is not supported by th used debootstrap.
+ </documentation>
+ </annotation>
+ <restriction base="string">
+ <enumeration value="minbase" />
+ <enumeration value="buildd" />
+ <enumeration value="fakechroot" />
+ </restriction>
+ </simpleType>
+
<complexType name="ubi_type">
<annotation>
<documentation>
--
2.19.1
More information about the elbe-devel
mailing list