package_rpm.bbclass: fix incremental rpm image generation
authorRobert Yang <liezhi.yang@windriver.com>
Wed, 5 Sep 2012 14:54:07 +0000 (22:54 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 10 Sep 2012 12:01:48 +0000 (13:01 +0100)
commit851c09f881d2ed0fb6310d9e397f72da600259e8
treed155700c9368ab79d2bedc2f7a30a49d8db14aab
parent506d18fd4cde66b2a7015e32511d379df8a18da1
package_rpm.bbclass: fix incremental rpm image generation

* Check ${target_rootfs}/etc/passwd rather than
  ${target_rootfs}${rpmlibdir} to make sure that it has been previously
  installed.

* Remove the "--nodeps" when incremental image generation, it should
  take care of the dependencies. Still use "--replacefiles --replacepkgs" in
  case there are conflicts.

[YOCTO #3047]

(From OE-Core rev: 2b3df2ec7979a49842df172be442a8794fe68fff)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package_rpm.bbclass