[systemd-devel] [PATCH 2/2] build-sys: Also move libsystemd-journal to rootlibdir
Alexey Shabalin
a.shabalin at gmail.com
Mon Feb 24 05:31:46 PST 2014
2014-02-22 20:57 GMT+04:00 Kay Sievers <kay at vrfy.org>:
> On Sat, Feb 22, 2014 at 5:48 PM, Armin K. <krejzi at email.com> wrote:
> > On 02/22/2014 05:44 PM, Kay Sievers wrote:
> >> On Sat, Feb 22, 2014 at 3:22 PM, Armin K <krejzi at email.com> wrote:
> >>> ---
> >>> Makefile.am | 2 ++
> >>> 1 file changed, 2 insertions(+)
> >>>
> >>> diff --git a/Makefile.am b/Makefile.am
> >>> index e25d532..b1f0670 100644
> >>> --- a/Makefile.am
> >>> +++ b/Makefile.am
> >>> @@ -4479,11 +4479,13 @@ lib_LTLIBRARIES += \
> >>> # move lib from $(libdir) to $(rootlibdir) and update devel link, if
> needed
> >>> compat-lib-install-hook:
> >>> libname=libsystemd-login.so && $(move-to-rootlibdir)
> >>> + libname=libsystemd-journal.so && $(move-to-rootlibdir)
> >>> libname=libsystemd-id128.so && $(move-to-rootlibdir)
> >>> libname=libsystemd-daemon.so && $(move-to-rootlibdir)
> >>
> >> Hmm, that is already in the libsystemd section and does not belong in
> >> the compat libs section.
> >>
> >> Please check does not work for you?
>
> > When --enable-compat-libs is used, and rootlibdir != libdir,
> > libsystemd-{login,id128,daemon}.so.* (versioned libraries) get installed
> > in rootlibdir, but libsystemd-daemon.so.* remains in libdir. Either
> > don't move any or move them all, simple as that.
>
> Ah, I mis-read that as libsystemd.so, sorry, simple as that.
>
> Applied.
>
Excuse me, but what reason this libs in $rootlibdir ?
All systemd components static linked now with internal libs(for v209).
systemd can boot without $libdir (/usr/lib) mounted. All other software,
why used libsystemd(or compat libs), and libgudev run after mount $libdir
(/usr/lib).
I think that it is necessary to remove:
- libsystemd-install-hook
- compat-lib-install-hook
- and even libgudev-install-hook
Needed only libudev-install-hook (for dmsetup, libdevmapper ).
--
Alexey Shabalin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20140224/4b4165a9/attachment.html>
More information about the systemd-devel
mailing list