From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sasha Levin Subject: Re: [PATCH] kvm tools: Link ld.so.conf to the file on the host Date: Tue, 06 Dec 2011 15:37:05 +0200 Message-ID: <1323178625.8489.2.camel@lappy> References: <1323176483-8924-1-git-send-email-levinsasha928@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: mingo@elte.hu, gorcunov@gmail.com, asias.hejun@gmail.com, kvm@vger.kernel.org To: Pekka Enberg Return-path: Received: from mail-ee0-f46.google.com ([74.125.83.46]:40506 "EHLO mail-ee0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933131Ab1LFNhY (ORCPT ); Tue, 6 Dec 2011 08:37:24 -0500 Received: by eeaq14 with SMTP id q14so2878508eea.19 for ; Tue, 06 Dec 2011 05:37:23 -0800 (PST) In-Reply-To: Sender: kvm-owner@vger.kernel.org List-ID: On Tue, 2011-12-06 at 15:24 +0200, Pekka Enberg wrote: > On Tue, 6 Dec 2011, Sasha Levin wrote: > > This enables the custom rootfs to run executables which have dylibs located > > in non standard paths by taking these settings from the host. > > > > Signed-off-by: Sasha Levin > > --- > > tools/kvm/builtin-setup.c | 1 + > > 1 files changed, 1 insertions(+), 0 deletions(-) > > > > diff --git a/tools/kvm/builtin-setup.c b/tools/kvm/builtin-setup.c > > index fb8a1b3..ecdf76b 100644 > > --- a/tools/kvm/builtin-setup.c > > +++ b/tools/kvm/builtin-setup.c > > @@ -120,6 +120,7 @@ static const char *guestfs_symlinks[] = { > > "/lib64", > > "/sbin", > > "/usr", > > + "/etc/ld.so.conf", > > }; > > > > static int copy_init(const char *guestfs_name) > > This doesn't fix the issue I have with > > kvm tools: Split custom rootfs init into two stages > > i.e. I still see: > > ./kvm run tests/pit/tick.bin > Fatal: Failed linking stage 2 of init. > make: *** [check] Error 128 Thats unrelated, this patch is supposed to get gnome apps to work in the custom rootfs :) -- Sasha.