On Thu, 20 Feb 2014 16:59:39 -0500, Mike Gilbert wrote:

> > 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.

> 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.

That was the answer. I knocked up a script that ldd'd the files included
in the initramfs and added them to its config file. Thanks.


-- 
Neil Bothwick

WinErr 006: Malicious error - Desqview found on drive

Attachment: signature.asc
Description: PGP signature

Reply via email to