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:
parent
733ce2c29f
commit
513349c886
1 changed files with 2 additions and 0 deletions
|
@ -163,6 +163,8 @@ define Package/lxc-common/install
|
||||||
$(CP) \
|
$(CP) \
|
||||||
$(PKG_INSTALL_DIR)/etc/lxc/default.conf \
|
$(PKG_INSTALL_DIR)/etc/lxc/default.conf \
|
||||||
$(1)/etc/lxc/lxc.conf
|
$(1)/etc/lxc/lxc.conf
|
||||||
|
|
||||||
|
$(INSTALL_DIR) $(1)/lxc/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/lxc-hooks/install
|
define Package/lxc-hooks/install
|
||||||
|
|
Loading…
Reference in a new issue