]> code.ossystems Code Review - openembedded-core.git/commit
image.bbclass: Move runtime_mapping_rename to avoid conflict w/ multilib
authorMark Hatle <mark.hatle@windriver.com>
Fri, 9 Aug 2013 23:41:05 +0000 (18:41 -0500)
committerSaul Wold <sgw@linux.intel.com>
Tue, 13 Aug 2013 17:13:19 +0000 (10:13 -0700)
commit836662c9a9c175521dbcd29cdfc0a7c144d8770f
treefcfd51bf01a5cf640680e8153c6e83037a80b537
parent6513fa327aeb7e9fdd313290c205917952eed226
image.bbclass: Move runtime_mapping_rename to avoid conflict w/ multilib

[YOCTO #4993]

Move the runtime_mapping_rename into a prefunc for the do_rootfs function.
Otherwise doing it in the python section could occur BEFORE the multilib
classes renaming.

If the package 'b' is a kernel module, then lib32-b and b should both
point to the same package.  The runtime_mapping code will do this
automatically.

Before if you ran: bitbake lib32-<image>

It may do:

start PACKAGE_INSTALL (a b c)
remap  (a b c)
MULTILIB naming (lib32-a lib32-b lib32-c)

What we want is:

start PACKAGE_INSTALL (a b c)
MULTILIB naming (lib32-a lib32-b lib32-c)
remap (lib32-a b lib32-c)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/classes/image.bbclass