Debian: make_patch Update patch file name

Update Patch file name needs to match the Patch ID + .patch
otherwise the patch agent upload fails.

Story: 2009969
Task: 45542
Change-Id: I76d437af155fd52df810d31b8243aeeb8ede42cd
Signed-off-by: Luis Sampaio <luis.sampaio@windriver.com>
This commit is contained in:
Luis Sampaio 2022-06-14 14:09:29 -07:00
parent 864f8156d6
commit cc06fd92c7
1 changed files with 1 additions and 1 deletions

View File

@ -365,7 +365,7 @@ class PatchBuilder(object):
:param clone_dir: repo cloned before the changes
"""
self.patch_data = patch_data
self.patch_file_name = patch_data.sw_version + "_" + patch_data.patch_id + ".patch"
self.patch_file_name = patch_data.patch_id + ".patch"
os.chdir(self.deploy_dir)
# read the base sha from the clone/ga directory