
When building a patch that includes the software package, the deploy-precheck script and the upgrade_utils.py will be automatically fetched from .deb file and included directly inside the patch. With this there is no need to have element 'deploy_precheck' in XML recipe schema. Test Plan: PASS: Create patch successfully with software package included. Upload it to a AIO-SX system. Run "software deploy precheck" on the installed patch. PASS: Create patch successfully without software package included. Upload it to a AIO-SX system. Run "software deploy precheck" on the installed patch. Story: 2010676 Task: 49978 Change-Id: I9d470ed049d42880bb515320324de1e3a0e05680 Signed-off-by: Dostoievski Batista <dostoievski.albinobatista@windriver.com>
42 lines
1.7 KiB
XML
42 lines
1.7 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
|
<xs:element name="patch_recipe">
|
|
<xs:complexType>
|
|
<xs:all>
|
|
<xs:element name="sw_version" type="xs:string"/>
|
|
<xs:element name="component" type="xs:string"/>
|
|
<xs:element name="summary" type="xs:string"/>
|
|
<xs:element name="description" type="xs:string"/>
|
|
<xs:element name="install_instructions" type="xs:string"/>
|
|
<xs:element name="warnings" type="xs:string"/>
|
|
<xs:element name="reboot_required" type="xs:string"/>
|
|
<xs:element name="unremovable" type="xs:string"/>
|
|
<xs:element name="status" type="xs:string"/>
|
|
<xs:element name="requires">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="id" type="xs:string" maxOccurs="unbounded" minOccurs="0"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:element name="semantics" type="xs:string"/>
|
|
<xs:element name="pre_install" type="xs:string"/>
|
|
<xs:element name="post_install" type="xs:string"/>
|
|
<xs:element name="stx_packages">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="package" type="xs:string" maxOccurs="unbounded" minOccurs="0"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
<xs:element name="binary_packages">
|
|
<xs:complexType>
|
|
<xs:sequence>
|
|
<xs:element name="package" type="xs:string" maxOccurs="unbounded" minOccurs="0"/>
|
|
</xs:sequence>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
</xs:all>
|
|
</xs:complexType>
|
|
</xs:element>
|
|
</xs:schema> |