]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
rpm: Fix debugedit buildid processing
authorMark Hatle <mark.hatle@windriver.com>
Tue, 26 Mar 2013 03:35:13 +0000 (22:35 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 26 Mar 2013 17:53:46 +0000 (17:53 +0000)
commit6da3aca59b85297119e59a6eec315452de7c7802
treeabc432b4dab309871304374b4cd729105885b8ce
parent21288ac9da291c73fec4601013128158f5da0897
rpm: Fix debugedit buildid processing

[ YOCTO #4089 ]

When constructing a new buildid, the items being hashed need to be
returned to their native endian.  In the process we were munging
the sh_type field that we relied on to determine if a section was
loadable or not.  The patch avoids this behavior by only modifying
a copy of the local endian data.

(From OE-Core rev: ac4d2d44c88cace8dbce0c8e7df3fd1f2ed244b4)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/rpm/rpm/debugedit-segv.patch