From 2309c8b5fbec909a55d0341d0dc6b400049baffd Mon Sep 17 00:00:00 2001 From: muthuja Date: Tue, 16 Jan 2024 14:14:15 +0530 Subject: [PATCH] rpm sigining enabled for amazon2023 Signed-off-by: muthuja rpm sigining test for amazon2023 Signed-off-by: muthuja rpm sigining test for amazon2023 Signed-off-by: muthuja rpm sigining test for amazon2023 Signed-off-by: muthuja rpm sigining test for amazon2023 Signed-off-by: muthuja rpm sigining test for amazon2023 Signed-off-by: muthuja rpm sigining test for amazon2023 Signed-off-by: muthuja updated the script Signed-off-by: muthuja updated the script Signed-off-by: muthuja updated the script Signed-off-by: muthuja updated the script Signed-off-by: muthuja updated the script Signed-off-by: muthuja updated the script Signed-off-by: muthuja --- lib/omnibus/packagers/rpm.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/omnibus/packagers/rpm.rb b/lib/omnibus/packagers/rpm.rb index 74a890289..9606b9811 100644 --- a/lib/omnibus/packagers/rpm.rb +++ b/lib/omnibus/packagers/rpm.rb @@ -446,9 +446,9 @@ def create_rpm_file with_rpm_signing do |signing_script| log.info(log_key) { "Signing the built rpm file" } - # RHEL 8 has gpg-agent running so we can skip the expect script since the agent + # RHEL 8 and Amazon-2023 has gpg-agent running so we can skip the expect script since the agent # takes care of the passphrase entering on the signing - if dist_tag != ".el8" && dist_tag != ".el9" + if dist_tag != ".el8" && dist_tag != ".el9" && dist_tag != ".amazon2023" sign_cmd.prepend("#{signing_script} \"").concat("\"") end