]> code.ossystems Code Review - openembedded-core.git/commit
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 11:05:56 +0000 (12:05 +0100)
commit2b3df2ec7979a49842df172be442a8794fe68fff
tree4395a44c5332b23a176805d26d293485cebeba09
parent973e615ab4ee325ab568f84e001a5724f4b0dd01
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]

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