diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-17 12:28:13 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-01-30 16:43:45 +0000 |
commit | 54f4e9b66c898109de2e985dd257b508dff818d5 (patch) | |
tree | dba58cfe6297e21b3716678bee37382a49e838e8 /meta | |
parent | 3e783002b31aea84b97201cbda3878c93dc50df3 (diff) | |
download | poky-54f4e9b66c898109de2e985dd257b508dff818d5.tar.gz |
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.
(From OE-Core rev: abe2a948905a997314c61a8fcd35e2b42a3f4408)
(From OE-Core rev: 5ee145ebbb32824e3870b6dd689ce2b3f9bf3f17)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/package.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package.bbclass b/meta/classes/package.bbclass index 0e1d8dbfc4..2847f852ba 100644 --- a/meta/classes/package.bbclass +++ b/meta/classes/package.bbclass | |||
@@ -1110,7 +1110,7 @@ if [ x"$D" = "x" ]; then | |||
1110 | fi | 1110 | fi |
1111 | } | 1111 | } |
1112 | 1112 | ||
1113 | RPMDEPS = "${STAGING_LIBDIR_NATIVE}/rpm/bin/rpmdeps" | 1113 | RPMDEPS = "${STAGING_LIBDIR_NATIVE}/rpm/bin/rpmdeps --define '_rpmfc_magic_path ${STAGING_DIR_NATIVE}/usr/share/misc/magic.mgc'" |
1114 | 1114 | ||
1115 | # Collect perfile run-time dependency metadata | 1115 | # Collect perfile run-time dependency metadata |
1116 | # Output: | 1116 | # Output: |