lxc: create /lxc directory by default

The containers are stored in /lxc rather then in /var/lib/lxc. The latter is
not suitable for OpenWrt.

Signed-off-by: Luka Perkov <luka@openwrt.org>
This commit is contained in:
Luka Perkov 2014-10-23 15:37:59 +02:00 committed by Luka Perkov
parent 733ce2c29f
commit 513349c886
1 changed files with 2 additions and 0 deletions

View File

@ -163,6 +163,8 @@ define Package/lxc-common/install
$(CP) \
$(PKG_INSTALL_DIR)/etc/lxc/default.conf \
$(1)/etc/lxc/lxc.conf
$(INSTALL_DIR) $(1)/lxc/
endef
define Package/lxc-hooks/install