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 @lxcrootfsmo...@. 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 <dlezc...@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 @@ bind...@bindir@
 libd...@libdir@
 localstated...@lxcpath@
 included...@includedir@
+rootfsmountd...@lxcrootfsmount@
 
 Name: lxc
 Description: linux container tools
-- 
1.7.0.4


------------------------------------------------------------------------------
Virtualization is moving to the mainstream and overtaking non-virtualized
environment for deploying applications. Does it make network security 
easier or more difficult to achieve? Read this whitepaper to separate the 
two and get a better understanding.
http://p.sf.net/sfu/hp-phase2-d2d
_______________________________________________
Lxc-devel mailing list
Lxc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-devel

Reply via email to