On Thu, 20 Feb 2014 21:48:01 +0000, Neil Bothwick <n...@digimed.co.uk>
wrote:
> I thought I'd have another look at systemd, so switched profiles, made
> sure I had all the kernel options needed and then did an emerge -uN
> world.
> 
> It seems the systemd profile masks the static and static-libs USE
> flags, which are needed by crytsetup and lvm for my initramfs, which
> mounts / from a LUKS partition. Forcing an unmask of these flags in
> /etc/portage/profile did no good because when those packages are built
> with USE="static" they require a virtual/udev with matching flags,
> which systemd cannot provide.
> 
> Is there a way around this or have a I found a reason for not using
> systemd that doesn't involve name calling? :-O
> 

You are right, systemd dropped support for static libudev (or any other
library for that matter) in version 205.[1] If you want to use systemd
provided libudev for lvm & c. in an initramfs, you'll need to include
the shared library and binaries linked to it.

I believe both dracut and genkernel-next support shared libudev, while
the current versions of genkernel do not (hence why genkernel is masked
on the */systemd profiles). While I have limited experience with
genkernel, dracut has dragged in all the shared libraries I have
required of it.

1:
http://cgit.freedesktop.org/systemd/systemd/commit/?id=5e63ce78b5018ba612e794a610a6f13c5eefade7

-- 
eroen

Attachment: signature.asc
Description: PGP signature

Reply via email to