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