[oe-commits] [openembedded-core] 08/20: util-linux: Remove kill from native install

git at git.openembedded.org git at git.openembedded.org
Thu Mar 8 18:39:58 UTC 2018


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 5569e6ef3ef646fa498f59b8dae1d5d34d0bb9c3
Author: Mike Crowe <mac at mcrowe.com>
AuthorDate: Wed Mar 7 09:17:11 2018 +0000

    util-linux: Remove kill from native install
    
    util-linux installs kill as ${base_bindir}/kill. coreutils installs kill as
    ${bindir}/kill. If base_bindir and bindir are the same (as they are in
    meta-micro) then this causes a conflict for recipes that depend on
    util-linux-native and coreutils-native.
    
    This means that in the unlikely event that a recipe needs to run kill
    during the build, it will need to depend on coreutils-native.
    
    core-image-sato built successfully for me with this change.
    
    Signed-off-by: Mike Crowe <mac at mcrowe.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-core/util-linux/util-linux.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta/recipes-core/util-linux/util-linux.inc b/meta/recipes-core/util-linux/util-linux.inc
index e228bde..5e40b20 100644
--- a/meta/recipes-core/util-linux/util-linux.inc
+++ b/meta/recipes-core/util-linux/util-linux.inc
@@ -196,8 +196,10 @@ do_install () {
 }
 
 # nologin causes a conflict with shadow-native
+# kill causes a conflict with coreutils-native (if ${bindir}==${base_bindir})
 do_install_append_class-native () {
 	rm -f ${D}${base_sbindir}/nologin
+	rm -f ${D}${base_bindir}/kill
 }
 
 ALTERNATIVE_PRIORITY = "80"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list