]> code.ossystems Code Review - openembedded-core.git/commit
procps: fix for base_sbindir == sbindir
authorJoshua Lock <joshua.lock@collabora.co.uk>
Fri, 4 Sep 2015 14:59:46 +0000 (15:59 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 6 Sep 2015 14:24:20 +0000 (15:24 +0100)
commit2daab2114a0bee1268ce8f7d973ea81d5a530dfd
tree29d49eb92a197c08a6a7711c159023ce111f3bad
parentda8269ed0fd609699b23c2e3e6c61bc54f7b2832
procps: fix for base_sbindir == sbindir

An rmdir call in do_install_append was trying to remove the
sbindir, however in a system with a merged usr this directory
is not empty and therefore failing to rm it causes an ERROR.

Instead check that sbindir != base_sbindir before trying to
remove the directory.

Signed-off-by: Joshua Lock <joshua.lock@collabora.co.uk>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/procps/procps_3.3.10.bb