From 0708c4171ee5c963ebed4e92065ed0e7fa25e525 Mon Sep 17 00:00:00 2001 From: Michal Hrusecky Date: Mon, 23 May 2016 16:07:43 +0200 Subject: [PATCH] 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 --- utils/lxc/Makefile | 4 ++-- utils/lxc/files/lxc.conf | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/lxc/Makefile b/utils/lxc/Makefile index a6935e03c..0df1460fe 100644 --- a/utils/lxc/Makefile +++ b/utils/lxc/Makefile @@ -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 @@ -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 diff --git a/utils/lxc/files/lxc.conf b/utils/lxc/files/lxc.conf index 3b77baa91..77841cc25 100644 --- a/utils/lxc/files/lxc.conf +++ b/utils/lxc/files/lxc.conf @@ -1 +1 @@ -lxc.lxcpath = /lxc +lxc.lxcpath = /srv/lxc