aboutsummaryrefslogtreecommitdiff
path: root/utils/lxc
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2014-10-23 15:37:59 +0200
committerLuka Perkov <luka.perkov@sartura.hr>2014-10-23 09:41:25 -0400
commit513349c886f93d3a6dad06eb9569e812946fdac5 (patch)
treebbbbfb38a019c946d94dd0df2f133a01cd8549e9 /utils/lxc
parent733ce2c29ff8da9051f6e0daa85745c7dc422fbb (diff)
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 (limited to 'utils/lxc')
-rw-r--r--utils/lxc/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/lxc/Makefile b/utils/lxc/Makefile
index 1315fec23..0f34eeafe 100644
--- 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