summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2017-12-28 14:41:48 +0800
committerBruce Ashfield <bruce.ashfield@windriver.com>2017-12-28 11:13:05 -0500
commitd1969606e3540d3771a5ba4626d4e5ea42bd683a (patch)
treef10da5b95e7ee34d9ad24c5098caf8875db647c7
parent09af87f0d866a6a53d31269de7c1711bc4fd3903 (diff)
downloadmeta-virtualization-d1969606e3540d3771a5ba4626d4e5ea42bd683a.tar.gz
criu: set CLEANBROKEN to 1
Rebuilding criu would cause the following error. | make: .gitid: Command not found | make: *** [Makefile:260: clean-top] Error 127 Fix this problem by setting CLEANBROKEN to "1". Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
-rw-r--r--recipes-containers/criu/criu_git.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/recipes-containers/criu/criu_git.bb b/recipes-containers/criu/criu_git.bb
index 3a021031..083609fc 100644
--- a/recipes-containers/criu/criu_git.bb
+++ b/recipes-containers/criu/criu_git.bb
@@ -57,6 +57,8 @@ inherit setuptools
57PACKAGECONFIG ??= "" 57PACKAGECONFIG ??= ""
58PACKAGECONFIG[selinux] = ",,libselinux" 58PACKAGECONFIG[selinux] = ",,libselinux"
59 59
60CLEANBROKEN = "1"
61
60do_compile_prepend() { 62do_compile_prepend() {
61 rm -rf ${S}/images/google/protobuf/descriptor.proto 63 rm -rf ${S}/images/google/protobuf/descriptor.proto
62 ln -s ${PKG_CONFIG_SYSROOT_DIR}/usr/include/google/protobuf/descriptor.proto ${S}/images/google/protobuf/descriptor.proto 64 ln -s ${PKG_CONFIG_SYSROOT_DIR}/usr/include/google/protobuf/descriptor.proto ${S}/images/google/protobuf/descriptor.proto