Skip to contentSkip to conversation

criu: set CLEANBROKEN to 1

PATCH In review Chen Qi 2 participants 2 messages Dec 28, 2017

lore
Share & tools
lore

Chen Qi

author
#0 lore raw

PATCH 1/1 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".

---
 recipes-containers/criu/criu_git.bb | 2 ++
 1 file changed, 2 insertions(+)
recipes-containers/criu/criu_git.bb +2 -0
index 3a02103..083609f 100644
@@ -57,6 +57,8 @@ inherit setuptools
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[selinux] = ",,libselinux"
 
+CLEANBROKEN = "1"
+
 do_compile_prepend() {
     rm -rf ${S}/images/google/protobuf/descriptor.proto
     ln -s  ${PKG_CONFIG_SYSROOT_DIR}/usr/include/google/protobuf/descriptor.proto ${S}/images/google/protobuf/descriptor.proto
Signature · 1 line
2.11.0
#1 lore raw

merged.

Bruce

Quoted 33 lines · Chen Qi

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".

---
 recipes-containers/criu/criu_git.bb | 2 ++
 1 file changed, 2 insertions(+)
recipes-containers/criu/criu_git.bb +2 -1
index 3a02103..083609f 100644
@@ -57,6 +57,8 @@ inherit setuptools
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[selinux] = ",,libselinux"
 
+CLEANBROKEN = "1"
+
 do_compile_prepend() {
     rm -rf ${S}/images/google/protobuf/descriptor.proto
     ln -s  ${PKG_CONFIG_SYSROOT_DIR}/usr/include/google/protobuf/descriptor.proto ${S}/images/google/protobuf/descriptor.proto
--

2.11.0

--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization

Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end"