[Buildroot] [git commit] package/opkg: enable sha256sum support

Yann E. MORIN yann.morin.1998 at free.fr
Mon Oct 23 17:18:42 UTC 2023


commit: https://git.buildroot.net/buildroot/commit/?id=e0cecc326a9649bc3b89153d762c2c2a4382f60d
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Support for sha256 has no additional dependency, the size increase is
minimal, and sha256 is the smallest hash still not broken (md5 and sha1
are), so it makes sense to enable it unconditionally.

Signed-off-by: Adam Duskett <adam.duskett at amarulasolutions.com>
[yann.morin.1998 at free.fr: make it unconditional and commit log]
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
---
 package/opkg/opkg.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/opkg/opkg.mk b/package/opkg/opkg.mk
index ea870aa21a..a550543f3e 100644
--- a/package/opkg/opkg.mk
+++ b/package/opkg/opkg.mk
@@ -10,6 +10,7 @@ OPKG_DEPENDENCIES = host-pkgconf libarchive
 OPKG_LICENSE = GPL-2.0+
 OPKG_LICENSE_FILES = COPYING
 OPKG_INSTALL_STAGING = YES
+OPKG_CONF_OPTS = --enable-sha256
 
 ifeq ($(BR2_PACKAGE_OPKG_GPG_SIGN),y)
 OPKG_CONF_OPTS += --enable-gpg



More information about the buildroot mailing list