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)
commit2baaacfde726ffaf4be8fba9acac335b2d7e3b82
tree77913aa10b41764f3e308115351b744bc5fc4327
parent2294024470da98cfc8e57dbe26ee61d1466f5291
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