
This change adds the option 'activation scripts' to the patch recipe, allowing the user to add one or multiples scripts that will be copied to the patch and added to the metadata. Test plan: PASS - Create patch with one activation script, check if file is on patch and check value in the patch's metadata. PASS - Create patch with multiple activation scripts, check if files are inside the patch and check values in the patch's metadata. PASS - Create patch without any activation script, check if files are inside the patch and check if value in the patch's metadata. PASS - Check if patch-builder fails when patch recipe doesn't have activate script element. Story: 2010676 Task: 51239 Change-Id: I7073f59dfd7eefa0986a39fd70d4207bb437c9ba Signed-off-by: Dostoievski Batista <dostoievski.albinobatista@windriver.com>
31 lines
1.1 KiB
XML
31 lines
1.1 KiB
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>
|
|
<activation_scripts></activation_scripts>
|
|
<!-- Pre and Post install hook scripts are optional -->
|
|
<!-- Both fields require the full path to hook scripts -->
|
|
<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> |