[oe] [PATCH] libnl: Fix possible host contamination error
Mats Karrman
mats.dev.list at gmail.com
Wed Sep 14 10:45:10 UTC 2016
From 975b7e64462a465449d367ff6a4e5240a59221d9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Mats=20K=C3=A4rrman?= <mats at southpole.se>
Date: Wed, 14 Sep 2016 12:29:27 +0200
Subject: [PATCH] libnl: Fix possible host contamination error
---
meta/recipes-support/libnl/libnl_3.2.28.bb | 4 ++++
1 file changed, 4 insertions(+)
Possibly a cannon to swat a fly but I get "WARNING: libnl-1_3.2.28-r0
do_package_qa: QA Issue: libnl: /libnl-nf/usr/lib/libnl-nf-3.so.200.23.0
is owned by uid 1001, which is the same as the user running bitbake.
This may be due to host contamination [host-user-contaminated]"
type errors on every file.
diff --git a/meta/recipes-support/libnl/libnl_3.2.28.bb
b/meta/recipes-support/libnl/libnl_3.2.28.bb
index 26982f3..3fcfbc1 100644
--- a/meta/recipes-support/libnl/libnl_3.2.28.bb
+++ b/meta/recipes-support/libnl/libnl_3.2.28.bb
@@ -23,6 +23,10 @@ SRC_URI[sha256sum] =
"cd608992c656e8f6e3ab6c1391b162a5a51c49336b9219f7f390e61fc5
inherit autotools pkgconfig
+do_install_append() {
+ chown -R root:root ${D}
+}
+
FILES_${PN} = "${libdir}/libnl-3.so.* \
${libdir}/libnl.so.* \
${sysconfdir}"
--
2.1.4
More information about the Openembedded-devel
mailing list