mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-04-02 02:49:12 +00:00
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>
This commit is contained in:
parent
35970473be
commit
ba1fd62faa
@ -39,9 +39,7 @@ BUILD_OPTIMIZATION:remove = "-Og"
|
|||||||
BUILD_OPTIMIZATION:append = " -O2"
|
BUILD_OPTIMIZATION:append = " -O2"
|
||||||
|
|
||||||
# Package configuration - match ostree defaults, but without rofiles-fuse
|
# Package configuration - match ostree defaults, but without rofiles-fuse
|
||||||
# otherwise we introduce a dependendency on meta-filesystems and swap
|
# otherwise we introduce a dependendency on meta-filesystems
|
||||||
# soup for curl to avoid bringing in deprecated libsoup2 (though
|
|
||||||
# to run ptest requires that you have soup2 or soup3).
|
|
||||||
PACKAGECONFIG ??= " \
|
PACKAGECONFIG ??= " \
|
||||||
${@bb.utils.filter('DISTRO_FEATURES', 'selinux smack', d)} \
|
${@bb.utils.filter('DISTRO_FEATURES', 'selinux smack', d)} \
|
||||||
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd libmount', '', d)} \
|
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd libmount', '', d)} \
|
||||||
@ -87,13 +85,13 @@ PACKAGECONFIG[openssl] = "--with-crypto=openssl, , openssl, , , glib gnutls"
|
|||||||
PACKAGECONFIG[rofiles-fuse] = "--enable-rofiles-fuse, --disable-rofiles-fuse, fuse3"
|
PACKAGECONFIG[rofiles-fuse] = "--enable-rofiles-fuse, --disable-rofiles-fuse, fuse3"
|
||||||
PACKAGECONFIG[selinux] = "--with-selinux, --without-selinux, libselinux, bubblewrap"
|
PACKAGECONFIG[selinux] = "--with-selinux, --without-selinux, libselinux, bubblewrap"
|
||||||
PACKAGECONFIG[smack] = "--with-smack, --without-smack, smack"
|
PACKAGECONFIG[smack] = "--with-smack, --without-smack, smack"
|
||||||
PACKAGECONFIG[soup2] = "--with-soup, --without-soup, libsoup-2.4, , , soup3"
|
PACKAGECONFIG[soup3] = "--with-soup3, --without-soup3, libsoup"
|
||||||
PACKAGECONFIG[soup3] = "--with-soup3, --without-soup3, libsoup, , , soup2"
|
|
||||||
PACKAGECONFIG[static] = ""
|
PACKAGECONFIG[static] = ""
|
||||||
PACKAGECONFIG[systemd] = "--with-libsystemd --with-systemdsystemunitdir=${systemd_system_unitdir}, --without-libsystemd, systemd"
|
PACKAGECONFIG[systemd] = "--with-libsystemd --with-systemdsystemunitdir=${systemd_system_unitdir}, --without-libsystemd, systemd"
|
||||||
|
|
||||||
EXTRA_OECONF = " \
|
EXTRA_OECONF = " \
|
||||||
${@bb.utils.contains('PACKAGECONFIG', 'static', '--with-static-compiler=\'${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}\'', '', d)} \
|
${@bb.utils.contains('PACKAGECONFIG', 'static', '--with-static-compiler=\'${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}\'', '', d)} \
|
||||||
|
--without-soup \
|
||||||
"
|
"
|
||||||
|
|
||||||
# Makefile-libostree.am overrides this to avoid a build problem with clang,
|
# Makefile-libostree.am overrides this to avoid a build problem with clang,
|
||||||
@ -185,7 +183,6 @@ RDEPENDS:${PN}:class-target = " \
|
|||||||
#
|
#
|
||||||
# Something like this in your local.conf:
|
# Something like this in your local.conf:
|
||||||
#
|
#
|
||||||
# PACKAGECONFIG:append:pn-ostree = " static soup3"
|
|
||||||
# KERNEL_EXTRA_FEATURES:append = " features/overlayfs/overlayfs.scc"
|
# KERNEL_EXTRA_FEATURES:append = " features/overlayfs/overlayfs.scc"
|
||||||
# TARGET_CFLAGS:append:pn-busybox = " -static"
|
# TARGET_CFLAGS:append:pn-busybox = " -static"
|
||||||
#
|
#
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user