The opkg-key script was always passing the --no-options
flag to gpg, which uses /dev/null as the options file.
As a result, the opkg gpg.conf file was not getting
used. This change removes that flag so that gpg.conf
in the GPGHOMEDIR for opkg (currently /etc/opkg/gpg/)
will be used if present.
Signed-off-by: Charlie Johnston <
charlie....@ni.com>
---
utils/opkg-key | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/utils/opkg-key b/utils/opkg-key
index e395a59..8645ebc 100755
--- a/utils/opkg-key
+++ b/utils/opkg-key
@@ -53,7 +53,7 @@ else
exit 1
fi
-GPG="$GPGCMD --no-options --homedir $GPGHOMEDIR"
+GPG="$GPGCMD --homedir $GPGHOMEDIR"
# Gpg home dir isn't created automatically when --homedir option is used
if [ ! -e "$GPGHOMEDIR" ]; then
--
2.30.2