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,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