mirror of
https://github.com/novatiq/packages.git
synced 2026-04-30 15:38:40 +01:00
lxc: Use more FSH compliant /srv/lxc instead of new root dir
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 <michal.hrusecky@nic.cz>
This commit is contained in:
+2
-2
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
|
|||||||
|
|
||||||
PKG_NAME:=lxc
|
PKG_NAME:=lxc
|
||||||
PKG_VERSION:=1.1.5
|
PKG_VERSION:=1.1.5
|
||||||
PKG_RELEASE:=2
|
PKG_RELEASE:=3
|
||||||
|
|
||||||
PKG_LICENSE:=LGPL-2.1+ BSD-2-Clause GPL-2.0
|
PKG_LICENSE:=LGPL-2.1+ BSD-2-Clause GPL-2.0
|
||||||
PKG_MAINTAINER:=Luka Perkov <luka@openwrt.org>
|
PKG_MAINTAINER:=Luka Perkov <luka@openwrt.org>
|
||||||
@@ -199,7 +199,7 @@ define Package/lxc-common/install
|
|||||||
./files/lxc.conf \
|
./files/lxc.conf \
|
||||||
$(1)/etc/lxc/lxc.conf
|
$(1)/etc/lxc/lxc.conf
|
||||||
|
|
||||||
$(INSTALL_DIR) $(1)/lxc/
|
$(INSTALL_DIR) $(1)/srv/lxc/
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define Package/lxc-hooks/install
|
define Package/lxc-hooks/install
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
lxc.lxcpath = /lxc
|
lxc.lxcpath = /srv/lxc
|
||||||
|
|||||||
Reference in New Issue
Block a user