Commit Graph

35 Commits

Author SHA1 Message Date
Josef Schlehofer 2f01c25c71
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 16:33:22 +02:00
Rosen Penev a1eccf2237
lxc: Backport uClibc patch
Fixes compilation

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry-picked from 189a170038)
2019-08-13 15:18:17 -07:00
Daniel F. Dickinson d3e54adcdb
lxc: Disable use of unwanted libraries explicity
Otherwise one gets a failure if the libraries (e.g. Python
header file) exist in the build system.  Worse in some cases
is host headers being found if one doesn't specifically
disable a library search in autotools.  It is especially
important that Python is disabled by default.

Signed-off-by: Daniel F. Dickinson <cshored@thecshore.com>
(cherry-picked from cc039d801e)
2019-08-13 15:17:30 -07:00
Rafał Miłecki 87b3ea5c85 lxc: nl: avoid NULL pointer dereference
This backports upstream fix from the master branch.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit 13d57a5e9f)
(cherry picked from commit 6e1104cc6d)
2018-07-29 21:19:56 +02:00
Rafał Miłecki c40a0ca3a3 lxc: add lxc-unprivileged helper package for unprivileged containers
LXC requires newuidmap and newguidmap with SUID to run unprivileged
containers. This package should help users make sure they are available.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
2017-12-12 13:02:15 +01:00
Karl Vogel 8b92595621 utils/lxc: disable gnutls during configure
Previous versions of LXC never compiled in gnutls support due to a bug in the
configure script. As other TLS implementations are not supported and the feature
was disabled in previous builds, disable it during configure.

See https://github.com/lxc/lxc/pull/1360 for details regarding the bug in the
autoconf of the previous versions.

Signed-off-by: Karl Vogel <karl.vogel@gmail.com>
2017-10-26 11:29:43 +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
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Michal Hrusecky 0708c4171e
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 <michal.hrusecky@nic.cz>
2016-05-30 09:04:26 +02:00
Daniel Dickinson 403079aff8 utils/lxc: lxc-create templates depend on flock
Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
2016-03-12 19:00:18 -05: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 180d34f70b lxc: allow building with seccomp
seccomp was unconditionally disabled before.
Also a non-escaped newline in a place where it should be escaped
made the build process skip some CONFIGURE_ARGS.
Fix CONFIGURE_ARGS and add an option to allow building with seccomp.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2015-06-04 14:43:21 +02:00
Alex Samorukov 19d236187e Add lxc-device applet to the utils/lxc.
lxc-device manages devices in running container.

Signed-off-by: Alex Samorukov <samm@os2.kiev.ua>
2015-05-27 23:35:11 +02:00
Alex Samorukov 552f24a63f Add lxc-device applet
Signed-off-by: Alex Samorukov <samm@os2.kiev.ua>
2015-05-13 18:10:59 +00: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
Steven Barth efc8978b91 Merge pull request #878 from jow-/lxc-autoconf-fix
lxc: use generic autoreconf fixup
2015-03-02 07:58:37 +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
Jo-Philipp Wich 8baab92562 lxc: use generic autoreconf fixup
Use the generic autoreconf facility to pickup proper variants of
autoconf, automake and libtool.

Remove the unneeded Build/Configure override.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-02-08 00:12:26 +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 e044d612a0 lxc: minor dependencies tweak
Signed-off-by: Luka Perkov <luka@openwrt.org>
2014-11-13 14:59:44 +01:00
Luka Perkov b76bb76071 lxc: update dependencies
Signed-off-by: Luka Perkov <luka@openwrt.org>
2014-11-11 11:49:38 +01:00
Luka Perkov 77949c83bb lxc: add spdx license info
Signed-off-by: Luka Perkov <luka@openwrt.org>
2014-11-11 11:15:23 +01:00
Luka Perkov 513349c886 lxc: create /lxc directory by default
The containers are stored in /lxc rather then in /var/lib/lxc. The latter is
not suitable for OpenWrt.

Signed-off-by: Luka Perkov <luka@openwrt.org>
2014-10-23 09:41:25 -04:00
Petar Koretic ad224e5355 lxc: fix hooks installation on 1.0.6
Signed-off-by: Petar Koretic <petar.koretic@sartura.hr>
2014-10-23 04:11:00 -04:00
Petar Koretic 6bb15ba13c lxc: add config templates package
Signed-off-by: Petar Koretic <petar.koretic@sartura.hr>
2014-10-23 04:06:16 -04:00
Petar Koretic dafecb2fef lxc: enable template installation
Signed-off-by: Petar Koretic <petar.koretic@sartura.hr>
2014-10-23 04:05:35 -04:00
Luka Perkov 97a8547586 lxc: lxc-ls depends on lxc-config
Signed-off-by: Luka Perkov <luka@openwrt.org>
2014-10-21 10:34:46 -04:00
Luka Perkov 151c7cc386 lxc: bump to 1.0.6
Signed-off-by: Luka Perkov <luka@openwrt.org>
2014-10-21 10:09:38 -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 952912aea1 lxc: add missing lxc-init package
Signed-off-by: Luka Perkov <luka@openwrt.org>
2014-10-21 07:55:12 -04:00
Luka Perkov 1614bed10b lxc: add configuration section
Signed-off-by: Luka Perkov <luka@openwrt.org>
2014-09-11 01:02:04 +02: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