
This commit add the deploy_precheck element to XML, allowing the patch writer to add script used on the pre-check process of the deploy. Test Plan: - Enter the builder container $ stx shell $ cd $MY_REPO/build-tools/stx/patch - Build patch $ ./patch_builder.py --recipe EXAMPLES/patch-recipe-sample.xml - Verify if file has been added to .patch Story: 2010676 Task: 49013 Change-Id: I18ae7fcbf046362d53a67bc290ffc9b1a0b888ad Signed-off-by: Dostoievski Batista <dostoievski.albinobatista@windriver.com>
35 lines
1.2 KiB
XML
35 lines
1.2 KiB
XML
<patch_recipe>
|
|
<!-- Sample patch recipe -->
|
|
<sw_version>1.0.0</sw_version>
|
|
<component>starlingx</component>
|
|
<summary>sample patch test</summary>
|
|
<description>Reboot required patch</description>
|
|
<install_instructions>Sample instructions</install_instructions>
|
|
<warnings>Sample warning</warnings>
|
|
<!-- Reboot required Y/N -->
|
|
<reboot_required>Y</reboot_required>
|
|
<unremovable>N</unremovable>
|
|
<status>DEV</status>
|
|
<requires>
|
|
<!--
|
|
<id>PATCH_XYZ_01</id>
|
|
<id>PATCH_XYZ_02</id>
|
|
-->
|
|
</requires>
|
|
<semantics></semantics>
|
|
<!-- Pre and Post install hook scripts are optional -->
|
|
<pre_install>scripts/pre-install.sh</pre_install>
|
|
<post_install>scripts/post-install.sh</post_install>
|
|
<deploy_precheck>scripts/deploy-precheck.sh</deploy_precheck>
|
|
<!-- 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> |