[lxc-devel] [PATCH 7/8] add rootfs mount dir variable to pkg-config

Daniel Lezcano daniel.lezcano at free.fr
Sun Oct 3 21:46:36 UTC 2010


In the case we use an image for rootfs, if we need to do extra mount
from the host to the rootfs, we have to specify the place where the
image is mounted. This value is configured by the user with the
lxc.rootfs.mount otherwise defaulting to @LXCROOTFSMOUNT at . Let's
export this variable to pkg-config, so the user can use it to build
a correct path to the rootfs.

Signed-off-by: Daniel Lezcano <dlezcano at fr.ibm.com>
---
 lxc.pc.in |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/lxc.pc.in b/lxc.pc.in
index cd513c0..b99354b 100644
--- a/lxc.pc.in
+++ b/lxc.pc.in
@@ -2,6 +2,7 @@ bindir=@BINDIR@
 libdir=@LIBDIR@
 localstatedir=@LXCPATH@
 includedir=@INCLUDEDIR@
+rootfsmountdir=@LXCROOTFSMOUNT@
 
 Name: lxc
 Description: linux container tools
-- 
1.7.0.4





More information about the lxc-devel mailing list