[OE-core] [PATCH 2/2 V5] systemd: Upgrade to 232
Peter Kjellerstedt
peter.kjellerstedt at axis.com
Fri Dec 2 10:41:32 UTC 2016
> -----Original Message-----
> From: Khem Raj [mailto:raj.khem at gmail.com]
> Sent: den 1 december 2016 17:50
> To: Peter Kjellerstedt
> Cc: openembedded-core at lists.openembedded.org
> Subject: Re: [OE-core] [PATCH 2/2 V5] systemd: Upgrade to 232
>
> On Thu, Dec 1, 2016 at 1:28 AM, Peter Kjellerstedt
> <peter.kjellerstedt at axis.com> wrote:
> >> -----Original Message-----
> >> From: openembedded-core-bounces at lists.openembedded.org
> >> [mailto:openembedded-core-bounces at lists.openembedded.org] On Behalf
> Of
> >> Khem Raj
> >> Sent: den 28 november 2016 22:26
> >> To: openembedded-core at lists.openembedded.org
> >> Subject: [OE-core] [PATCH 2/2 V5] systemd: Upgrade to 232
> >>
> >> * Drop support for rcS.d SysV init scripts.
> >> These are prone to cause dependency loops, and almost all packages
> >> with
> >> rcS scripts now ship a native systemd service.
> >>
> >> * Drop mount propagation patch, it only happens with libseccomp, OE
> >> doesnt
> >> enable it
> >>
> >> * kdbus option has disappeared from configure
> >>
> >> * Ignore dev-so for PN now since systemd introduced private .so see
> >> https://github.com/systemd/systemd/issues/3810
> >
> > Rather than adding:
> >
> > INSANE_SKIP_${PN} += "dev-so"
> >
> > would it not be more appropriate to add
> > ${systemd_unitdir}/libsystemd-shared.so to FILES_${PN}-dev, i.e.:
> >
> > -FILES_${PN}-dev += "${base_libdir}/security/*.la ${datadir}/dbus-
> 1/interfaces/ ${sysconfdir}/rpm/macros.systemd"
> > +FILES_${PN}-dev += "${base_libdir}/security/*.la ${datadir}/dbus-
> 1/interfaces/ ${sysconfdir}/rpm/macros.systemd
> ${systemd_unitdir}/libsystemd-shared.so"
> >
> > The binaries are linked with libsystemd-shared-232.so which ends up
> > in ${PN} as usual.
>
> As mentioned this is not a typical .so which is a symlink and can be
> shoved into -dev package if we do that, then we have to include -dev
> package into every image containing systemd.
Actually, I think it _is_ working like a typical .so. It _is_ a symlink
and the applications are linked with libsystemd-shared-232.so, not
libsystemd-shared.so, just like other libraries in /lib and /usr/lib.
So AFAICT, it works just like all the other .so files that end up in
-dev.
I have verified that building with ${systemd_unitdir}/libsystemd-shared.so
added to FILES_${PN}-dev works as expected, without adding any
dependencies on systemd-dev that should not be there.
The only difference compared to other libraries in /lib and /usr/lib is
that libsystemd-shared-232.so remains packaged in the systemd package
rather than in a separate lib package, which I believe is the way we
want it to be since it is a systemd internal library.
> >> * Add libnss* to PACKAGES_DYNAMIC for libnss-resolve to work
> correctly
> >>
> >> * Forward port systemd-boot patches to systemd-232
> >>
> >> Signed-off-by: Khem Raj <raj.khem at gmail.com>
> >
> > //Peter
//Peter
More information about the Openembedded-core
mailing list