Fix UNREMOVABLE parsing in make_patch_functions.py

The parsing of the UNREMOVABLE tag in the patch XML is setting the
wrong metadata flag. It's setting "removable" instead of
"unremovable", meaning the UNREMOVABLE tag has no effect.

Change-Id: I6f497a8a76e1c46b33edf896e71ed1266004d964
Closes-Bug: 1891729
Signed-off-by: Don Penney <don.penney@windriver.com>
This commit is contained in:
Don Penney 2020-08-14 22:15:50 -04:00
parent 2302b0fe2e
commit f541c94975
1 changed files with 1 additions and 1 deletions

View File

@ -1361,7 +1361,7 @@ class PatchRecipeData(object):
else:
pf.meta.status = STATUS_DEVELOPEMENT
if 'UNREMOVABLE' in self.metadata:
pf.meta.removable = self.metadata['UNREMOVABLE']
pf.meta.unremovable = self.metadata['UNREMOVABLE']
if 'SUMMARY' in self.metadata:
pf.meta.summary = self.metadata['SUMMARY']
if 'DESCRIPTION' in self.metadata: