[OE-core] [PATCH 1/6] systemd: build with compatibility libraries

Khem Raj raj.khem at gmail.com
Tue Oct 20 03:23:48 UTC 2015


> On Oct 16, 2015, at 8:51 AM, Joshua Lock <joshua.lock at collabora.co.uk> wrote:
> 
> There are recipes in the Core metadata that have optional systemd
> support but expect the old, separate, libsystemd-foo pkg-config files
> (not the newer unified libsystemd).
> 
> Add a PACKAGECONFIG option to build systemd with the compatibility
> pc files and default to enabling this option so that we can make use of
> them in the weston recipe.
> 
> Signed-off-by: Joshua Lock <joshua.lock at collabora.co.uk>
> ---
> meta/recipes-core/systemd/systemd_225.bb | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-core/systemd/systemd_225.bb b/meta/recipes-core/systemd/systemd_225.bb
> index c2dad58..594c5aa 100644
> --- a/meta/recipes-core/systemd/systemd_225.bb
> +++ b/meta/recipes-core/systemd/systemd_225.bb
> @@ -58,7 +58,7 @@ LDFLAGS_append_libc-uclibc = " -lrt"
> 
> GTKDOC_DOCDIR = "${S}/docs/"
> 
> -PACKAGECONFIG ??= "xz ldconfig \
> +PACKAGECONFIG ??= "xz ldconfig compat \
>                    ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'pam', '', d)} \
>                    ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xkbcommon', '', d)} \
>                    ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \
> @@ -89,6 +89,7 @@ PACKAGECONFIG[ldconfig] = "--enable-ldconfig,--disable-ldconfig,,"
> PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux"
> PACKAGECONFIG[valgrind] = "ac_cv_header_valgrind_memcheck_h=yes ac_cv_header_valgrind_valgrind_h=yes ,ac_cv_header_valgrind_memcheck_h=no ac_cv_header_valgrind_valgrind_h=no ,valgrind"
> PACKAGECONFIG[qrencode] = "--enable-qrencode,--disable-qrencode,qrencode"
> +PACKAGECONFIG[compat] = "--enable-compat-libs,--disable-compat-libs”

I would rather expect this to not be there in first place, if its needed for some, then lets not enable it by default
what would it take to fix weston ?

> 
> CACHED_CONFIGUREVARS += "ac_cv_path_KILL=${base_bindir}/kill"
> CACHED_CONFIGUREVARS += "ac_cv_path_KMOD=${base_bindir}/kmod"
> --
> 2.1.4
> 
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20151019/9515b664/attachment-0002.sig>


More information about the Openembedded-core mailing list