patch_builder.py not reading "reboot required" and "unremovable" values
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Dostoievski Albino Batista |
Bug Description
Brief Description
-----------------
When patch's recipe contains values set to N in "reboot required" or/and "unremovable" fields, patch_builder.py doesn't not generate the metadata with the correct values.
Severity
--------
Minor
Steps to Reproduce
------------------
Use recipe with fields "reboot required" or/and "unremovable" set to N. e.g.:
[...]
<reboot_
<unremovabl
[...]
Create patch and check metadata with: tar xf ${PATCH_PATH} | tar x -O
[...]
<unremovable>
<reboot_
[...]
Expected Behavior
------------------
Patch metadata should have same values as set on recipe.
Actual Behavior
----------------
Patch metadata don't have same value as set on recipe.
Reproducibility
---------------
Reproducible
System Configuration
-------
N/A
Branch/Pull Time/Commit
-------
master
Last Pass
---------
N/A
Timestamp/Logs
--------------
N/A
Test Activity
-------------
N/A
Workaround
----------
N/A
Changed in starlingx: | |
assignee: | nobody → Dostoievski Albino Batista (dalbinob) |
Changed in starlingx: | |
importance: | Undecided → Low |
tags: | added: stx.9.0 stx.update |
Reviewed: https:/ /review. opendev. org/c/starlingx /root/+ /907899 /opendev. org/starlingx/ root/commit/ 0136ecee29593a7 4f4a0695b0e69c3 e77ef57340
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 0136ecee29593a7 4f4a0695b0e69c3 e77ef57340
Author: Dostoievski Batista <email address hidden>
Date: Mon Feb 5 15:06:53 2024 -0300
Fix "reboot_required" and "unremovable" values inside metadata
This commits change metadata.py to correctly
read the values set on recipe's fields "reboot_required"
and "unremovable" when creating a patch.
Test Plan:
"unremovable" set as "N".
"unremovable" set as "Y".
PASS: Generate patch with "reboot_required" and
PASS: Generate patch with "reboot_required" and
Closes-bug: 2052458
Change-Id: I9ba5058b296a63 d98685882cee66e f6aa21c4f02
Signed-off-by: Dostoievski Batista <email address hidden>