[tip:tools/kvm] kvm tools: Link ld.so.conf to the file on the host

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Commit-ID:  5133ddab1694983178cc5939a13e5a6e08624a89
Gitweb:     http://git.kernel.org/tip/5133ddab1694983178cc5939a13e5a6e08624a89
Author:     Sasha Levin <levinsasha928@xxxxxxxxx>
AuthorDate: Tue, 6 Dec 2011 15:01:23 +0200
Committer:  Pekka Enberg <penberg@xxxxxxxxxx>
CommitDate: Tue, 6 Dec 2011 15:52:27 +0200

kvm tools: Link ld.so.conf to the file on the host

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 <levinsasha928@xxxxxxxxx>
Signed-off-by: Pekka Enberg <penberg@xxxxxxxxxx>
---
 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)
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Stable Commits]     [Linux Stable Kernel]     [Linux Kernel]     [Linux USB Devel]     [Linux Video &Media]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux