]> code.ossystems Code Review - openembedded-core.git/commit
rpm: ensure that magic file is relocatable
authorSaul Wold <sgw@linux.intel.com>
Tue, 27 Sep 2011 20:13:43 +0000 (13:13 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 28 Sep 2011 10:47:22 +0000 (11:47 +0100)
commite94d1e7ac1b7952690c37554e618f84b84e561a0
tree4c5d8552b37c0aac21bbaf1d26fb63f88f608fd2
parentbee3699510a31158f9e2095fe8b6e4cb75ed3651
rpm: ensure that magic file is relocatable

rpm-native was reading from /usr/share/misc/magic which is wrong
it needs to be set to read from the sysroot.  This also adds wrappers
to the rpm-build tools to ensure they know were to find the macros that
point to the right directories.

Fixes [YOCTO #1532]

Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-devtools/rpm/rpm_5.4.0.bb