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>
changes/27/845827/2
Luis Sampaio 4 months ago
parent 864f8156d6
commit cc06fd92c7
  1. 2
      sw-patch/cgcs-patch/cgcs_make_patch/make_patch.py

@ -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

Loading…
Cancel
Save