]> code.ossystems Code Review - openembedded-core.git/commit
classes/rootfs_rpm: handle recommends in query functions
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Thu, 22 Dec 2011 16:55:57 +0000 (16:55 +0000)
committerSaul Wold <sgw@linux.intel.com>
Tue, 3 Jan 2012 04:26:05 +0000 (20:26 -0800)
commitb6787f5d6e181d8c39cce7b050e261d1a1d1b075
tree1953705bf7956989938d9d855864b0961ca0c855
parentc8c9a17ae2603ccb34641d4188850a18e6ce6096
classes/rootfs_rpm: handle recommends in query functions

Implement list_package_recommends() for rpm, and filter out the
"suggests" (RPM's equivalent of recommends) in list_package_depends().

Respectively, these changes fix buildhistory handling of recommends for
RPM (so that they are included in the image graphs) and also prevents
failures during do_rootfs with buildhistory enabled if a recommend is
unsatisfied.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
meta/classes/rootfs_rpm.bbclass