To quote from the Yocto Development manual 1.7.1 (http://www.yoctoproject.org/docs/1.7.1/dev-manual/dev-manual.pdf) 'Section 5.5.2 Combining Multiple Versions of Library Files into One Image' "An example would be where you have most of a system compiled in 32-bit mode using 32-bit libraries, but you have something large, like a database engine, that needs to be a 64-bit application and uses 64-bit libraries. Multilib allows you to get the best of both 32-bit and 64-bit libraries" I can't add 64bit packages to 32bit system via: 1) config a project and add below multilib configs to local.conf: MACHINE = "qemux86-64" require conf/multilib.conf MULTILIBS ?= "multilib:lib32" DEFAULTTUNE_virtclass-multilib-lib32 ?= "x86" 2) run "bitbake lib32-core-image-minimal" 3) add IMAGE_INSTALL_append = "valgrind" to local.conf and rerun "bitbake lib32-core-image-minimal" 32bit valgrind will be installed but not 64bit. Any packages that appended to IMAGE_INSTALL will be extended as lib32-$pkgname in this case, so we can't install any 64bit packages to 32bit system.
This worked in the YP 1.5. So something changed afterwards that prevented it from working. (Likely the multilib remapping fixed a bug that is now causing this issue.
Use lib64-bash: require conf/multilib.conf MULTILIBS ?= "multilib:lib32 multilib:lib64" DEFAULTTUNE_virtclass-multilib-lib32 ?= "x86" DEFAULTTUNE_virtclass-multilib-lib64 ?= "x86-64" IMAGE_INSTALL_append = " lib64-bash" Then it works.
not a bug
I've sent patches to oe-core, now we can use: IMAGE_INSTALL_append += " bash"
Merged into master: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=eb7b1a58ceaab7fde4dc954eb4df4247d6c7c6d8
(In reply to comment #4) > I've sent patches to oe-core, now we can use: > > IMAGE_INSTALL_append += " bash" Sorry, it still doesn't work, we can't install 64bit packages to 32bit rootfs, this doesn't sounds good, we need another way to make it work, I will convert it into an enhancement of YP 2.1.
The smart maybe replaced by dnf.
Could reproduce with Yocto 2.6.
Kai, ping.
Kai, please test. Surely this works on master...
We're pretty sure that this work now.