Skip to contentSkip to conversation

opkg: add option for zstd support

PATCH In review Etienne Cordonnier 2 participants 2 messages Sep 14, 2022

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 opkg: add option for zstd support

This allows the use of zstd for opkg packages by using OPKGBUILDCMD:
OPKGBUILDCMD = "opkg-build -Z zstd"

---
 meta/recipes-devtools/opkg/opkg_0.6.0.bb | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-devtools/opkg/opkg_0.6.0.bb +1 -0
index 7b351e8123..4cd589cd29 100644
@@ -39,6 +39,7 @@ PACKAGECONFIG[gpg] = "--enable-gpg,--disable-gpg,\
 PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl"
 PACKAGECONFIG[ssl-curl] = "--enable-ssl-curl,--disable-ssl-curl,curl openssl"
 PACKAGECONFIG[sha256] = "--enable-sha256,--disable-sha256"
+PACKAGECONFIG[zstd] = "--enable-zstd,--disable-zstd,zstd"
 PACKAGECONFIG[libsolv] = "--with-libsolv,--without-libsolv,libsolv"
 
 EXTRA_OECONF:class-native = "--localstatedir=/${@os.path.relpath('${localstatedir}', '${STAGING_DIR_NATIVE}')} --sysconfdir=/${@os.path.relpath('${sysconfdir}', '${STAGING_DIR_NATIVE}')}"
Signature · 1 line
2.36.1.vfs.0.0
#1 lore raw

ACK from me.

Quoted 30 lines · Etienne Cordonnier via lists.openembedded.org

This allows the use of zstd for opkg packages by using OPKGBUILDCMD:
OPKGBUILDCMD = "opkg-build -Z zstd"

---
  meta/recipes-devtools/opkg/opkg_0.6.0.bb | 1 +
  1 file changed, 1 insertion(+)
meta/recipes-devtools/opkg/opkg_0.6.0.bb +1 -1
index 7b351e8123..4cd589cd29 100644
@@ -39,6 +39,7 @@ PACKAGECONFIG[gpg] = "--enable-gpg,--disable-gpg,\
  PACKAGECONFIG[curl] = "--enable-curl,--disable-curl,curl"
  PACKAGECONFIG[ssl-curl] = "--enable-ssl-curl,--disable-ssl-curl,curl openssl"
  PACKAGECONFIG[sha256] = "--enable-sha256,--disable-sha256"
+PACKAGECONFIG[zstd] = "--enable-zstd,--disable-zstd,zstd"
  PACKAGECONFIG[libsolv] = "--with-libsolv,--without-libsolv,libsolv"
 
  EXTRA_OECONF:class-native = "--localstatedir=/${@os.path.relpath('${localstatedir}', '${STAGING_DIR_NATIVE}')} --sysconfdir=/${@os.path.relpath('${sysconfdir}', '${STAGING_DIR_NATIVE}')}"
 
-=-=-=-=-=-=-=-=-=-=-=-

Links: You receive all messages sent to this group.
View/Reply Online (#170651): https://urldefense.com/v3/__https://lists.openembedded.org/g/openembedded-core/message/170651__;!!FbZ0ZwI3Qg!s3ge2JNZe1G9vmQ-fsPaqWDO_Q31zeo7xvWaZyozqBUutvc_pqEPJh9YF4LJ284aTwx9LfkjOxEp2dzr_MM3cnXkAnz9-fO-i2Da$
Mute This Topic: https://urldefense.com/v3/__https://lists.openembedded.org/mt/93674358/3616788__;!!FbZ0ZwI3Qg!s3ge2JNZe1G9vmQ-fsPaqWDO_Q31zeo7xvWaZyozqBUutvc_pqEPJh9YF4LJ284aTwx9LfkjOxEp2dzr_MM3cnXkAnz9-WZqAqb8$
Group Owner: [email protected]
Unsubscribe: https://urldefense.com/v3/__https://lists.openembedded.org/g/openembedded-core/unsub__;!!FbZ0ZwI3Qg!s3ge2JNZe1G9vmQ-fsPaqWDO_Q31zeo7xvWaZyozqBUutvc_pqEPJh9YF4LJ284aTwx9LfkjOxEp2dzr_MM3cnXkAnz9-a4JRFlg$ [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 5 lines
Alex Stewart
Software Engineer - NI Real-Time OS
NI (National Instruments)

[email protected]