diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2013-08-09 17:51:30 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-03-13 15:37:36 -0700 |
commit | 42663173ffe0bc0d9920e00f0533494d2ca40d8e (patch) | |
tree | df777736ed71e6682e089515b2bb1864e7c9fc39 /meta/recipes-devtools/dpkg | |
parent | b95c05db58b3a2d1c3eb1a168f4abb851d3e69ca (diff) | |
download | poky-42663173ffe0bc0d9920e00f0533494d2ca40d8e.tar.gz |
rpm: Enable compatibility with older RPM packages that have invalid platforms
Some LSB packages appear to have the platform set to '%{_target_platform}'
which is not a valid platform field. This causes a failure of the type:
warning: package lsb-test-core-4.1.15-1.x86_64 is intended for a %{_target_platform} platform
When we detect an invalid platform, fall back and try to construct a new
platform name that may be valid based on the arch and os contents of the
package. (This should only ever be needed by invalid or older RPM packages.)
(From OE-Core master rev: 6513fa327aeb7e9fdd313290c205917952eed226)
(From OE-Core rev: c3f1bedb2494a2465db23a4d89b9f998db953f0d)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/dpkg')
0 files changed, 0 insertions, 0 deletions