diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2013-08-09 17:51:30 -0500 |
---|---|---|
committer | Saul Wold <sgw@linux.intel.com> | 2013-08-13 10:13:19 -0700 |
commit | 6513fa327aeb7e9fdd313290c205917952eed226 (patch) | |
tree | 939ffe0f271dc153068c485d407365ac82d6430e /meta/recipes-devtools/rpm/rpm_5.4.9.bb | |
parent | a84ecc5ad158a7529a904785de25ebfedf5767a7 (diff) | |
download | openembedded-core-6513fa327aeb7e9fdd313290c205917952eed226.tar.gz openembedded-core-6513fa327aeb7e9fdd313290c205917952eed226.tar.bz2 openembedded-core-6513fa327aeb7e9fdd313290c205917952eed226.zip |
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.)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/rpm/rpm_5.4.9.bb')
-rw-r--r-- | meta/recipes-devtools/rpm/rpm_5.4.9.bb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/rpm/rpm_5.4.9.bb b/meta/recipes-devtools/rpm/rpm_5.4.9.bb index 3f4854eb6a..bd05336ba0 100644 --- a/meta/recipes-devtools/rpm/rpm_5.4.9.bb +++ b/meta/recipes-devtools/rpm/rpm_5.4.9.bb @@ -86,7 +86,8 @@ SRC_URI = "http://www.rpm5.org/files/rpm/rpm-5.4/rpm-5.4.9-0.20120508.src.rpm;ex file://rpm-platform2.patch \ file://rpm-remove-sykcparse-decl.patch \ file://debugedit-segv.patch \ - file://rpm-platform-file-fix.patch \ + file://rpm-platform-file-fix.patch \ + file://rpm-lsb-compatibility.patch \ " # Uncomment the following line to enable platform score debugging |