diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2014-09-03 02:04:30 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-09-03 11:28:18 +0100 |
commit | 2f234160ff4e9eccd8794a31df851b96328f6b74 (patch) | |
tree | b39d50c0e0b24ae600d47b585488dfddadc0279c /meta/recipes-extended/xz | |
parent | 787bed708676fc04aee2850825e803273152f657 (diff) | |
download | openembedded-core-2f234160ff4e9eccd8794a31df851b96328f6b74.tar.gz openembedded-core-2f234160ff4e9eccd8794a31df851b96328f6b74.tar.bz2 openembedded-core-2f234160ff4e9eccd8794a31df851b96328f6b74.zip |
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.
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/xz')
0 files changed, 0 insertions, 0 deletions