diff options
| author | Changqing Li <changqing.li@windriver.com> | 2026-03-30 14:31:44 +0800 |
|---|---|---|
| committer | Khem Raj <khem.raj@oss.qualcomm.com> | 2026-03-30 19:46:39 -0700 |
| commit | ba1fd62faa604bb6094bc68d141ab223a5cb6628 (patch) | |
| tree | e93396b29cb5a841445c7583e749acf4b06cbf5c | |
| parent | 35970473be84f4929df3e27e69b3533bcdecd0fa (diff) | |
| download | meta-openembedded-ba1fd62faa604bb6094bc68d141ab223a5cb6628.tar.gz | |
ostree: drop soup2 option
* libsoup-2.4 is deprecated, and some recipes already stop support of
soup2, soup2 and soup3 cannot be used together
* ostree upstream already stop test of soup2, refer [1]
* Remove unnecessary comments, PACKAGECONFIG for ptest already set in bb
[1] https://github.com/ostreedev/ostree/pull/3531
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
| -rw-r--r-- | meta-oe/recipes-extended/ostree/ostree_2025.7.bb | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/meta-oe/recipes-extended/ostree/ostree_2025.7.bb b/meta-oe/recipes-extended/ostree/ostree_2025.7.bb index 764daa8e37..a2094f68c3 100644 --- a/meta-oe/recipes-extended/ostree/ostree_2025.7.bb +++ b/meta-oe/recipes-extended/ostree/ostree_2025.7.bb | |||
| @@ -39,9 +39,7 @@ BUILD_OPTIMIZATION:remove = "-Og" | |||
| 39 | BUILD_OPTIMIZATION:append = " -O2" | 39 | BUILD_OPTIMIZATION:append = " -O2" |
| 40 | 40 | ||
| 41 | # Package configuration - match ostree defaults, but without rofiles-fuse | 41 | # Package configuration - match ostree defaults, but without rofiles-fuse |
| 42 | # otherwise we introduce a dependendency on meta-filesystems and swap | 42 | # otherwise we introduce a dependendency on meta-filesystems |
| 43 | # soup for curl to avoid bringing in deprecated libsoup2 (though | ||
| 44 | # to run ptest requires that you have soup2 or soup3). | ||
| 45 | PACKAGECONFIG ??= " \ | 43 | PACKAGECONFIG ??= " \ |
| 46 | ${@bb.utils.filter('DISTRO_FEATURES', 'selinux smack', d)} \ | 44 | ${@bb.utils.filter('DISTRO_FEATURES', 'selinux smack', d)} \ |
| 47 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd libmount', '', d)} \ | 45 | ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd libmount', '', d)} \ |
| @@ -87,13 +85,13 @@ PACKAGECONFIG[openssl] = "--with-crypto=openssl, , openssl, , , glib gnutls" | |||
| 87 | PACKAGECONFIG[rofiles-fuse] = "--enable-rofiles-fuse, --disable-rofiles-fuse, fuse3" | 85 | PACKAGECONFIG[rofiles-fuse] = "--enable-rofiles-fuse, --disable-rofiles-fuse, fuse3" |
| 88 | PACKAGECONFIG[selinux] = "--with-selinux, --without-selinux, libselinux, bubblewrap" | 86 | PACKAGECONFIG[selinux] = "--with-selinux, --without-selinux, libselinux, bubblewrap" |
| 89 | PACKAGECONFIG[smack] = "--with-smack, --without-smack, smack" | 87 | PACKAGECONFIG[smack] = "--with-smack, --without-smack, smack" |
| 90 | PACKAGECONFIG[soup2] = "--with-soup, --without-soup, libsoup-2.4, , , soup3" | 88 | PACKAGECONFIG[soup3] = "--with-soup3, --without-soup3, libsoup" |
| 91 | PACKAGECONFIG[soup3] = "--with-soup3, --without-soup3, libsoup, , , soup2" | ||
| 92 | PACKAGECONFIG[static] = "" | 89 | PACKAGECONFIG[static] = "" |
| 93 | PACKAGECONFIG[systemd] = "--with-libsystemd --with-systemdsystemunitdir=${systemd_system_unitdir}, --without-libsystemd, systemd" | 90 | PACKAGECONFIG[systemd] = "--with-libsystemd --with-systemdsystemunitdir=${systemd_system_unitdir}, --without-libsystemd, systemd" |
| 94 | 91 | ||
| 95 | EXTRA_OECONF = " \ | 92 | EXTRA_OECONF = " \ |
| 96 | ${@bb.utils.contains('PACKAGECONFIG', 'static', '--with-static-compiler=\'${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}\'', '', d)} \ | 93 | ${@bb.utils.contains('PACKAGECONFIG', 'static', '--with-static-compiler=\'${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}\'', '', d)} \ |
| 94 | --without-soup \ | ||
| 97 | " | 95 | " |
| 98 | 96 | ||
| 99 | # Makefile-libostree.am overrides this to avoid a build problem with clang, | 97 | # Makefile-libostree.am overrides this to avoid a build problem with clang, |
| @@ -185,7 +183,6 @@ RDEPENDS:${PN}:class-target = " \ | |||
| 185 | # | 183 | # |
| 186 | # Something like this in your local.conf: | 184 | # Something like this in your local.conf: |
| 187 | # | 185 | # |
| 188 | # PACKAGECONFIG:append:pn-ostree = " static soup3" | ||
| 189 | # KERNEL_EXTRA_FEATURES:append = " features/overlayfs/overlayfs.scc" | 186 | # KERNEL_EXTRA_FEATURES:append = " features/overlayfs/overlayfs.scc" |
| 190 | # TARGET_CFLAGS:append:pn-busybox = " -static" | 187 | # TARGET_CFLAGS:append:pn-busybox = " -static" |
| 191 | # | 188 | # |
