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

git at git.openembedded.org git at git.openembedded.org
Sun Dec 8 14:57:06 UTC 2019


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

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

commit 601ac10ef95fa5bc4e48ba7777714aa8e94714da
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