Importing environmental variables to receipe
I am working with yocto behind network proxy. Hence I want to pass the proxy variable (http_proxy) to recipe where cmake download some dependency. I tried to pass using BB_ENV_EXTRAWHITE .. but i haven't succeeded. Can someone suggest better option
Quoted 2 lines · On Thu, Sep 15, 2022 at 9:16 AM <[email protected]> wrote:
I am working with yocto behind network proxy. Hence I want to pass the proxy variable (
http_proxy) to recipe where cmake download some dependency. I tried to pass usingBB_ENV_EXTRAWHITE.. but i haven't succeeded. Can someone suggest better option
There are some examples in metadata where we explicitly disable this download happening during do_configure step via FetchContent cmake module. Its better to club all downloads in do_fetch so fetcher can checksum and make sure that it's deterministic.
Quoted 9 lines
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
You automatically follow any topics you start or reply to. View/Reply Online (#58050): https://lists.yoctoproject.org/g/yocto/message/58050
Mute This Topic: https://lists.yoctoproject.org/mt/93703822/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-