summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-17 12:28:13 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-17 12:30:51 +0000
commitabe2a948905a997314c61a8fcd35e2b42a3f4408 (patch)
tree34e788e96265cbdeca688d2c0326ee6fc827540b /meta
parent300336fc4a310ed16a14ad041744708d54aae189 (diff)
downloadopenembedded-core-abe2a948905a997314c61a8fcd35e2b42a3f4408.tar.gz
openembedded-core-abe2a948905a997314c61a8fcd35e2b42a3f4408.tar.bz2
openembedded-core-abe2a948905a997314c61a8fcd35e2b42a3f4408.zip
package.bbclass: Ensure we tell rpmdeps where to find its magic file
Without this, if rpmddeps came from a sstate package which was relocated it might not find its magic file and if that happens, requires/provides in packages could get corrupted. This leads to failures at rootfs time during builds with messages like: libdbus-1.so.3 is needed by libdbus-glib-1-2-0.92-r1.armv5te since the provides would be missing in the dbus package. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/classes/package.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass
index d01275f33a..6775fda480 100644
--- a/meta/classes/package.bbclass
+++ b/meta/classes/package.bbclass
@@ -1110,7 +1110,7 @@ if [ x"$D" = "x" ]; then
fi
}
-RPMDEPS = "${STAGING_LIBDIR_NATIVE}/rpm/bin/rpmdeps"
+RPMDEPS = "${STAGING_LIBDIR_NATIVE}/rpm/bin/rpmdeps --define '_rpmfc_magic_path ${STAGING_DIR_NATIVE}/usr/share/misc/magic.mgc'"
# Collect perfile run-time dependency metadata
# Output: