shadow: Fix various invalid assumptions about directory layout
authorPhil Blundell <philb@gnu.org>
Sun, 9 Sep 2012 10:22:53 +0000 (11:22 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 12 Sep 2012 14:13:37 +0000 (15:13 +0100)
commite0f005f425154445095e64c6e206cd38fd27c532
tree316e9dc04f0173d6ebea518e445b4e9603e4dca9
parent9158b2e3040fc8220144fe2dc0146cc204223851
shadow: Fix various invalid assumptions about directory layout

The makefiles in the shadow package have their own hard-coded paths
for ${base_bindir} and ${base_sbindir} (known as "bindir" and "sbindir"
in shadow-speak).  Ensure that they install into our paths rather than
their own.

Also check that ${base_bindir} and ${bindir} are different before trying
to move files from one to the other; likewise for ${base_sbindir} and
${sbindir}.

(From OE-Core rev: d4e62e164ef73b47c178edcbc2579f5358934afc)

Signed-off-by: Phil Blundell <pb@pbcl.net>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/shadow/shadow_4.1.4.3.bb