diff --git a/configure.ac b/configure.ac index 83e01d5e5..8f3f633b0 100644 --- a/configure.ac +++ b/configure.ac @@ -51,7 +51,7 @@ AC_ARG_WITH([rootfs-path], [AC_HELP_STRING( [--with-rootfs-path=dir], [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(LXCPATH, "${with_config_path}") @@ -119,6 +119,8 @@ AC_CONFIG_FILES([ doc/common_options.sgml doc/see_also.sgml + doc/rootfs/Makefile + doc/examples/Makefile doc/examples/lxc-macvlan.conf doc/examples/lxc-vlan.conf diff --git a/doc/Makefile.am b/doc/Makefile.am index 54e5f2217..2ac522590 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,5 +1,5 @@ -SUBDIRS = examples -DIST_SUBDIRS = examples +SUBDIRS = examples rootfs +DIST_SUBDIRS = examples rootfs EXTRA_DIST = \ FAQ.txt \ diff --git a/doc/rootfs/Makefile.am b/doc/rootfs/Makefile.am new file mode 100644 index 000000000..98fb0e07a --- /dev/null +++ b/doc/rootfs/Makefile.am @@ -0,0 +1,3 @@ +READMEdir=@LXCROOTFSMOUNT@ + +README_DATA=README \ No newline at end of file diff --git a/doc/rootfs/README b/doc/rootfs/README new file mode 100644 index 000000000..2d94ec13a --- /dev/null +++ b/doc/rootfs/README @@ -0,0 +1,4 @@ +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