]> code.ossystems Code Review - openembedded-core.git/commit
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:35:28 +0000 (15:35 +0000)
commitb4b79a78012c64e3a19545972512153b1fe64b4d
tree005f8ba669d1315c83b8f7898d17751c6f5740ca
parent5d38923f677c55941c7efc95d66e8ec0fd49d0ab
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.

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