lxc: Use more FSH compliant /srv/lxc instead of new root dir
authorMichal Hrusecky <redacted>
Mon, 23 May 2016 14:07:43 +0000 (16:07 +0200)
committerMichal Hrusecky <redacted>
Mon, 30 May 2016 07:04:26 +0000 (09:04 +0200)
Normally LXC uses /var/lib, but due to hack OpenWRT employs this is not an
option. But instead of introducing new top-level directory, FSH compatible /srv
can be used.

Signed-off-by: Michal Hrusecky <redacted>
utils/lxc/Makefile
utils/lxc/files/lxc.conf

index a6935e03c1d764894481246c3cab42bed9ffe555..0df1460fe31c26d74d27b0cd748d9168c4892f1e 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=lxc
 PKG_VERSION:=1.1.5
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_LICENSE:=LGPL-2.1+ BSD-2-Clause GPL-2.0
 PKG_MAINTAINER:=Luka Perkov <luka@openwrt.org>
@@ -199,7 +199,7 @@ define Package/lxc-common/install
                ./files/lxc.conf \
                $(1)/etc/lxc/lxc.conf
 
-       $(INSTALL_DIR) $(1)/lxc/
+       $(INSTALL_DIR) $(1)/srv/lxc/
 endef
 
 define Package/lxc-hooks/install
index 3b77baa915424118e1d3c2f0791c3e70c5606e86..77841cc25a8d236e2e449fb1dc8a96b010443ebc 100644 (file)
@@ -1 +1 @@
-lxc.lxcpath = /lxc
+lxc.lxcpath = /srv/lxc
git clone https://git.99rst.org/PROJECT