[OE-core] [PATCH 1/6] systemd: build with compatibility libraries
Joshua Lock
joshua.lock at collabora.co.uk
Mon Oct 19 19:52:53 UTC 2015
On 19/10/15 13:57, Anders Darander wrote:
> * Joshua Lock <joshua.lock at collabora.co.uk> [151016 17:52]:
>
>> 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).
>
> Any size impact? Just wondering as you're changing the default.
> (Assuming that it was off by default previously?)
The compat-libs (libsystemd-daemon libsystemd-login libsystemd-journal
libsystemd-id128) are packaged separately, so you only see an increase
in image size if something pulls them in to your image.
The -dev, -dbg and -ptest package sizes all increase slightly:
joshuagl at owlbear:/srv/build/systemd-size$ buildhistory-diff -a | grep
PKGSIZE
packages/i586-poky-linux/systemd/systemd-dbg: PKGSIZE changed from
54364265 to 55148696 (+1%)
packages/i586-poky-linux/systemd/systemd-dev: PKGSIZE changed from 98921
to 105487 (+6%)
packages/i586-poky-linux/systemd/systemd-ptest: PKGSIZE changed from
3156181 to 3156103 (0%)
Regards,
Joshua
>
> Cheers,
> Anders
>
>
>> -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"
>
>> CACHED_CONFIGUREVARS += "ac_cv_path_KILL=${base_bindir}/kill"
>> CACHED_CONFIGUREVARS += "ac_cv_path_KMOD=${base_bindir}/kmod"
More information about the Openembedded-core
mailing list