[elbe-devel] [PATCH 1/3] schema:Introduce <archive> element in schema
Akash Satamkar
akash at linutronix.de
Wed Sep 4 16:03:18 CEST 2019
Handle the archive files and unpack the archive when
the iso image is generated.
There can be more than one archive file which can be
unpacked.
Signed-off-by: Akash Satamkar <akash at linutronix.de>
---
schema/dbsfed.xsd | 45 +++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 43 insertions(+), 2 deletions(-)
diff --git a/schema/dbsfed.xsd b/schema/dbsfed.xsd
index 14789d4e..8b26ebec 100644
--- a/schema/dbsfed.xsd
+++ b/schema/dbsfed.xsd
@@ -2525,7 +2525,7 @@
Configuration of the src-cdrom
</documentation>
</annotation>
- <all>
+ <sequence>
<element name="src-opts" type="rfs:iso-opts" minOccurs="0" maxOccurs="1">
<annotation>
<documentation>
@@ -2533,10 +2533,51 @@
</documentation>
</annotation>
</element>
- </all>
+ <element name="archive" type="rfs:src-cdrom-archive" minOccurs="0" maxOccurs="unbounded">
+ <annotation>
+ <documentation>
+ tar.bz2 file that contains additional files for the source
+ cdrom.
+ </documentation>
+ </annotation>
+ </element>
+ </sequence>
<attribute ref="xml:base"/>
</complexType>
+ <complexType name="src-cdrom-archive">
+ <annotation>
+ <documentation>
+ Holds a tar.bz2 file that is added to the src-cdrom.
+ </documentation>
+ </annotation>
+ <simpleContent>
+ <extension base="base64Binary">
+ <attribute name="volume">
+ <annotation>
+ <documentation>
+ Use this to control where the archive is stored when using
+ split src-cdroms.
+ It consists of a comma-separated list of volume numbers.
+ A volume number can be 0 to n-1 for n equals the number
+ of volumes if the src-cdrom is split.
+ A volume number can also be negative to identify a volume
+ beginning from the last index.
+ (-1: last, -2: second last, ...)
+ If you do not specify this attribute, the archive is added
+ to each volume.
+ </documentation>
+ </annotation>
+ <simpleType>
+ <restriction base="string">
+ <pattern value="(-?\d+,)*-?\d+"/>
+ </restriction>
+ </simpleType>
+ </attribute>
+ </extension>
+ </simpleContent>
+ </complexType>
+
<complexType name="iso-opts">
<annotation>
<documentation>
--
2.20.1
More information about the elbe-devel
mailing list