mirror of
https://github.com/openwrt/packages.git
synced 2026-01-10 11:44:48 +00:00
lxc: bump to 2.1.0
Bump LXC package from 1.1.5 to 2.1.0. Version 2.x includes many improvements and optimizations. https://linuxcontainers.org/lxc/news/ Some tools like lxc-top are rewritten in C and are no longer broken and dependent on lua. Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
This commit is contained in:
11
utils/lxc/patches/003-compile.patch
Normal file
11
utils/lxc/patches/003-compile.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- a/src/lxc/confile_utils.c
|
||||
+++ b/src/lxc/confile_utils.c
|
||||
@@ -690,7 +690,7 @@ bool parse_limit_value(const char **value, unsigned long *res)
|
||||
char *endptr = NULL;
|
||||
|
||||
if (strncmp(*value, "unlimited", sizeof("unlimited") - 1) == 0) {
|
||||
- *res = RLIM_INFINITY;
|
||||
+ *res = (unsigned long)RLIM_INFINITY;
|
||||
*value += sizeof("unlimited") - 1;
|
||||
return true;
|
||||
}
|
||||
Reference in New Issue
Block a user