浏览代码

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>
Luka Perkov 10 年前
父节点
当前提交
513349c886
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      utils/lxc/Makefile

+ 2
- 0
utils/lxc/Makefile 查看文件

@@ -163,6 +163,8 @@ define Package/lxc-common/install
163 163
 	$(CP) \
164 164
 		$(PKG_INSTALL_DIR)/etc/lxc/default.conf \
165 165
 		$(1)/etc/lxc/lxc.conf
166
+
167
+	$(INSTALL_DIR) $(1)/lxc/
166 168
 endef
167 169
 
168 170
 define Package/lxc-hooks/install