mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-27 09:48:32 +00:00
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: Daniel Lezcano <dlezcano@fr.ibm.com>
This commit is contained in:
parent
b8da590f0e
commit
baf6671fd3
@ -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
|
||||
|
@ -1,5 +1,5 @@
|
||||
SUBDIRS = examples
|
||||
DIST_SUBDIRS = examples
|
||||
SUBDIRS = examples rootfs
|
||||
DIST_SUBDIRS = examples rootfs
|
||||
|
||||
EXTRA_DIST = \
|
||||
FAQ.txt \
|
||||
|
3
doc/rootfs/Makefile.am
Normal file
3
doc/rootfs/Makefile.am
Normal file
@ -0,0 +1,3 @@
|
||||
READMEdir=@LXCROOTFSMOUNT@
|
||||
|
||||
README_DATA=README
|
4
doc/rootfs/README
Normal file
4
doc/rootfs/README
Normal file
@ -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.
|
Loading…
Reference in New Issue
Block a user