From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B4094138E20 for ; Fri, 21 Feb 2014 01:01:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F381DE0ACC; Fri, 21 Feb 2014 01:01:36 +0000 (UTC) Received: from mail.digimed.co.uk (82-69-83-178.dsl.in-addr.zen.co.uk [82.69.83.178]) by pigeon.gentoo.org (Postfix) with ESMTP id DDE6CE0AA6 for ; Fri, 21 Feb 2014 01:01:35 +0000 (UTC) Received: from digimed.co.uk (shooty.digimed.co.uk [192.168.1.8]) by mail.digimed.co.uk (Postfix) with ESMTPA id 3E8D423BB4 for ; Fri, 21 Feb 2014 01:01:35 +0000 (GMT) Date: Fri, 21 Feb 2014 01:01:27 +0000 From: Neil Bothwick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] systemd and USE="static" Message-ID: <20140221010127.7b54b25f@digimed.co.uk> In-Reply-To: References: <20140220214801.66449e69@digimed.co.uk> Organization: Digital Media Production X-Mailer: Claws Mail 3.9.3-26-g37df4f (GTK+ 2.24.22; x86_64-pc-linux-gnu) X-GPG-Fingerprint: 7260 0F33 97EC 2F1E 7667 FE37 BA6E 1A97 4375 1903 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/iKOMcPjwKmOBzYTULlp3_tQ"; protocol="application/pgp-signature" X-Archives-Salt: b39acb19-9cc2-47ab-887d-b14ffd7362b7 X-Archives-Hash: 3973e529fb36201b406789939b00e1d9 --Sig_/iKOMcPjwKmOBzYTULlp3_tQ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable 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=3D"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. >=20 > 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. --=20 Neil Bothwick WinErr 006: Malicious error - Desqview found on drive --Sig_/iKOMcPjwKmOBzYTULlp3_tQ Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iEYEARECAAYFAlMGpW4ACgkQum4al0N1GQMGvgCeOUlzt509/apcGlSfeD48Uw/L hTYAn2tAcU5tstiK8ZILzoT0E5fkHqc/ =i8lA -----END PGP SIGNATURE----- --Sig_/iKOMcPjwKmOBzYTULlp3_tQ--