]> code.ossystems Code Review - openembedded-core.git/commit
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:52:32 +0000 (20:52 +0000)
commit6437e7315a0f2e077f9d69e4b65b48280ea8edbc
treedb7a5c8973f76acde56c26ea846704df49f39867
parent3de810a7f745b253d4b63eea353a31514d64a2e3
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.

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