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 <dostoievski.albinobatista@windriver.com>
Change-Id: I3f627477c373850c602d35a2445ad3157fb083eb
This commit is contained in:
Dostoievski Batista
2023-03-03 14:18:10 -03:00
committed by Dostoievski Albino Batista
parent 517ba7a1e1
commit 3e4f7fa0a3

View File

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