From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sasha Levin Subject: [PATCH] kvm tools: Link ld.so.conf to the file on the host Date: Tue, 6 Dec 2011 15:01:23 +0200 Message-ID: <1323176483-8924-1-git-send-email-levinsasha928@gmail.com> Cc: mingo@elte.hu, gorcunov@gmail.com, asias.hejun@gmail.com, kvm@vger.kernel.org, Sasha Levin To: penberg@kernel.org Return-path: Received: from mail-ee0-f46.google.com ([74.125.83.46]:59589 "EHLO mail-ee0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751903Ab1LFNBp (ORCPT ); Tue, 6 Dec 2011 08:01:45 -0500 Received: by eeaq14 with SMTP id q14so2846833eea.19 for ; Tue, 06 Dec 2011 05:01:43 -0800 (PST) Sender: kvm-owner@vger.kernel.org List-ID: 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) -- 1.7.8