rpm: fix a endian incompatible error in generating tag
authorMing Liu <ming.liu@windriver.com>
Mon, 17 Feb 2014 08:48:15 +0000 (16:48 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 17 Feb 2014 15:37:17 +0000 (15:37 +0000)
commitd56d54488c7e2a8e4c0aab38f6f119f153e06f8b
treed37e3a17cd716de024cad34ae7807963af8d18d9
parentd9c62a937ad8283cb7c2c856311a5ff3c30f1b43
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>
meta/recipes-devtools/rpm/rpm/rpm-tag-generate-endian-conversion-fix.patch [new file with mode: 0644]
meta/recipes-devtools/rpm/rpm_5.4.9.bb