openwrt-packages/utils/lxc
Rafał Miłecki 90fef036fe lxc: set RUNTIME_PATH define to the /var/run path
The default runtime directory used by LXC is /run which doesn't exist
in OpenWrt. It causes errors like:

Failed to create lock for foo
lxc-create: foo: tools/lxc_create.c: main: 260 Failed to create lxc container

There has been workaround for that in the lxc-auto.init but it requires
installing "lxc-auto" package. Replacing that "ln -s" workaround with
Makefile specifying RUNTIME_PATH define allows using pure "lxc" in
OpenWrt (without the "lxc-auto").

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2023-05-11 18:23:23 +03:00
..
files lxc: set RUNTIME_PATH define to the /var/run path 2023-05-11 18:23:23 +03:00
patches lxc: update to 5.0.2 2023-04-06 19:45:36 +02:00
Config.in lxc: bump to 4.0.2 2020-05-19 00:19:15 +02:00
Makefile lxc: set RUNTIME_PATH define to the /var/run path 2023-05-11 18:23:23 +03:00