lxc: create /lxc directory by default
authorLuka Perkov <luka@openwrt.org>
Thu, 23 Oct 2014 13:37:59 +0000 (15:37 +0200)
committerLuka Perkov <luka.perkov@sartura.hr>
Thu, 23 Oct 2014 13:41:25 +0000 (09:41 -0400)
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>
utils/lxc/Makefile

index 1315fec23e67e38e9aa1293e4b36bce4dde8850d..0f34eeafe37e7d83d36aa6914e91d6d43b7894c4 100644 (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