diff options
| -rw-r--r-- | meta/recipes-devtools/opkg/opkg/0002-opkg-key-remove-no-options-flag-from-gpg-calls.patch | 34 | ||||
| -rw-r--r-- | meta/recipes-devtools/opkg/opkg_0.6.1.bb | 1 |
2 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-devtools/opkg/opkg/0002-opkg-key-remove-no-options-flag-from-gpg-calls.patch b/meta/recipes-devtools/opkg/opkg/0002-opkg-key-remove-no-options-flag-from-gpg-calls.patch new file mode 100644 index 0000000000..f216950002 --- /dev/null +++ b/meta/recipes-devtools/opkg/opkg/0002-opkg-key-remove-no-options-flag-from-gpg-calls.patch | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | From a658e6402382250f0164c5b47b744740e04f3611 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Charlie Johnston <charlie.johnston@ni.com> | ||
| 3 | Date: Fri, 30 Dec 2022 15:21:14 -0600 | ||
| 4 | Subject: [PATCH] opkg-key: Remove --no-options flag from gpg calls. | ||
| 5 | |||
| 6 | The opkg-key script was always passing the --no-options | ||
| 7 | flag to gpg, which uses /dev/null as the options file. | ||
| 8 | As a result, the opkg gpg.conf file was not getting | ||
| 9 | used. This change removes that flag so that gpg.conf | ||
| 10 | in the GPGHOMEDIR for opkg (currently /etc/opkg/gpg/) | ||
| 11 | will be used if present. | ||
| 12 | |||
| 13 | Upstream-Status: Accepted [https://git.yoctoproject.org/opkg/commit/?id=cee294e72d257417b5e55ef7a76a0fd15313e46b] | ||
| 14 | Signed-off-by: Charlie Johnston <charlie.johnston@ni.com> | ||
| 15 | --- | ||
| 16 | utils/opkg-key | 2 +- | ||
| 17 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 18 | |||
| 19 | diff --git a/utils/opkg-key b/utils/opkg-key | ||
| 20 | index e395a59..8645ebc 100755 | ||
| 21 | --- a/utils/opkg-key | ||
| 22 | +++ b/utils/opkg-key | ||
| 23 | @@ -53,7 +53,7 @@ else | ||
| 24 | exit 1 | ||
| 25 | fi | ||
| 26 | |||
| 27 | -GPG="$GPGCMD --no-options --homedir $GPGHOMEDIR" | ||
| 28 | +GPG="$GPGCMD --homedir $GPGHOMEDIR" | ||
| 29 | |||
| 30 | # Gpg home dir isn't created automatically when --homedir option is used | ||
| 31 | if [ ! -e "$GPGHOMEDIR" ]; then | ||
| 32 | -- | ||
| 33 | 2.30.2 | ||
| 34 | |||
diff --git a/meta/recipes-devtools/opkg/opkg_0.6.1.bb b/meta/recipes-devtools/opkg/opkg_0.6.1.bb index 50c9451a57..712f066f0e 100644 --- a/meta/recipes-devtools/opkg/opkg_0.6.1.bb +++ b/meta/recipes-devtools/opkg/opkg_0.6.1.bb | |||
| @@ -15,6 +15,7 @@ PE = "1" | |||
| 15 | SRC_URI = "http://downloads.yoctoproject.org/releases/${BPN}/${BPN}-${PV}.tar.gz \ | 15 | SRC_URI = "http://downloads.yoctoproject.org/releases/${BPN}/${BPN}-${PV}.tar.gz \ |
| 16 | file://opkg.conf \ | 16 | file://opkg.conf \ |
| 17 | file://0001-opkg_conf-create-opkg.lock-in-run-instead-of-var-run.patch \ | 17 | file://0001-opkg_conf-create-opkg.lock-in-run-instead-of-var-run.patch \ |
| 18 | file://0002-opkg-key-remove-no-options-flag-from-gpg-calls.patch \ | ||
| 18 | file://run-ptest \ | 19 | file://run-ptest \ |
| 19 | " | 20 | " |
| 20 | 21 | ||
