commit 513349c886f93d3a6dad06eb9569e812946fdac5
parent 733ce2c29ff8da9051f6e0daa85745c7dc422fbb
Author: Luka Perkov <luka@openwrt.org>
Date: Thu, 23 Oct 2014 15:37:59 +0200
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>
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/utils/lxc/Makefile b/utils/lxc/Makefile
@@ -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