public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: "'Heinisch, Alexander' via isar-users" <isar-users@googlegroups.com>
To: "stephenecker240@gmail.com" <stephenecker240@gmail.com>,
	"isar-users@googlegroups.com" <isar-users@googlegroups.com>
Subject: Re: network in build
Date: Tue, 24 Jun 2025 15:35:47 +0000	[thread overview]
Message-ID: <7394ca6ed0a0cd5e8954faf2d039d660858a786c.camel@siemens.com> (raw)
In-Reply-To: <ece75cb3-20fa-4bb0-8886-d7fbfa68ac3cn@googlegroups.com>

On Tue, 2025-06-24 at 07:41 -0700, Stephen Ecker wrote:
> one of the packages I'm attempting to install downloads files and is
> unable to resolve the hostnames...  does the build environment not
> have access to networking?  How can I make this work? 

Network in the build system is only available for do_fetch by default.
You can enable it for a specific task by setting do_mytask[network] =
'1'

from the bitbake manual [1]:
```
[network]: When set to “1”, allows a task to access the network. By
default, only the do_fetch task is granted network access. Recipes
shouldn’t access the network outside of do_fetch as it usually
undermines fetcher source mirroring, image and licence manifests,
software auditing and supply chain security.
```

[1]: https://docs.yoctoproject.org/bitbake/dev/singleindex.html

BR Alexander

> 
> The package is ttf-mscorefonts-installer
> 
> thanks

-- 
Alexander Heinisch
Siemens AG
www.siemens.com

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/7394ca6ed0a0cd5e8954faf2d039d660858a786c.camel%40siemens.com.

      reply	other threads:[~2025-06-24 15:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-06-24 14:41 Stephen Ecker
2025-06-24 15:35 ` 'Heinisch, Alexander' via isar-users [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7394ca6ed0a0cd5e8954faf2d039d660858a786c.camel@siemens.com \
    --to=isar-users@googlegroups.com \
    --cc=alexander.heinisch@siemens.com \
    --cc=stephenecker240@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox