Commit baf6671f by Daniel Lezcano Committed by Daniel Lezcano

change the rootfs mount location and add the README

Previous path was $libdir/lxc, changed to $libdir/lxc/rootfs. Added a README file to be placed in this directory, describing the purpose of this empty directory. Having a file to be installed in this directory makes the Makefile to automatically create the directory at install time. Signed-off-by: 's avatarDaniel Lezcano <dlezcano@fr.ibm.com>
parent b8da590f
...@@ -51,7 +51,7 @@ AC_ARG_WITH([rootfs-path], ...@@ -51,7 +51,7 @@ AC_ARG_WITH([rootfs-path],
[AC_HELP_STRING( [AC_HELP_STRING(
[--with-rootfs-path=dir], [--with-rootfs-path=dir],
[lxc rootfs mount point] [lxc rootfs mount point]
)], [], [with_rootfs_path="${libdir}/lxc"]) )], [], [with_rootfs_path="${libdir}/lxc/rootfs"])
AS_AC_EXPAND(LXC_GENERATE_DATE, "$(date)") AS_AC_EXPAND(LXC_GENERATE_DATE, "$(date)")
AS_AC_EXPAND(LXCPATH, "${with_config_path}") AS_AC_EXPAND(LXCPATH, "${with_config_path}")
...@@ -119,6 +119,8 @@ AC_CONFIG_FILES([ ...@@ -119,6 +119,8 @@ AC_CONFIG_FILES([
doc/common_options.sgml doc/common_options.sgml
doc/see_also.sgml doc/see_also.sgml
doc/rootfs/Makefile
doc/examples/Makefile doc/examples/Makefile
doc/examples/lxc-macvlan.conf doc/examples/lxc-macvlan.conf
doc/examples/lxc-vlan.conf doc/examples/lxc-vlan.conf
......
SUBDIRS = examples SUBDIRS = examples rootfs
DIST_SUBDIRS = examples DIST_SUBDIRS = examples rootfs
EXTRA_DIST = \ EXTRA_DIST = \
FAQ.txt \ FAQ.txt \
......
READMEdir=@LXCROOTFSMOUNT@
README_DATA=README
\ No newline at end of file
This directory must exist, even though no contents are ever placed
here. It is used to temporary mount the rootfs of lxc in a private
mount namespace only visible by the processes running in the
container.
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment