mirror of
https://github.com/openwrt/packages.git
synced 2025-12-26 11:16:31 +04:00
lxc: correctly install configuration files
Signed-off-by: Luka Perkov <luka@openwrt.org>
This commit is contained in:
@@ -165,6 +165,11 @@ define Package/lxc-common/install
|
||||
$(INSTALL_DIR) $(1)/etc/lxc/
|
||||
$(CP) \
|
||||
$(PKG_INSTALL_DIR)/etc/lxc/default.conf \
|
||||
$(1)/etc/lxc/default.conf
|
||||
|
||||
$(INSTALL_DIR) $(1)/etc/lxc/
|
||||
$(CP) \
|
||||
./files/lxc.conf \
|
||||
$(1)/etc/lxc/lxc.conf
|
||||
|
||||
$(INSTALL_DIR) $(1)/lxc/
|
||||
|
||||
1
utils/lxc/files/lxc.conf
Normal file
1
utils/lxc/files/lxc.conf
Normal file
@@ -0,0 +1 @@
|
||||
lxc.lxcpath = /lxc
|
||||
@@ -1,5 +0,0 @@
|
||||
--- a/config/etc/default.conf.unknown
|
||||
+++ b/config/etc/default.conf.unknown
|
||||
@@ -1 +1,2 @@
|
||||
+lxc.lxcpath = /lxc
|
||||
lxc.network.type = empty
|
||||
Reference in New Issue
Block a user