<feed xmlns='http://www.w3.org/2005/Atom'>
<title>buildroot/package/lxc, branch 2016.08</title>
<subtitle>OpenPOWER buildroot sources</subtitle>
<id>https://git.raptorcs.com/git/buildroot/atom?h=2016.08</id>
<link rel='self' href='https://git.raptorcs.com/git/buildroot/atom?h=2016.08'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/'/>
<updated>2016-05-24T18:50:06+00:00</updated>
<entry>
<title>package/lxc: add patch to fix musl build</title>
<updated>2016-05-24T18:50:06+00:00</updated>
<author>
<name>Jörg Krause</name>
<email>joerg.krause@embedded.rocks</email>
</author>
<published>2016-05-20T05:15:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=953a85439cb39345676cdce234de070475344783'/>
<id>urn:sha1:953a85439cb39345676cdce234de070475344783</id>
<content type='text'>
Add a patch to fix a build issue with the musl C library.

struct in6_addr is both defined in the C library header &lt;netinet/in.h&gt; and the
Linux kernel header &lt;linux/in6.h&gt;.

lxc_user_nic.c includes both &lt;netinet/in.h&gt; and &lt;linux/if_bridge.h&gt;. The later
one includes &lt;linux/in6.h&gt;.

This breaks build with the musl libc:
  error: redefinition of ‘struct in6_addr’

As lxc_user_nic.c does not use any references from &lt;linux/if_bridge.h&gt; it is
safe to remove this header.

Fixes:
http://autobuild.buildroot.net/results/f32/f321823be6b477be7dc55393e563a3a61794265d/
http://autobuild.buildroot.net/results/8ab/8ab2dc8e0634fbfb582db94cdf94cee5712711f9/
http://autobuild.buildroot.net/results/e27/e27d637b1bb7278ae30d86a72a2d88432d805d2c/
.. and more.

Upstream status: Pending
https://github.com/lxc/lxc/pull/1029

Signed-off-by: Jörg Krause &lt;joerg.krause@embedded.rocks&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>lxc: update comment about the headers &gt;= 3.0 dependency</title>
<updated>2016-03-18T21:25:23+00:00</updated>
<author>
<name>Thomas Petazzoni</name>
<email>thomas.petazzoni@free-electrons.com</email>
</author>
<published>2016-03-17T13:34:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=b92b68b2a171d74e3543e163661cd9342c2ab773'/>
<id>urn:sha1:b92b68b2a171d74e3543e163661cd9342c2ab773</id>
<content type='text'>
Since commit 604095fe9bea925f34ea05a5d80efbc3e9ba16f2 ("libcap: add
patch to fix build issue with old kernel headers"), libcap builds fine
with headers &lt; 3.0, so it is no longer the reason why lxc needs
headers &gt;= 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 &lt;thomas.petazzoni@free-electrons.com&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>Revert "lxc: remove dependency on headers &gt;= 3.0"</title>
<updated>2016-03-18T21:24:49+00:00</updated>
<author>
<name>Peter Korsgaard</name>
<email>peter@korsgaard.com</email>
</author>
<published>2016-03-18T21:24:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=f009dd2bfe199168d65c6a8b501e9239a0a28ddd'/>
<id>urn:sha1:f009dd2bfe199168d65c6a8b501e9239a0a28ddd</id>
<content type='text'>
This reverts commit 598d1e53c1a15bb983ed96a19db411bbcdfd97df.

[Peter: Seems like I ended up applying the wrong patch :/]
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>lxc: remove dependency on headers &gt;= 3.0</title>
<updated>2016-03-18T21:12:16+00:00</updated>
<author>
<name>Thomas Petazzoni</name>
<email>thomas.petazzoni@free-electrons.com</email>
</author>
<published>2016-03-16T20:20:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=598d1e53c1a15bb983ed96a19db411bbcdfd97df'/>
<id>urn:sha1:598d1e53c1a15bb983ed96a19db411bbcdfd97df</id>
<content type='text'>
Now that libcap no longer needs kernel headers &gt;= 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 &lt;thomas.petazzoni@free-electrons.com&gt;
Signed-off-by: Peter Korsgaard &lt;peter@korsgaard.com&gt;
</content>
</entry>
<entry>
<title>package/lxc: enable for CodeSourcery nios2 2015.11 toolchain</title>
<updated>2016-03-05T18:11:38+00:00</updated>
<author>
<name>Romain Naour</name>
<email>romain.naour@gmail.com</email>
</author>
<published>2016-03-05T16:04:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=5e3a134e8604c789f9c187e78bc861078c77a25b'/>
<id>urn:sha1:5e3a134e8604c789f9c187e78bc861078c77a25b</id>
<content type='text'>
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 &lt;romain.naour@gmail.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>package/lxc: add optional support for libseccomp</title>
<updated>2016-02-21T20:28:55+00:00</updated>
<author>
<name>Bernd Kuhls</name>
<email>bernd.kuhls@t-online.de</email>
</author>
<published>2016-02-21T17:34:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=2e461df5dd0cc37bde6908a932528a74a512636d'/>
<id>urn:sha1:2e461df5dd0cc37bde6908a932528a74a512636d</id>
<content type='text'>
When libseccomp was compiled before, lxc will use it as optional
dependency:

$ output/host/usr/bin/x86_64-linux-readelf -a output/target/usr/libexec/lxc/lxc-monitord | grep NEEDED
 0x0000000000000001 (NEEDED)             Shared library: [liblxc.so.1]
 0x0000000000000001 (NEEDED)             Shared library: [libcap.so.2]
 0x0000000000000001 (NEEDED)             Shared library: [libseccomp.so.2]
[...]

Signed-off-by: Bernd Kuhls &lt;bernd.kuhls@t-online.de&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>package/lxc: bump version to 1.1.5</title>
<updated>2016-01-27T20:36:39+00:00</updated>
<author>
<name>Bernd Kuhls</name>
<email>bernd.kuhls@t-online.de</email>
</author>
<published>2016-01-23T14:37:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=62e17a5fc367e511d7443dd5166be248f84f81c4'/>
<id>urn:sha1:62e17a5fc367e511d7443dd5166be248f84f81c4</id>
<content type='text'>
[Thomas: download location changed to
https://linuxcontainers.org/downloads/lxc, as noticed by Santosh
Multhalli.]

Signed-off-by: Bernd Kuhls &lt;bernd.kuhls@t-online.de&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>toolchain-external: CodeSourcery NIOSII: support only one version</title>
<updated>2015-12-18T21:57:16+00:00</updated>
<author>
<name>Romain Naour</name>
<email>romain.naour@openwide.fr</email>
</author>
<published>2015-11-21T16:36:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=c785b1b2c4dc51f24f72a82b1d36a8180c220d90'/>
<id>urn:sha1:c785b1b2c4dc51f24f72a82b1d36a8180c220d90</id>
<content type='text'>
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 &lt;romain.naour@openwide.fr&gt;
Reviewed-by: Vicente Olivert Riera &lt;Vincent.Riera@imgtec.com&gt;
Tested-by: Vicente Olivert Riera &lt;Vincent.Riera@imgtec.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>lxc: bump version to 1.1.4</title>
<updated>2015-10-14T20:25:46+00:00</updated>
<author>
<name>Ryan Barnett</name>
<email>ryan.barnett@rockwellcollins.com</email>
</author>
<published>2015-10-14T15:22:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=6cc7eab235725d51b985e493349e58f923a85c54'/>
<id>urn:sha1:6cc7eab235725d51b985e493349e58f923a85c54</id>
<content type='text'>
Signed-off-by: Ryan Barnett &lt;ryan.barnett@rockwellcollins.com&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
<entry>
<title>lxc: add hash file</title>
<updated>2015-07-16T21:40:13+00:00</updated>
<author>
<name>Baruch Siach</name>
<email>baruch@tkos.co.il</email>
</author>
<published>2015-07-16T07:36:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/buildroot/commit/?id=3cac00faab6185a566d0a995126aeb0fe4489474'/>
<id>urn:sha1:3cac00faab6185a566d0a995126aeb0fe4489474</id>
<content type='text'>
Signed-off-by: Baruch Siach &lt;baruch@tkos.co.il&gt;
Signed-off-by: Thomas Petazzoni &lt;thomas.petazzoni@free-electrons.com&gt;
</content>
</entry>
</feed>
