Prechádzať zdrojové kódy

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 <romain.naour@smile.fr>
[Julien: add link to change log, reindent OPKG_CONF_OPTS]
Signed-off-by: Julien Olivain <ju.o@free.fr>
Romain Naour 9 mesiacov pred
rodič
commit
efe93b34ec
3 zmenil súbory, kde vykonal 7 pridanie a 4 odobranie
  1. 1 1
      package/opkg/Config.in
  2. 1 1
      package/opkg/opkg.hash
  3. 5 2
      package/opkg/opkg.mk

+ 1 - 1
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
 

+ 1 - 1
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

+ 5 - 2
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