[oe-commits] [openembedded-core] 15/34: meson.bbclass: Prevent meson from downloading wrapped projects

git at git.openembedded.org git at git.openembedded.org
Mon Dec 9 11:57:23 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 b547637ad84bad8f7fe27193bf636541f8588ae8
Author: Peter Kjellerstedt <peter.kjellerstedt at axis.com>
AuthorDate: Thu Dec 5 23:47:33 2019 +0100

    meson.bbclass: Prevent meson from downloading wrapped projects
    
    Meson has support for downloading subprojects using something called
    wraps. This interferes with bitbake's expectations of all downloads
    being done by the fetch task. To avoid this, tell meson to not
    download any wraps.
    
    Suggested-by: Mattias Jernberg <mattias.jernberg at axis.com>
    Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt at axis.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/meson.bbclass | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta/classes/meson.bbclass b/meta/classes/meson.bbclass
index efa6234..dc8c289 100644
--- a/meta/classes/meson.bbclass
+++ b/meta/classes/meson.bbclass
@@ -24,7 +24,8 @@ MESONOPTS = " --prefix ${prefix} \
               --infodir ${@noprefix('infodir', d)} \
               --sysconfdir ${sysconfdir} \
               --localstatedir ${localstatedir} \
-              --sharedstatedir ${sharedstatedir} "
+              --sharedstatedir ${sharedstatedir} \
+              --wrap-mode nodownload"
 
 EXTRA_OEMESON_append = " ${PACKAGECONFIG_CONFARGS}"
 

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


More information about the Openembedded-commits mailing list