On 03/08/2014 01:04 AM, John Burrell wrote:
>>>
>>
>> systemd version of lfs has systemd-208. 210 is in terrible shape.
>> systemd-209 merged those libraries into one library - libsystemd.so and
>> all apps now link against it. --enable-compat-libs enable those
>> libraries and their pkg-config files, but those libraries shouldn't be
>> linked against, they should be used for transitions. I had a patch
>> somewhere that lets me install pkg-config files without building the
>> compat libraries since they're useless to me - even when using
>> pkg-config --libs libsystemd-login you get -lsystemd anyways. systemd
>> devs didn't accept the patch that will let you install pkg-config files
>> without compat-libs though.
> 
> I noticed that Arch Linux uses version 210 and they have 15 (yes, fifteen) 
> patches to apply.
> 
> Can I try your patch please?
> 

Archlinux also enables compat-libs, but as I said, they're useless on
LFS since you don't actually link against them - they're necessary if
you have programs linked to it and are going through a transition to the
new lib.

http://www.linuxfromscratch.org/~krejzi/systemd-compat.patch

You also need to rm units/systemd-udevd*.service and
rules/99-systemd.rules because they contain hardcoded paths which point
to /usr/lib/systemd instead of /lib/systemd. Removing them will cause
them to be regenerated with correct paths.

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to