shadow-sysroot: Simplfy login.defs installation
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 26 Jan 2012 12:42:58 +0000 (12:42 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 26 Jan 2012 20:53:16 +0000 (20:53 +0000)
commit62352e4b2c0dfbb0e7909960db7d0dd932565004
treef68d36fc8b4dc90096f8198759023788537bb9de
parent12fecf2f725bdb2ea67d9363c59438aaee917e18
shadow-sysroot: Simplfy login.defs installation

Currently if shadow-sysroot is installed from a sstate package,
shadow_sysroot_sstate_postinst is looking in ${D} for login.defs which
isn't a valid for an install from sstate.

The easiest and most correct way to fix this is to override the standard
sysroot_stage_all function to install the files correctly and then
sstate installs work as expected. This simplifies the code as an added
bonus.

(From OE-Core rev: 6437e7315a0f2e077f9d69e4b65b48280ea8edbc)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/shadow/shadow-sysroot_4.1.4.3.bb