libnl: Fix possible host contamination error
PATCH 1/1 libnl: Fix possible host contamination error
From 975b7e64462a465449d367ff6a4e5240a59221d9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Mats=20K=C3=A4rrman?= <[email protected]>
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-r0do_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.
meta/recipes-support/libnl/libnl_3.2.28.bb +4 -0
@@ -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}"
Signature · 1 line
2.1.4
Usually this is the result from using a "cp" (typically "cp -r") command in the install script instead of "install". Use "install" if possible, patch the makefile if you have to. If the install script uses "cp -r", add a few extra --preserve options to the command to prevent it overriding ownership.
Quoted 25 lines · Mats Karrman
From
975b7e64462a465449d367ff6a4e5240a59221d9Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Mats=20K=C3=A4rrman?= <[email protected]>
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.meta/recipes-support/libnl/libnl_3.2.28.bb +0
-0@@ -23,6 +23,10 @@ SRC_URI[sha256sum] ="
cd608992c656e8f6e3ab6c1391b162a5a51c49336b9219f7f390e61fc5inherit autotools pkgconfig
meta/recipes-support/libnl/libnl_3.2.28.bb SRC_URI[sha256sum] = "cd608992c656e8f6e3ab6c1391b162a5a51c49336b9219f7f390e61fc5 · line 32
Quoted 7 lines
meta/recipes-support/libnl/libnl_3.2.28.bb +4
-0+do_install_append() { + chown -R root:root ${D} +} + FILES_${PN} = "${libdir}/libnl-3.so.* \ ${libdir}/libnl.so.* \ ${sysconfdir}"
Kind regards,
Mike Looijmans
System Expert
TOPIC Products
Materiaalweg 4, NL-5681 RJ Best
Postbus 440, NL-5680 AK Best
Telefoon: +31 (0) 499 33 69 79
E-mail: [email protected]
Website: www.topicproducts.com
Please consider the environment before printing this e-mail
Topic zoekt gedreven (embedded) software specialisten!
http://topic.nl/vacancy/topic-zoekt-technische-software-engineers/
This also needs to go to openembedded-core not -devel.
Quoted 72 lines · Mike Looijmans
Usually this is the result from using a "cp" (typically "cp -r") command in the install script instead of "install". Use "install" if possible, patch the makefile if you have to. If the install script uses "cp -r", add a few extra --preserve options to the command to prevent it overriding ownership.
Quoted 28 lines · Mats Karrman
From
975b7e64462a465449d367ff6a4e5240a59221d9Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Mats=20K=C3=A4rrman?= <[email protected]>
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.meta/recipes-support/libnl/libnl_3.2.28.bb +0
-0@@ -23,6 +23,10 @@ SRC_URI[sha256sum] ="
cd608992c656e8f6e3ab6c1391b162a5a51c49336b9219f7f390e61fc5inherit autotools pkgconfig
meta/recipes-support/libnl/libnl_3.2.28.bb SRC_URI[sha256sum] = "cd608992c656e8f6e3ab6c1391b162a5a51c49336b9219f7f390e61fc5 · line 32
Quoted 7 lines
meta/recipes-support/libnl/libnl_3.2.28.bb +4
-0+do_install_append() { + chown -R root:root ${D} +} + FILES_${PN} = "${libdir}/libnl-3.so.* \ ${libdir}/libnl.so.* \ ${sysconfdir}"Kind regards,
Mike Looijmans
System ExpertTOPIC Products
Materiaalweg 4, NL-5681 RJ Best
Postbus 440, NL-5680 AK Best
Telefoon: +31 (0) 499 33 69 79
E-mail: [email protected]
Website: www.topicproducts.comPlease consider the environment before printing this e-mail
Topic zoekt gedreven (embedded) software specialisten!
http://topic.nl/vacancy/topic-zoekt-technische-software-engineers/--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel