* [ptxdist] [PATCH] opkg: fix deactivation of signature check
@ 2016-08-02 8:58 Alexander Dahl
0 siblings, 0 replies; only message in thread
From: Alexander Dahl @ 2016-08-02 8:58 UTC (permalink / raw)
To: ptxdist
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-08-02 8:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-02 8:58 [ptxdist] [PATCH] opkg: fix deactivation of signature check Alexander Dahl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox