[oe-commits] [openembedded-core] 15/33: multilib_global: Fix multilib rebuild issue

git at git.openembedded.org git at git.openembedded.org
Thu Jun 27 11:32:29 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository openembedded-core.

commit a8dc13d4e4e34b061be5c2dd71f26cc0ad92a72e
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Tue Jun 25 15:21:45 2019 +0100

    multilib_global: Fix multilib rebuild issue
    
    Building lttng-modules for a "lib32" multilib, then changing to a "lib64"
    multilib with "lib32" removed doesn't rebuild lttng-modules.
    
    This is due to the multilib pieces in RPROVIDES being added after RecipeParsed
    which is after the signatures are generated.
    
    Changing this to RecipeTaskPreProcess allows the multilib components to be
    accounted for correctly in the task hashes.
    
    This addresses failures on the autobuilder seen in lib64-core-image-sato-sdk
    builds where lttng-modules was being reused from qemux86 world build's lib32
    version.
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/multilib_global.bbclass | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta/classes/multilib_global.bbclass b/meta/classes/multilib_global.bbclass
index 19ce1a5..11ac5b0 100644
--- a/meta/classes/multilib_global.bbclass
+++ b/meta/classes/multilib_global.bbclass
@@ -202,5 +202,4 @@ python multilib_virtclass_handler_global () {
 }
 
 addhandler multilib_virtclass_handler_global
-multilib_virtclass_handler_global[eventmask] = "bb.event.RecipeParsed"
-
+multilib_virtclass_handler_global[eventmask] = "bb.event.RecipeTaskPreProcess"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list