On Thu, Feb 20, 2014 at 4:48 PM, 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
>

I would recommend using an initramfs which includes the necessary
shared libraries. I'm pretty sure dracut and genkernel-next support
this.

If you roll your own initramfs, this isn't terribly difficult either
-- just use ldd to figure out which files you need, and copy them to
/lib or /lib64 in the intiramfs image.

Reply via email to