aboutsummaryrefslogtreecommitdiff
path: root/package/lxc/Config.in
Commit message (Collapse)AuthorAgeFilesLines
* package/lxc: bump to version 3.2.1Gravatar Patrick Havelange2019-11-041-2/+4
| | | | | | | | Some lxc segfaults (in 3.1.0) are fixed in this newer version. New dependency on !UCLIBC as fexecve() is required now. Signed-off-by: Patrick Havelange <patrick.havelange@essensium.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/lxc: security bump to version 3.0.3Gravatar Fabrice Fontaine2018-12-031-1/+3
| | | | | | | | | | | | | | | | | | | This bump also includes the fix for CVE-2018-6556 released in 3.0.2 via commit "CVE 2018-6556: verify netns fd in lxc-user-nic": lxc-user-nic when asked to delete a network interface will unconditionally open a user provided path: https://github.com/lxc/lxc/commit/c1cf54ebf251fdbad1e971679614e81649f1c032 This code path may be used by an unprivileged user to check for the existence of a path which they wouldn't otherwise be able to reach. It may also be used to trigger side effects by causing a (read-only) open of special kernel files (ptmx, proc, sys). Also add a dependency on gcc >= 4.7 (https://github.com/lxc/lxc/issues/2592) Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
* package/l*: fix wrapping of Config.in help textGravatar Adam Duskett2017-07-311-3/+4
| | | | | | | | | | | | | | The check-package script when ran gives warnings on text wrapping on all of these Config files. This patch cleans up all warnings related to the text wrapping for the Config files starting with the letter l in the package directory. The appropriate indentation is: <tab><2 spaces><62 chars> See http://nightly.buildroot.org/#writing-rules-config-in for more information. Signed-off-by: Adam Duskett <aduskett@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* lxc: set libcap as an optional dependencyGravatar Fabrice Fontaine2017-05-201-1/+0
| | | | | Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/l*/Config.in: fix ordering of statementsGravatar Adam Duskett2017-05-011-1/+1
| | | | | | | | | | | | | The check-package script when ran gives warnings on ordering issues on all of these Config files. This patch cleans up all warnings related to the ordering in the Config files for packages starting with the letter l in the package directory. The appropriate ordering is: type, default, depends on, select, help See http://nightly.buildroot.org/#_config_files for more information. Signed-off-by: Adam Duskett <Adamduskett@outlook.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* lxc: update comment about the headers >= 3.0 dependencyGravatar Thomas Petazzoni2016-03-181-1/+1
| | | | | | | | | | | | | | Since commit 604095fe9bea925f34ea05a5d80efbc3e9ba16f2 ("libcap: add patch to fix build issue with old kernel headers"), libcap builds fine with headers < 3.0, so it is no longer the reason why lxc needs headers >= 3.0. However, lxc uses setns(), which is only available since kernel 3.0, so we simply update the comment next to the dependency so that it is accurate. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Revert "lxc: remove dependency on headers >= 3.0"Gravatar Peter Korsgaard2016-03-181-1/+3
| | | | | | | This reverts commit 598d1e53c1a15bb983ed96a19db411bbcdfd97df. [Peter: Seems like I ended up applying the wrong patch :/] Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* lxc: remove dependency on headers >= 3.0Gravatar Thomas Petazzoni2016-03-181-3/+1
| | | | | | | | | | | | | | | | | | | | | | Now that libcap no longer needs kernel headers >= 3.0, we can remove this dependency from lxc. However, building with headers 2.6.32 exhibits a build issue caused by the redefinition of the setns() function. Since setns() is not implemented in the C library, lxc provides its own version. However, for some reason, while the C library doesn't implement setns(), it provides a prototype for it, which is not exactly the same as the one in lxc, causing a build failure. We re-use a solution implemented in gdb to solve the same problem: define in lxc a function called do_setns(), which calls setns() when available, or manually does the system call otherwise. Of course, with old kernels the system call will not be available, so things will fail at runtime, but this was anyway already the behavior of lxc's setns() dummy implementation. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/lxc: enable for CodeSourcery nios2 2015.11 toolchainGravatar Romain Naour2016-03-051-3/+0
| | | | | | | | The CS nios2 2015.11 is based on kernel header 4.2 which must now provide the setns syscall for nios2. Signed-off-by: Romain Naour <romain.naour@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* toolchain-external: CodeSourcery NIOSII: support only one versionGravatar Romain Naour2015-12-181-4/+2
| | | | | | | | | | | | | | See the conclusion about external toolchains during the Buildroot meeting [1]: "In the future, we stick to a single external toolchain version. The Kconfig symbol should not encode the version (avoid legacy handling)" [1] http://elinux.org/index.php?title=Buildroot:DeveloperDaysELCE2015#Report Signed-off-by: Romain Naour <romain.naour@openwide.fr> Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* lxc: mark as not available in BR2_STATIC_LIBS configsGravatar Thomas Petazzoni2015-05-131-2/+5
| | | | | | | | | | | | | | Even though lxc uses the autotools, it does not use libtool to build its libraries, and does it manually. It forces building a shared library. So let's comply with this decision, and mark lxc as not available in BR2_STATIC_LIBS configurations. Fixes: http://autobuild.buildroot.org/results/588/588dc28315a9114374f148bbc64c4ec3d7b4e295/ Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* packages: remove non-IPv6 dependencies and tweaksGravatar Gustavo Zacarias2015-04-221-3/+2
| | | | | | | | Now that IPv6 is mandatory remove package dependencies and conditionals for it. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: remove (non-)lfs dependencies and tweaksGravatar Gustavo Zacarias2015-04-011-3/+2
| | | | | | | | Now that largefile is mandatory removes package dependencies and conditionals. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* packages: all salute the passing of avr32Gravatar Yann E. MORIN2015-02-141-2/+0
| | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: indentation cleanupGravatar Jerzy Grzegorek2014-12-201-1/+1
| | | | | | Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Reviewed-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package/lxc: disable broken toolchains on nios2Gravatar Bernd Kuhls2014-12-031-2/+5
| | | | | | | | | | | | | As discussed with Thomas http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/100998 only the current toolchains are broken: "it's better to blacklist the individual toolchains that are known to be broken, so that if we add another toolchain, we will be able to see if the same bug happens as well or not." Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/libcap: needs headers >= 3.0Gravatar Yann E. MORIN2014-11-161-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | libcap requires XATTR_NAME_CAPS, which was introduced in Linux 2.6.24. However, we have some toolchains, liek the CodeSourcery PowerPC 2011.03, that is missing those defines, even though it uses headers from Linux 2.6.38. Since there is no perfect way to avoid the situation, just require headers >= 3.0 to build libcap. Propagate the new dependency to packages that select libcap. Fixes a lot of build failures, of which: http://autobuild.buildroot.net/results/e90/e909ca48ad2d1c85b19258f65e0c89a2813ac45e/ http://autobuild.buildroot.net/results/23a/23aac9bb1cc48e5974bcf50256a16c67318f9ba2/ http://autobuild.buildroot.net/results/597/597da58cb2fccb92d7883802c60b31264cacad08/ http://autobuild.buildroot.net/results/538/538b23417c68f6c8c0c8c92dfc0e8ed314bac01b/ ... Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Gustavo Zacarias <gustavo@zacarias.com.ar> Cc: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Revert "package/libcap: Fix build error with kernel headers < 3.6"Gravatar Thomas Petazzoni2014-10-281-4/+2
| | | | This reverts commit a759931c9b0cb4337dc30fd35d03ce123271c5a4.
* package/libcap: Fix build error with kernel headers < 3.6Gravatar Bernd Kuhls2014-10-271-2/+4
| | | | | | | | | | | | | | Fixes http://autobuild.buildroot.net/results/cce/cceb1ccacec36fb7ef41bb7cdb13b3014813b599/ XATTR_NAME_CAPS appears in kernel headers since 3.7: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/log/include/uapi/linux/xattr.h?id=v3.7 Before it was an internal define of the kernel: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/include/linux/xattr.h?id=607ca46e97a1b6594b29647d98a32d545c24bdff Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* lxc: bump to version 1.0.4Gravatar Gustavo Zacarias2014-07-041-1/+1
| | | | | | | | | | | Also switch to new homepage and github download, and specify distro variant since host distro != target distro and sample configs for each case aren't useful anyway. It sometimes failed to autodetect because some of the tests can't be executed when cross compiling (happened on gentoo host). Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* lxc: needs setns system call, disable on nios2Gravatar Ezequiel García2014-02-121-0/+2
| | | | | | | Fixes http://autobuild.buildroot.net/results/f59/f592a011321429426be81bd1ecf664ad9a2c0161/ Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* lxc: needs timerfd, disable on avr32Gravatar Peter Korsgaard2013-11-201-0/+2
| | | | | | Fixes http://autobuild.buildroot.net/results/79a/79ad9d7f5a9fb48e7d3210f0aee14638fde8f3e7/ Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* lxc: needs largefile supportGravatar Peter Korsgaard2013-11-201-2/+3
| | | | | | | lxc_checkpoint.c: In function ‘main’: lxc_checkpoint.c:128: error: ‘O_LARGEFILE’ undeclared (first use in this function) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Config.in files: add missing dependencies to toolchain option commentsGravatar Thomas De Schampheleire2013-11-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a package A depends on config option B and toolchain option C, then the comment that is given when C is not fulfilled should also depend on B. For example: config BR2_PACKAGE_A depends on BR2_B depends on BR2_LARGEFILE depends on BR2_WCHAR comment "A needs a toolchain w/ largefile, wchar" depends on !BR2_LARGEFILE || !BR2_WCHAR This comment should actually be: comment "A needs a toolchain w/ largefile, wchar" depends on BR2_B depends on !BR2_LARGEFILE || !BR2_WCHAR or if possible (typically when B is a package config option declared in that same Config.in file): if BR2_B comment "A needs a toolchain w/ largefile, wchar" depends on !BR2_LARGEFILE || !BR2_WCHAR [other config options depending on B] endif Otherwise, the comment would be visible even though the other dependencies are not met. This patch adds such missing dependencies, and changes existing such dependencies from depends on BR2_BASE_DEP && !BR2_TOOLCHAIN_USES_GLIBC to depends on BR2_BASE_DEP depends on !BR2_TOOLCHAIN_USES_GLIBC so that (positive) base dependencies are separate from the (negative) toolchain dependencies. This strategy makes it easier to write such comments (because one can simply copy the base dependency from the actual package config option), but also avoids complex and long boolean expressions. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> (untested) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* lxc: needs mmuGravatar Gustavo Zacarias2013-10-191-0/+1
| | | | | | | | Fixes: http://autobuild.buildroot.net/results/602/60289dae59650847e6d32c7ab3be7973a86a25c7/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Config.in files: unify comments of toolchain option dependenciesGravatar Thomas De Schampheleire2013-10-141-1/+1
| | | | | | | | This patch lines up the comments in Config.in files that clarify which toolchain options the package depends on. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* lxc: new packageGravatar Jérôme Pouiller2013-08-131-0/+14
Linux Containers (LXC), provides the ability to group and isolate of a set of processes in a jail by virtualizing and accounting the kernel resources. It is similar to Linux-Vserver or Openvz. Signed-off-by: Jérôme Pouiller <jezz@sysmic.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>