[elbe-devel] [PATCH v1 07/16] schema: dbsfed.xsd: file
Viraj Shah
viraj.shah at linutronix.de
Thu Aug 25 15:49:30 CEST 2022
Update documentation for attributes for file finetuning action.
Signed-off-by: Viraj Shah <viraj.shah at linutronix.de>
---
schema/dbsfed.xsd | 62 +++++++++++++++++++++++++++++++++++------------
1 file changed, 46 insertions(+), 16 deletions(-)
diff --git a/schema/dbsfed.xsd b/schema/dbsfed.xsd
index 21686ebcf..36bc5f1c8 100644
--- a/schema/dbsfed.xsd
+++ b/schema/dbsfed.xsd
@@ -2571,28 +2571,58 @@
<complexType name="file">
<annotation>
<documentation>
- write or append text to a file, the following parameters
- are avaible:
-
- 'dst' - the destination to write to
- 'encoding' - the (optional) encoding of the content
- 'append="True"' - append the content to file instead of writing
- 'owner' - (optional) set file owner
- 'group' - (optional) set group ownership
- 'mode' - (optional) set file mode bits
-
+ "file" gives opportunity to write, append, encode data to a specific
+ file on the target image, change permissions, owner and group of file.
The value of the tag is the raw/encoded content to
write/append to the destination
</documentation>
</annotation>
<simpleContent>
<extension base="rfs:string">
- <attribute name="dst" type="string" use="required" />
- <attribute name="encoding" type="string" use="optional" />
- <attribute name="append" type="boolean" use="optional" />
- <attribute name="owner" type="string" use="optional" />
- <attribute name="group" type="string" use="optional" />
- <attribute name="mode" type="string" use="optional" />
+ <attribute name="dst" type="string" use="required">
+ <annotation>
+ <documentation>
+ 'dst' - the destination to write to
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="encoding" type="string" use="optional">
+ <annotation>
+ <documentation>
+ 'encoding' - the (optional) encoding of the content.
+ Please note that available encoding options are plain, raw and
+ base64.
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="append" type="boolean" use="optional">
+ <annotation>
+ <documentation>
+ 'append="True"' - append the content to file instead of writing
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="owner" type="string" use="optional">
+ <annotation>
+ <documentation>
+ 'owner' - (optional) set file owner
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="group" type="string" use="optional">
+ <annotation>
+ <documentation>
+ 'group' - (optional) set group ownership
+ </documentation>
+ </annotation>
+ </attribute>
+ <attribute name="mode" type="string" use="optional">
+ <annotation>
+ <documentation>
+ 'mode' - (optional) set file permission using mode bits
+ </documentation>
+ </annotation>
+ </attribute>
</extension>
</simpleContent>
</complexType>
--
2.30.2
More information about the elbe-devel
mailing list