<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-virtualization.git/recipes-containers/criu, branch k3s-wip</title>
<subtitle>Mirror of git.yoctoproject.org/meta-virtualization</subtitle>
<id>https://git.enea.com/cgit/linux/meta-virtualization.git/atom?h=k3s-wip</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-virtualization.git/atom?h=k3s-wip'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/'/>
<updated>2020-09-02T20:30:44+00:00</updated>
<entry>
<title>criu: backport patch to fix build failure for gcc-10</title>
<updated>2020-09-02T20:30:44+00:00</updated>
<author>
<name>Chen Qi</name>
<email>Qi.Chen@windriver.com</email>
</author>
<published>2020-09-01T06:08:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=2711b81afd489d5b458617dfdfda520d8fe61f65'/>
<id>urn:sha1:2711b81afd489d5b458617dfdfda520d8fe61f65</id>
<content type='text'>
Backport patch to fix build failure for gcc-10.

Signed-off-by: Chen Qi &lt;Qi.Chen@windriver.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;
</content>
</entry>
<entry>
<title>criu: python3 update</title>
<updated>2020-01-22T15:53:49+00:00</updated>
<author>
<name>Bruce Ashfield</name>
<email>bruce.ashfield@gmail.com</email>
</author>
<published>2020-01-22T15:46:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=67b237d9a98ada1e31a67a1f19ed39accac52953'/>
<id>urn:sha1:67b237d9a98ada1e31a67a1f19ed39accac52953</id>
<content type='text'>
Updating the version of criu and the install rules to be python3 safe.

Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;
</content>
</entry>
<entry>
<title>Fix criu build for aarch64</title>
<updated>2019-10-13T23:44:49+00:00</updated>
<author>
<name>Ruslan Piasetskyi</name>
<email>ruslan.piasetskyi@gmail.com</email>
</author>
<published>2019-10-12T15:04:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=533f9aa5aa6041c91181152e084d01f9dd10e397'/>
<id>urn:sha1:533f9aa5aa6041c91181152e084d01f9dd10e397</id>
<content type='text'>
Makefile:
#
# Supported Architectures
ifneq ($(filter-out x86 arm aarch64 ppc64 s390,$(ARCH)),)
        $(error "The architecture $(ARCH) isn't supported")
endif

Signed-off-by: Ruslan Piasetskyi &lt;ruslan.piasetskyi@gmail.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;
</content>
</entry>
<entry>
<title>criu: upgrade 3.11 -&gt; 3.12</title>
<updated>2019-08-12T15:02:31+00:00</updated>
<author>
<name>Yuan Chao</name>
<email>yuanc.fnst@cn.fujitsu.com</email>
</author>
<published>2019-08-09T07:24:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=940b899bc06ec81b5f42e3b87b64a4bf0d56189c'/>
<id>urn:sha1:940b899bc06ec81b5f42e3b87b64a4bf0d56189c</id>
<content type='text'>
Refresh patch: 0001-criu-Fix-toolchain-hardcode.patch

Signed-off-by: Yuan Chao &lt;yuanc.fnst@cn.fujitsu.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;
</content>
</entry>
<entry>
<title>criu: fix dump error on Intel Apollo Lake SOC</title>
<updated>2019-05-30T03:57:22+00:00</updated>
<author>
<name>Dengke Du</name>
<email>dengke.du@windriver.com</email>
</author>
<published>2019-05-23T02:33:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=1f26faec8a8ebcc177e1d29c62bd8b8dbe0fe1cc'/>
<id>urn:sha1:1f26faec8a8ebcc177e1d29c62bd8b8dbe0fe1cc</id>
<content type='text'>
Fix dump error when executing: criu dump -D checkpoint -t pid
-------------------------------------------------
Error (criu/arch/x86/crtools.c:362): x86: Corruption in XFEATURE_YMM area (expected 64 but 0 obtained)
Error (criu/cr-dump.c:1280): Can't infect (pid: 2874) with parasite
Error (criu/cr-dump.c:1732): Dumping FAILED.
-------------------------------------------------
Backport upstream patch on criu-dev branch to fix this:
[https://github.com/checkpoint-restore/criu/commit/5a52e34655636a8f00a664cf42716e1439ea2ef0]

Signed-off-by: Dengke Du &lt;dengke.du@windriver.com&gt;

Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;
</content>
</entry>
<entry>
<title>criu: upgrade to 3.11</title>
<updated>2019-03-25T03:14:08+00:00</updated>
<author>
<name>Dengke Du</name>
<email>dengke.du@windriver.com</email>
</author>
<published>2019-03-22T06:09:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=3910d2fd292e6ae3efaeddd34d2cbca05e9d7b6b'/>
<id>urn:sha1:3910d2fd292e6ae3efaeddd34d2cbca05e9d7b6b</id>
<content type='text'>
Remove the following patch, because the 3.11 version already contain it.
    0001-kdat-Don-t-open-run-criu.kdat-if-doesn-t-exists.patch

Signed-off-by: Dengke Du &lt;dengke.du@windriver.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;
</content>
</entry>
<entry>
<title>criu: fix host gcc can't recognized option -fmacro-prefix-map</title>
<updated>2019-03-01T16:37:43+00:00</updated>
<author>
<name>Dengke Du</name>
<email>dengke.du@windriver.com</email>
</author>
<published>2019-02-28T01:28:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=3e7593f3570f300822f183120de101b717d9ddf9'/>
<id>urn:sha1:3e7593f3570f300822f183120de101b717d9ddf9</id>
<content type='text'>
Generally, our host gcc version below 8.0, but cross toolchain in yocto
above 8.0, now 8.3, the option "macro-prefix-map" coming from 8.0, so if
the host gcc below 8.0, it can't unrecognized the option "macro-prefix-map".

In criu source code, the HOSTCFLAGS coming from CFLAGS:
    https://github.com/checkpoint-restore/criu/blob/criu-dev/Makefile#L17
In yocto project, the CFLAGS coming from the cross toolchain, containing
the "-fmacro-prefix-map" default, so we should use the BUILD_CFLAGS, it
contains the flags that used for host building.

Signed-off-by: Dengke Du &lt;dengke.du@windriver.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@gmail.com&gt;
</content>
</entry>
<entry>
<title>criu: Don't open /run/criu.kdat if doesn't exists</title>
<updated>2018-11-29T17:11:41+00:00</updated>
<author>
<name>Hongzhi.Song</name>
<email>hongzhi.song@windriver.com</email>
</author>
<published>2018-11-27T02:22:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=47dd312669562bc9467a98159105bb636f9652d3'/>
<id>urn:sha1:47dd312669562bc9467a98159105bb636f9652d3</id>
<content type='text'>
When CRIU is called for a first time and the /run/criu.kdat file does
not exists, the following warning is shown:
        Warn  (criu/kerndat.c:847): Can't load /run/criu.kdat

This patch is replacing this warning with a more appropriate debug
message.
        File /run/criu.kdat does not exist

Signed-off-by: Hongzhi.Song &lt;hongzhi.song@windriver.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
<entry>
<title>criu: uprev to version 3.10</title>
<updated>2018-08-03T02:57:14+00:00</updated>
<author>
<name>Mark Asselstine</name>
<email>mark.asselstine@windriver.com</email>
</author>
<published>2018-07-30T21:09:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=67c011572a6b700ea8eeee14ef37fe9c894f06e3'/>
<id>urn:sha1:67c011572a6b700ea8eeee14ef37fe9c894f06e3</id>
<content type='text'>
A fairly straightforward uprev requiring minimal patch refreshing
since a few hunks were failing due to conflicts with upstream updates.

Unfortunately upstream starting using the now overloaded "PYTHON"
variable in their Makefiles, this is not the path to the python
executable but rather the name 'python2' or 'python3' which is used to
determine which local directories to include. Due to this we must
explicitly assign values to 'PYTHON_FULL' and 'PYTHON'. We use
'python2' since we are using 'setuptools' and therefore are explicitly
using python v2, at some point we might want to make this recipe work
with either python v2 or v3 but for now we continue to explicitly use
v2.

Instead of using version specific filename we switch to using _git.bb
which is inline with similar 'git' recipes found in oe-core and other
repos.

Signed-off-by: Mark Asselstine &lt;mark.asselstine@windriver.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
<entry>
<title>criu: upgrade to 3.9</title>
<updated>2018-07-23T03:15:21+00:00</updated>
<author>
<name>Zheng Ruoqin</name>
<email>zhengrq.fnst@cn.fujitsu.com</email>
</author>
<published>2018-07-16T01:32:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-virtualization.git/commit/?id=10a427caddb31d919c9e50373e4f7d940147dcd3'/>
<id>urn:sha1:10a427caddb31d919c9e50373e4f7d940147dcd3</id>
<content type='text'>
1) Upgrade criu from 3.4 to 3.9.

2) Delete fix-building-on-newest-glibc-and-kernel.patch for it has been merged in upstream.

3) Add CFLAGS_arm += "-D__WORDSIZE"
   add this CFLAGS to solve the compile problem for arm.
   The log is as following:
   | ....../tmp/work/armv5e-poky-linux-gnueabi/criu/3.9+gitAUTOINC+202b7745bd-r0/recipe-sysroot/usr/include/bits/wordsize.h:36:2: error: #error "__WORDSIZE is not defined"
   |  #error "__WORDSIZE is not defined"
   |   ^
   | ....../tmp/work/armv5e-poky-linux-gnueabi/criu/3.9+gitAUTOINC+202b7745bd-r0/recipe-sysroot/usr/include/bits/wordsize.h:59:2: error: #

4) Add export C_INCLUDE_PATH="${STAGING_INCDIR}/libnl3"
   add C_INCLUDE_PATH to solve the compile problem for arm.
   which is libnetlink.c can't find head file.

   | In file included from criu/libnetlink.c:5:
   | ....../tmp/work/armv5e-p
   | oky-linux-gnueabi/criu/3.9+gitAUTOINC+202b7745bd-r0/recipe-sysroot/usr/include/libnl3/netlink/attr.h:15:10: fatal error: netlink/netlink.h: No such file or directory  #include &lt;netlink/netlink.h&gt;

Signed-off-by: Zheng Ruoqin &lt;zhengrq.fnst@cn.fujitsu.com&gt;
Signed-off-by: Bruce Ashfield &lt;bruce.ashfield@windriver.com&gt;
</content>
</entry>
</feed>
