[elbe-devel] [PATCH v2 2/3] schema: dbsfed: Add node definition for losetup/command
Olivier Dion
dion at linutronix.de
Mon Jun 29 21:00:40 CEST 2020
Signed-off-by: Olivier Dion <dion at linutronix.de>
---
schema/dbsfed.xsd | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/schema/dbsfed.xsd b/schema/dbsfed.xsd
index c7bae9be..71f22012 100644
--- a/schema/dbsfed.xsd
+++ b/schema/dbsfed.xsd
@@ -2059,6 +2059,15 @@
</documentation>
</annotation>
</element>
+ <element name="command" type="rfs:partition-command" minOccurs="0" maxOccurs="unbounded">
+ <annotation>
+ <documentation>
+ Execute a command with a partition mounted. Before the
+ comand is executed, the environment variable ELBE_MNT is
+ set to the absolute filepath to the mount point.
+ </documentation>
+ </annotation>
+ </element>
</choice>
</group>
@@ -2077,6 +2086,19 @@
</simpleContent>
</complexType>
+ <complexType name="partition-command">
+ <annotation>
+ <documentation>
+ The node's text should be a valid shell commands
+ </documentation>
+ </annotation>
+ <simpleContent>
+ <extension base="rfs:string">
+ <attribute name="part" type="integer" use="required" />
+ </extension>
+ </simpleContent>
+ </complexType>
+
<complexType name="copy_from_partition">
<annotation>
<documentation>
--
2.27.0
More information about the elbe-devel
mailing list