diff options
author | Alexander Dahl <post@lespocky.de> | 2016-08-02 10:58:04 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2016-08-12 14:44:43 +0200 |
commit | 0c8c19e2890d4c176432a70cfccb17929541fb4d (patch) | |
tree | 3942777b17c5cbba5c843106783269d84799ad77 /rules/opkg.make | |
parent | b0ee9c583cbad8534a1bab6b9d745b86fcd55919 (diff) | |
download | ptxdist-0c8c19e2890d4c176432a70cfccb17929541fb4d.tar.gz ptxdist-0c8c19e2890d4c176432a70cfccb17929541fb4d.tar.xz |
opkg: fix deactivation of signature check
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>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/opkg.make')
-rw-r--r-- | rules/opkg.make | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/opkg.make b/rules/opkg.make index be497834f..5b781eba1 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@, \ |