From 3e4f7fa0a37bbd26e92143922dac89d6e5aead2b Mon Sep 17 00:00:00 2001 From: Dostoievski Batista Date: Fri, 3 Mar 2023 14:18:10 -0300 Subject: [PATCH] Change on GPG pinentry settings Fix a typo in the pinentry settings that caused the GPG agent to not restart making the second build-image command fail. Test Plan: PASS: ./build_test_patches.py --software-version "${SW_VERSION}" --inservice --requires Signed-off-by: Dostoievski Batista Change-Id: I3f627477c373850c602d35a2445ad3157fb083eb --- sw-patch/scripts/build_test_patches.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sw-patch/scripts/build_test_patches.py b/sw-patch/scripts/build_test_patches.py index 71dfa4e5..9cd56a66 100755 --- a/sw-patch/scripts/build_test_patches.py +++ b/sw-patch/scripts/build_test_patches.py @@ -322,7 +322,7 @@ class TestPatchBuilder(): stx shell --container lat -c ' \ echo "allow-loopback-pinentry" > /tmp/.lat_gnupg_root/gpg-agent.conf; \ echo "default-cache-ttl 34560000" >> /tmp/.lat_gnupg_root/gpg-agent.conf; \ - echo "maximum-cache-ttl 34560000" >> /tmp/.lat_gnupg_root/gpg-agent.conf; \ + echo "max-cache-ttl 34560000" >> /tmp/.lat_gnupg_root/gpg-agent.conf; \ gpg-connect-agent --homedir /tmp/.lat_gnupg_root reloadagent /bye; \ gpg --homedir=/tmp/.lat_gnupg_root -o /dev/null -u {gpg_id} --pinentry=loopback --passphrase {gpg_pass} -s /dev/null; '