Browse Source

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 years ago
parent
commit
513349c886
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      utils/lxc/Makefile

+ 2
- 0
utils/lxc/Makefile View File

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