[elbe-devel] [PATCH 1/3] dbsfed: Add initvm-finetuning definition

Olivier Dion dion at linutronix.de
Tue May 12 00:03:32 CEST 2020


The command action allows to execute a shell command in the build
environment.

Signed-off-by: Olivier Dion <dion at linutronix.de>
---
 schema/dbsfed.xsd | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/schema/dbsfed.xsd b/schema/dbsfed.xsd
index 6392c41b..86ddcacb 100644
--- a/schema/dbsfed.xsd
+++ b/schema/dbsfed.xsd
@@ -391,6 +391,14 @@
           </documentation>
         </annotation>
       </element>
+      <element name="finetuning" type="rfs:initvm-finetuning" minOccurs="0" maxOccurs="1">
+	<annotation>
+	  <documentation>
+	    Lists of commands to execute or files to create on the
+	    initvm at the very end after the debian-installer.
+	  </documentation>
+	</annotation>
+      </element>
     </all>
     <attribute ref="xml:base"/>
   </complexType>
@@ -1728,6 +1736,37 @@
     </restriction>
   </simpleType>
 
+
+  <complexType name="initvm-finetuning">
+    <annotation>
+      <documentation>
+         container for initvm-finetuning actions; these actions are
+         executed at the end of the init-elbe.sh script in the target.
+      </documentation>
+    </annotation>
+    <sequence>
+      <group ref="rfs:initvm-action" minOccurs="0" maxOccurs="unbounded" />
+    </sequence>
+    <attribute ref="xml:base"/>
+  </complexType>
+
+  <group name="initvm-action">
+    <annotation>
+      <documentation>
+        definition of initvm-finetuning actions
+      </documentation>
+    </annotation>
+    <choice>
+      <element name="command" type="rfs:string" minOccurs="0">
+        <annotation>
+          <documentation>
+	    execute a shell command in the target
+          </documentation>
+        </annotation>
+      </element>
+    </choice>
+  </group>
+
   <complexType name="finetuning">
     <annotation>
       <documentation>
-- 
2.26.2




More information about the elbe-devel mailing list