From efe93b34ec678c0d35b2ec062128fccf55912b8e Mon Sep 17 00:00:00 2001 From: Romain Naour Date: Sun, 3 Nov 2024 23:13:39 +0100 Subject: [PATCH] package/opkg: bump to version 0.7.0 For the change log since 0.6.2, see: https://git.yoctoproject.org/opkg/tree/CHANGELOG.md?h=v0.7.0#n8 Since the toolchain-external-bootlin version bump to 2024.05-1 the TestOpkg fail due to a "spurious error check" fixed in opkg 0.7.0 [1]. With toolchain-external-bootlin 2024.02-1 (gcc-12) and opkg 0.6.2: opkg install example-snmpd-package_1.0_arm.ipk Installing example-snmpd-package (1.0) on root. Configuring example-snmpd-package. Starting SNMP daemon: OK echo $? 0 With toolchain-external-bootlin 2024.05-1 (gcc-13) and opkg 0.6.2: opkg install example-snmpd-package_1.0_arm.ipk echo $? 255 The new gcc-13 seems to be confused while compiling opkg 0.6.2 without the "spurious error check" fix [1] With toolchain-external-bootlin 2024.05-1 (gcc-13) and opkg 0.7.0: opkg install example-snmpd-package_1.0_arm.ipk Installing example-snmpd-package (1.0) on root. Configuring example-snmpd-package. Starting SNMP daemon: OK echo $? 0 Keep new ACL and XATTRS support introduced in opkg 0.6.3 disabled. Update opkg to the new upstream url [2]. [1] https://git.yoctoproject.org/opkg/commit?id=b5cc53d56e381803d3f55019254ab7d608160ae1 [2] https://github.com/openembedded/openembedded-core/commit/6ff8b43e08840582ee8d88261cbaffd33c2304f9 Fixes: https://gitlab.com/buildroot.org/buildroot/-/jobs/8199992571 Signed-off-by: Romain Naour [Julien: add link to change log, reindent OPKG_CONF_OPTS] Signed-off-by: Julien Olivain --- package/opkg/Config.in | 2 +- package/opkg/opkg.hash | 2 +- package/opkg/opkg.mk | 7 +++++-- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/package/opkg/Config.in b/package/opkg/Config.in index 1f6a39343f..ccea63cf7f 100644 --- a/package/opkg/Config.in +++ b/package/opkg/Config.in @@ -17,7 +17,7 @@ config BR2_PACKAGE_OPKG conforms to a subset of debian's policy manual regarding control files. - https://code.google.com/archive/p/opkg/ + https://git.yoctoproject.org/opkg/ if BR2_PACKAGE_OPKG diff --git a/package/opkg/opkg.hash b/package/opkg/opkg.hash index c6ecefba21..3928a2ce01 100644 --- a/package/opkg/opkg.hash +++ b/package/opkg/opkg.hash @@ -1,4 +1,4 @@ # From http://downloads.yoctoproject.org/releases/opkg/SHA256SUMS -sha256 ac73a90a2549cd04948e563d915912c78e1b8ba0f43af75c5a53fcca474adbd5 opkg-0.6.2.tar.gz +sha256 d973fd0f1568f58f87d6aecd9aa95e3e1f60214a45cee26704bf8fe757c54567 opkg-0.7.0.tar.gz # Locally calculated sha256 32b1062f7da84967e7019d01ab805935caa7ab7321a7ced0e30ebe75e5df1670 COPYING diff --git a/package/opkg/opkg.mk b/package/opkg/opkg.mk index a550543f3e..0323a49f0b 100644 --- a/package/opkg/opkg.mk +++ b/package/opkg/opkg.mk @@ -4,13 +4,16 @@ # ################################################################################ -OPKG_VERSION = 0.6.2 +OPKG_VERSION = 0.7.0 OPKG_SITE = https://downloads.yoctoproject.org/releases/opkg OPKG_DEPENDENCIES = host-pkgconf libarchive OPKG_LICENSE = GPL-2.0+ OPKG_LICENSE_FILES = COPYING OPKG_INSTALL_STAGING = YES -OPKG_CONF_OPTS = --enable-sha256 +OPKG_CONF_OPTS = \ + --enable-sha256 \ + --without-acl \ + --without-xattrs ifeq ($(BR2_PACKAGE_OPKG_GPG_SIGN),y) OPKG_CONF_OPTS += --enable-gpg