[elbe-devel] [PATCH v2 2/4] schema: Enhance schema for debootstrap variant handling
Manuel Traut
manut at linutronix.de
Thu Nov 8 14:18:15 CET 2018
On Thu, Nov 08, 2018 at 02:04:51PM +0100, Benedikt Spranger wrote:
> The previous patch introduced debootstrap variant handling. Update the XML
> schema to recognize and validate the new introduced tag.
ACK
> 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
>
>
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel
More information about the elbe-devel
mailing list