Files
poky/meta/recipes-devtools
Robert Yang c7541a25f4 rpmresolve: ignore null requires
It is not a problem if a package requires nothing (similar to RDEPENDS
is null), for example, these packages depends on nothing:

[snip]
alsa-conf-base
base-files
eglibc-binary-localedata-en-us
xserver-xf86-config
[snip]

The rpmresolve-native's algorithm is:
===fake code
for pkg in pkg1, pkg2, pkg3:
    rc = get_req(pkg)
return rc
===fake code

Suppose of the 3 pkgs requires null:
- We are lukcy if pkg1 or pkg2 is null, nothing happend.
- We are *not* lukcy if pkg3 is null, and will get the error when "INHERIT +=
  'buildhistory'":
  ERROR: Cannot get the package dependencies. Command
  '/path/to/x86_64-linux/usr/bin/rpmresolve -t /path/to/var/lib/rpm' returned 1:

This patch fixes the problem.

(From OE-Core rev: 2f234160ff4e9eccd8794a31df851b96328f6b74)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-09-03 16:00:28 +01:00
..
2014-08-23 09:26:10 +01:00
2014-03-02 17:25:28 +00:00
2014-07-19 00:09:01 +01:00
2014-07-16 10:20:50 +01:00
2014-05-21 19:50:21 +01:00
2014-09-01 18:03:05 +01:00
2014-08-15 18:21:48 +01:00
2014-07-16 10:20:50 +01:00
2014-01-02 12:50:24 +00:00
2014-08-02 09:26:14 +01:00
2014-08-28 15:12:44 +01:00
2014-07-17 12:28:50 +01:00
2014-08-02 09:26:17 +01:00
2014-08-28 15:12:42 +01:00
2014-07-19 00:18:21 +01:00
2014-09-01 18:03:06 +01:00
2014-08-28 15:12:44 +01:00
2014-08-11 10:53:05 +01:00
2014-09-03 16:00:28 +01:00
2014-08-28 15:12:44 +01:00
2014-04-10 17:35:15 +01:00
2014-08-23 09:26:10 +01:00
2013-08-13 23:05:58 +01:00