public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* network in build
@ 2025-06-24 14:41 Stephen Ecker
  2025-06-24 15:35 ` 'Heinisch, Alexander' via isar-users
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Ecker @ 2025-06-24 14:41 UTC (permalink / raw)
  To: isar-users


[-- Attachment #1.1: Type: text/plain, Size: 599 bytes --]

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? 

The package is ttf-mscorefonts-installer

thanks

-- 
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/ece75cb3-20fa-4bb0-8886-d7fbfa68ac3cn%40googlegroups.com.

[-- Attachment #1.2: Type: text/html, Size: 923 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: network in build
  2025-06-24 14:41 network in build Stephen Ecker
@ 2025-06-24 15:35 ` 'Heinisch, Alexander' via isar-users
  0 siblings, 0 replies; 2+ messages in thread
From: 'Heinisch, Alexander' via isar-users @ 2025-06-24 15:35 UTC (permalink / raw)
  To: stephenecker240, isar-users

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.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-06-24 15:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-06-24 14:41 network in build Stephen Ecker
2025-06-24 15:35 ` 'Heinisch, Alexander' via isar-users

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox