]> code.ossystems Code Review - openembedded-core.git/commit
package_rpm.bbclass: fix and enhance the incremental rpm generation
authorRobert Yang <liezhi.yang@windriver.com>
Tue, 21 Aug 2012 06:48:48 +0000 (14:48 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 21 Aug 2012 11:12:09 +0000 (12:12 +0100)
commit5d8ca498e09438bd91654fa8b8b2c970956d88e3
treecb2da5b6fec8e691ee456c77e02f953ba57b9a80
parent72a924d0686389d648338efd3f675fc85ee2d181
package_rpm.bbclass: fix and enhance the incremental rpm generation

The incremental rpm generation usually broke when package_rpm.bbclass
changed, change its implementation to make it more stable:

* It depended on the previous and current saved manifest files in
  the past, it would break when the manifest changed. Now query the
  previous and current installed pkgs from rootfs/var/lib and
  rootfs/install/, this would be more reliable, the manifest's change
  would not affect it any more.

* Add explanations before package_install_internal_rpm to explain what
  does the function do.

* Remove an unwanted "awk '{print $1}'".

[YOCTO #2906]

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