Commit Graph

29 Commits

Author SHA1 Message Date
John Audia 11cac71248 lxc: update to 5.0.2
Bump to latest upstream release.

Removed upstreamed patches:
	001-build-detect-where-struct-mount_attr-is-declared.patch[1]
	002-build-detect-sys-pidfd.h-availability.patch[2]
	003-build-check-for-FS_CONFIG_-header-symbol-in-sys-moun.patch[3]
	011-tree-wide-wipe-direct-or-indirect-linux-mount.h-incl.patch[4]
	012-tree-wide-use-struct-clone_args-directly.patch[5]
	013-tree-wide-use-struct-open_how-directly.patch[6]

1. b7b269680f
2. e510d6bd87
3. 02f4bd00f5
4. 497479ea3b
5. c9bca33263
6. d1dfce9c59

Build system: x86_64
Build-tested: bcm2711/RPi4B
Run-tested: bcm2711/RPi4B

Signed-off-by: John Audia <therealgraysky@proton.me>
2023-04-06 19:45:36 +02:00
Hauke Mehrtens c2edafb66f lxc: Fix compilation with glibc 2.36
Backport patches from upstream lxc master to fix compilation against
glibc 2.36.

The changes were added in these pull requests:
https://github.com/lxc/lxc/pull/4179
https://github.com/lxc/lxc/pull/4181

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2022-12-22 16:27:54 -08:00
John Audia d957a2293b lxc: update to 5.0.1
Bump to latest and update Makefile to use meson which is upstream's standard.
Deleted unneeded 010-Remove-distro-check.patch (reference to configure).

Build system: x86_64
Build-tested: bcm2711/RPi4B
Run-tested: bcm2711/RPi4B

Signed-off-by: John Audia <therealgraysky@proton.me>
2022-09-09 10:25:43 -07:00
John Audia 115bf07f6c lxc: update to 4.10.12
Bump to latest upstream release and rebase:
  010-Remove-distro-check.patch
  025-remove-unsupported-option.patch

After updating ran `make package/lxc/refresh` to clean dirty patches

Build system: x86_64
Build-tested: bcm2711/RPi4B
Run-tested: bcm2711/RPi4B

Signed-off-by: John Audia <graysky@archlinux.us>
2022-02-07 17:43:50 +01:00
John Audia 049cf1e1b0 lxc: remove legacy cgroups from common.conf
I am unaware of any kernel currently provided that retains cgroup v1 support.
This patch removes these lines in /usr/share/lxc/config/common.conf to allow
for error free usage.

Providing common.conf as-is will result in failure to start. One solution is to
comment out the legacy lines.[1] This requires users to either provide a custom
version of this file on their builds or to manually edit it with each update.

Since many do not build their own, the first option is not available to them.
Manually editing the file with each update will cause a failure to start
containers set to auto-start upon rebooting into the update.

1. https://forum.openwrt.org/t/openwrt-arm64-quick-lxc-howto-guide-lms-in-debian-system-in-lxc-container/99835

Signed-off-by: John Audia <graysky@archlinux.us>
2021-09-18 15:04:46 -07:00
Rosen Penev 3df43e2f66 lxc: update to 4.0.10
Remove getline patch. It seems to be for uClibc, which is no longer in
the tree.

Remove commands patch. Issue was fixed upstream. Same with the tests
patch.

Remove gpg patch. It's an upstream backport.

Refreshed others.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2021-08-28 16:47:22 -07:00
Josef Schlehofer 70e06afd07
lxc: add patch to switch GPG server
By default, there was used sks-keyservers.net pool, which has invalid
SSL certificate and they also announced that their service is deprecate
and no longer maintained.

Use the same GPG server as LXC is using by default in the newer
releases.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2021-07-10 18:16:52 +02:00
Eneas U de Queiroz 470176905d
lxc: fix build without seccomp if libseccomp built
This fixes compiling lxc without seccomp support if libseccomp is
already installed to the staging dir.  Patches were applied upstream.

Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
2021-02-25 22:51:08 -03:00
Rosen Penev cbe4b726da
lxc: update to 4.0.5
Refreshed patches.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-11-19 16:16:43 -08:00
Paul Spooren 30ea917518 treewide: replace `which` with `command -v`
Fix shellcheck SC2230
> which is non-standard. Use builtin 'command -v' instead.

Once applied to everything concerning OpenWrt we can disable the busybox
feature `which` and save 3.8kB.

Signed-off-by: Paul Spooren <mail@aparcar.org>
2020-08-09 13:58:14 -10:00
Robert Marko 9f43594e3a lxc: bump to 4.0.2
Signed-off-by: Robert Marko <robert.marko@sartura.hr>
Signed-off-by: Marijan Svalina <marijan.svalina@sartura.hr>
Signed-off-by: Luka Perkov <luka.perkov@sartura.hr>
2020-05-19 00:19:15 +02:00
Rosen Penev 189a170038 lxc: Backport uClibc patch
Fixes compilation

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-05-15 17:31:07 -07:00
Rafał Miłecki 13d57a5e9f lxc: nl: avoid NULL pointer dereference
This backports upstream fix from the master branch.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2018-07-29 21:17:08 +02:00
Marko Ratkaj 792c5713ad lxc: bump to 2.1.1
This is the first bugfix release for LXC 2.1. Full list of changes can
be found here:

https://linuxcontainers.org/lxc/news/

Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
2017-10-23 15:31:21 +02:00
Marko Ratkaj 9672b88d2a 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>
2017-10-19 17:09:25 +02:00
Mak Krnic fdacf2cd20 lxc: update to version 1.1.5 2016-02-10 11:39:59 +01:00
Marko Ratkaj 00e774f374 lxc: bump version to 1.1.3
Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
2015-09-27 23:44:26 +02:00
Daniel Golle c8a6990932 lxc: fix build on mpc85xx
Initialize ret to 0 so compiler no longer complains about
monitor.c: In function 'lxc_monitor_open':
monitor.c:212:5: error: 'ret' may be used uninitialized in this function [-Werror=maybe-uninitialized]

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-06-09 12:03:20 +02:00
Alex Samorukov 274b985123 LXC: Update to 1.1.2 and remove patch merged by upstream
Signed-off-by: Alex Samorukov <samm@os2.kiev.ua>
2015-04-21 21:50:11 +02:00
Mario Halambek 268dd7c603 lxc: bump to 1.1.1
Signed-off-by: Mario Halambek <mario.halambek@sartura.hr>
2015-03-25 18:50:44 +01:00
Marko Ratkaj 64a3a4840e lxc: update to 1.1.0
Signed-off-by: Marko Ratkaj <marko.ratkaj@sartura.hr>
Signed-off-by: Luka Perkov <luka@openwrt.org>
2015-02-08 02:35:09 +01:00
Luka Perkov dfd4daf633 lxc: correctly install configuration files
Signed-off-by: Luka Perkov <luka@openwrt.org>
2014-11-17 21:48:36 +01:00
Luka Perkov f0cf42ca7e lxc: move patch
Signed-off-by: Luka Perkov <luka@openwrt.org>
2014-10-30 06:25:38 -04:00
Luka Perkov 2e0a7026d9 lxc: organize patches
Signed-off-by: Luka Perkov <luka@openwrt.org>
2014-10-29 03:43:09 -04:00
Luka Perkov 2c52da0cf2 lxc: fix lxc-destroy
Signed-off-by: Luka Perkov <luka@openwrt.org>
2014-10-29 03:41:12 -04:00
Petar Koretic 733ce2c29f lxc: patches: add openwrt common config
Signed-off-by: Petar Koretic <petar.koretic@sartura.hr>
2014-10-23 09:30:33 -04:00
Petar Koretic 9168c95173 lxc: patches: remove unsupported option
Signed-off-by: Petar Koretic <petar.koretic@sartura.hr>
2014-10-23 04:07:10 -04:00
Luka Perkov 64a9489651 lxc: set default lxcpath to /lxc
Signed-off-by: Luka Perkov <luka@openwrt.org>
2014-10-21 08:17:56 -04:00
Luka Perkov 36fe1d34e6 lxc: move package from old packages feed
Signed-off-by: Luka Perkov <luka@openwrt.org>
2014-08-08 17:21:37 +02:00