diff options
author | Ming Liu <ming.liu@windriver.com> | 2014-02-17 16:48:15 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-17 15:37:17 +0000 |
commit | c33c645953bbb95ef3428534f8dbd1672ff10532 (patch) | |
tree | a3ec5dbc7e4daa0b8dc0aaa5ef4fdda9dd2b4fb7 /meta/recipes-devtools/rpm/rpm_5.4.9.bb | |
parent | 0008cd6444dc3c13d5bab4651dbd237f9ed3abfc (diff) | |
download | poky-c33c645953bbb95ef3428534f8dbd1672ff10532.tar.gz |
rpm: fix a endian incompatible error in generating tag
A flaw was found in the way rpm generating arbitrary tags, which leads to a
incorrect query result, this issue is introduced by a incompatible endianess
when the generating process is executed on different architectures.
This patch resolves it by taking the byte order that host uses.
(From OE-Core rev: b4b79a78012c64e3a19545972512153b1fe64b4d)
Signed-off-by: Ming Liu <ming.liu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/rpm/rpm_5.4.9.bb')
-rw-r--r-- | meta/recipes-devtools/rpm/rpm_5.4.9.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rpm/rpm_5.4.9.bb b/meta/recipes-devtools/rpm/rpm_5.4.9.bb index 9d376a5b31..7921f40769 100644 --- a/meta/recipes-devtools/rpm/rpm_5.4.9.bb +++ b/meta/recipes-devtools/rpm/rpm_5.4.9.bb | |||
@@ -89,6 +89,7 @@ SRC_URI = "http://www.rpm5.org/files/rpm/rpm-5.4/rpm-5.4.9-0.20120508.src.rpm;ex | |||
89 | file://debugedit-valid-file-to-fix-segment-fault.patch \ | 89 | file://debugedit-valid-file-to-fix-segment-fault.patch \ |
90 | file://rpm-platform-file-fix.patch \ | 90 | file://rpm-platform-file-fix.patch \ |
91 | file://rpm-lsb-compatibility.patch \ | 91 | file://rpm-lsb-compatibility.patch \ |
92 | file://rpm-tag-generate-endian-conversion-fix.patch \ | ||
92 | " | 93 | " |
93 | 94 | ||
94 | # Uncomment the following line to enable platform score debugging | 95 | # Uncomment the following line to enable platform score debugging |