From cc06fd92c77c659e24d7059f644e8a3a9f24d602 Mon Sep 17 00:00:00 2001 From: Luis Sampaio Date: Tue, 14 Jun 2022 14:09:29 -0700 Subject: [PATCH] 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 --- sw-patch/cgcs-patch/cgcs_make_patch/make_patch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sw-patch/cgcs-patch/cgcs_make_patch/make_patch.py b/sw-patch/cgcs-patch/cgcs_make_patch/make_patch.py index cea2c24c..0af4a466 100644 --- a/sw-patch/cgcs-patch/cgcs_make_patch/make_patch.py +++ b/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