mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-10 16:40:03 +00:00
ostree: Add soup3 PACKAGECONFIG, rename soup to soup2
libsoup3 is now supported by ostree, add `soup2` to select the deprecated libsoup2 library and `soup3` for libsoup3. Drop `--disable-glibtest` from PACKAGECONFIG as it does nothing (nor does it appear to have ever done anything). Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -42,7 +42,7 @@ 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 and swap
|
||||||
# soup for curl to avoid bringing in deprecated libsoup2 (though
|
# soup for curl to avoid bringing in deprecated libsoup2 (though
|
||||||
# to run ptest requires that you have soup).
|
# 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)} \
|
||||||
@@ -85,7 +85,8 @@ 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[soup] = "--with-soup, --without-soup --disable-glibtest, libsoup-2.4"
|
PACKAGECONFIG[soup2] = "--with-soup, --without-soup, libsoup-2.4, , , soup3"
|
||||||
|
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"
|
||||||
PACKAGECONFIG[trivial-httpd-cmdline] = "--enable-trivial-httpd-cmdline, --disable-trivial-httpd-cmdline"
|
PACKAGECONFIG[trivial-httpd-cmdline] = "--enable-trivial-httpd-cmdline, --disable-trivial-httpd-cmdline"
|
||||||
@@ -188,7 +189,7 @@ RDEPENDS:${PN}:class-target = " \
|
|||||||
#
|
#
|
||||||
# Something like this in your local.conf:
|
# Something like this in your local.conf:
|
||||||
#
|
#
|
||||||
# PACKAGECONFIG:append:pn-ostree = " static soup"
|
# 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"
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user