]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
add rootfs mount dir variable to pkg-config
authorDaniel Lezcano <daniel.lezcano@free.fr>
Sun, 3 Oct 2010 21:09:36 +0000 (23:09 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Sun, 3 Oct 2010 21:09:36 +0000 (23:09 +0200)
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@. 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@fr.ibm.com>
lxc.pc.in

index cd513c0156f1caaa3f2987cebd7e440c714007e0..b99354bde04211e5c4dae097a6c127ab2cb5b00a 100644 (file)
--- 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