From f9649bca64771e845a74475b621a3c91ca0a6901 Mon Sep 17 00:00:00 2001 From: Daniel McGregor Date: Tue, 12 Oct 2021 09:44:50 -0600 Subject: [PATCH] bitbake.conf: Add gpg-agent as a host tool If gpg is used, it will find the first gpg agent in the path, this may lead to issues where gpg comes from the host, and the agent comes from a gnupg-native due to package signing. The versions being out of sync causes gpg to fail. Signed-off-by: Daniel McGregor Signed-off-by: Richard Purdie (cherry picked from commit 2b59fb9d52a405a32a1d069d4c5320b72fbd35ce) Signed-off-by: Steve Sakoman --- meta/conf/bitbake.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index f442a6593a..91f003d6dd 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf @@ -502,7 +502,7 @@ HOSTTOOLS += " \ HOSTTOOLS += "${@'ip ping ps scp ssh stty' if (bb.utils.contains_any('IMAGE_CLASSES', 'testimage testsdk', True, False, d) or any(x in (d.getVar("BBINCLUDED") or "") for x in ["testimage.bbclass", "testsdk.bbclass"])) else ''}" # Link to these if present -HOSTTOOLS_NONFATAL += "aws gcc-ar gpg ld.bfd ld.gold nc pigz sftp socat ssh sudo" +HOSTTOOLS_NONFATAL += "aws gcc-ar gpg gpg-agent ld.bfd ld.gold nc pigz sftp socat ssh sudo" # Temporary add few more detected in bitbake world HOSTTOOLS_NONFATAL += "join nl size yes zcat" -- 2.40.1