From: Alexander Dahl <post@lespocky.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] opkg: fix deactivation of signature check
Date: Tue, 2 Aug 2016 10:58:04 +0200 [thread overview]
Message-ID: <1470128284-29910-1-git-send-email-post@lespocky.de> (raw)
As correctly suspected by Michael back in January 2016 opkg behaves as
follows: adding a line 'option check_pkg_signature 0' to
/etc/opkg/opkg.conf actually means true on this option, while removing
the line entirely means false. Any other value after check_pkg_signature
also means true, just removing the line is interpreted as false.
Suggested-by: Michael Olbrich <m.olbrich@pengutronix.de>
Signed-off-by: Alexander Dahl <post@lespocky.de>
---
rules/opkg.make | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rules/opkg.make b/rules/opkg.make
index be49783..5b781eb 100644
--- a/rules/opkg.make
+++ b/rules/opkg.make
@@ -91,7 +91,7 @@ ifdef PTXCONF_OPKG_OPKG_CONF_CHECKSIG
"option signature_ca_file /etc/ssl/certs/opkg.crt")
else
@$(call install_replace, opkg, /etc/opkg/opkg.conf, @CHECKSIG@, \
- "option check_signature 0")
+ "#option check_signature 0")
@$(call install_replace, opkg, /etc/opkg/opkg.conf, @CAPATH@, \
"#option signature_ca_path /etc/ssl/certs")
@$(call install_replace, opkg, /etc/opkg/opkg.conf, @CAFILE@, \
--
2.1.4
_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
reply other threads:[~2016-08-02 8:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1470128284-29910-1-git-send-email-post@lespocky.de \
--to=post@lespocky.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox