diff options
author | Kai Kang <kai.kang@windriver.com> | 2022-09-29 16:51:41 +0800 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2022-10-04 16:42:07 -0400 |
commit | f8c8b9024421d5d2e434ed598a81d78928ae43d1 (patch) | |
tree | 922cc8129ba97d0611e6cf1f84d67941be0fe64e /recipes-containers/criu/criu_git.bb | |
parent | 5bc9ecc2a706a726e6b9460ae3fd17af5172b263 (diff) | |
download | meta-virtualization-f8c8b9024421d5d2e434ed598a81d78928ae43d1.tar.gz |
criu: 3.17 -> 3.17.1
Update criu from 3.17 to 3.17.1:
* update file path and remove __pycache__ directory in do_install
* rebase 0002-criu-Change-libraries-install-directory.patch
* backport patches to fix build errors with glibc 2.36.
Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-containers/criu/criu_git.bb')
-rw-r--r-- | recipes-containers/criu/criu_git.bb | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/recipes-containers/criu/criu_git.bb b/recipes-containers/criu/criu_git.bb index 46401f9a..733e9119 100644 --- a/recipes-containers/criu/criu_git.bb +++ b/recipes-containers/criu/criu_git.bb | |||
@@ -13,14 +13,16 @@ EXCLUDE_FROM_WORLD = "1" | |||
13 | 13 | ||
14 | LIC_FILES_CHKSUM = "file://COPYING;md5=412de458544c1cb6a2b512cd399286e2" | 14 | LIC_FILES_CHKSUM = "file://COPYING;md5=412de458544c1cb6a2b512cd399286e2" |
15 | 15 | ||
16 | SRCREV = "4f8f295e57e68740699479d12c1ad251e6dd859f" | 16 | SRCREV = "d46f40f4ff0c724e0b9f0f8a2e8c043806897e94" |
17 | PV = "3.17+git${SRCPV}" | 17 | PV = "3.17.1+git${SRCPV}" |
18 | 18 | ||
19 | SRC_URI = "git://github.com/checkpoint-restore/criu.git;branch=master;protocol=https \ | 19 | SRC_URI = "git://github.com/checkpoint-restore/criu.git;branch=master;protocol=https \ |
20 | file://0001-criu-Skip-documentation-install.patch \ | 20 | file://0001-criu-Skip-documentation-install.patch \ |
21 | file://0002-criu-Change-libraries-install-directory.patch \ | 21 | file://0002-criu-Change-libraries-install-directory.patch \ |
22 | file://0003-lib-Makefile-overwrite-install-lib-to-allow-multiarc.patch \ | 22 | file://0003-lib-Makefile-overwrite-install-lib-to-allow-multiarc.patch \ |
23 | " | 23 | file://0004-criu-fix-conflicting-headers.patch \ |
24 | file://0005-mount-add-definition-for-FSOPEN_CLOEXEC.patch \ | ||
25 | " | ||
24 | 26 | ||
25 | COMPATIBLE_HOST = "(x86_64|arm|aarch64).*-linux" | 27 | COMPATIBLE_HOST = "(x86_64|arm|aarch64).*-linux" |
26 | 28 | ||
@@ -81,7 +83,9 @@ do_install () { | |||
81 | # scripts. 'crit' is one of those scripts. The "executable" or "e" option to the | 83 | # scripts. 'crit' is one of those scripts. The "executable" or "e" option to the |
82 | # setup call should fix it, but it is being ignored. So to avoid getting our native | 84 | # setup call should fix it, but it is being ignored. So to avoid getting our native |
83 | # intepreter replaced in the script, we'll do an explicit update ourselves. | 85 | # intepreter replaced in the script, we'll do an explicit update ourselves. |
84 | sed -i 's%^\#\!.*%\#\!/usr/bin/env python3%' ${D}/usr/bin/crit ${D}${libdir}/python3*/site-packages/crit-0.0.1-py3*.egg/EGG-INFO/scripts/crit | 86 | sed -i 's%^\#\!.*%\#\!/usr/bin/env python3%' ${D}/usr/bin/crit ${D}${libdir}/python3*/site-packages/crit-*-py3*.egg/EGG-INFO/scripts/crit |
87 | |||
88 | rm -rf ${D}/__pycache__ | ||
85 | } | 89 | } |
86 | 90 | ||
87 | FILES:${PN} += "${systemd_unitdir}/ \ | 91 | FILES:${PN} += "${systemd_unitdir}/ \ |