
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>
29 lines
1003 B
XML
29 lines
1003 B
XML
<patch_recipe>
|
|
<!-- Sample patch recipe -->
|
|
<sw_version>1.0.0</sw_version>
|
|
<component>starlingx</component>
|
|
<summary>sample patch test</summary>
|
|
<description>In Service patch</description>
|
|
<install_instructions>Sample instructions</install_instructions>
|
|
<warnings>Sample warning</warnings>
|
|
<!-- Reboot required N -> IN Service Patch -->
|
|
<reboot_required>N</reboot_required>
|
|
<unremovable>N</unremovable>
|
|
<status>DEV</status>
|
|
<requires></requires>
|
|
<semantics></semantics>
|
|
<!-- Pre and Post install hook scripts are optional -->
|
|
<pre_install></pre_install>
|
|
<post_install></post_install>
|
|
<!-- Packages to be included -->
|
|
<stx_packages>
|
|
<!-- Starlingx packages -->
|
|
<package>sysvinv</package>
|
|
<package>linux</package>
|
|
<package>linux-rt</package>
|
|
</stx_packages>
|
|
<binary_packages>
|
|
<!-- 3rd party downloaded packages -->
|
|
<package>curl</package>
|
|
</binary_packages>
|
|
</patch_recipe> |