Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fetching raspberrypi-firmware git requires lots of gigabytes #1299

Closed
jdapena opened this issue Mar 20, 2024 · 3 comments
Closed

Fetching raspberrypi-firmware git requires lots of gigabytes #1299

jdapena opened this issue Mar 20, 2024 · 3 comments

Comments

@jdapena
Copy link

jdapena commented Mar 20, 2024

Description

do_fetch stage of rpi-bootfiles takes ages because of the huge size of the repository, even when using BB_GIT_SHALLOW. Here, at 37% of the fetch, it already had to download more than 14 GB.

Steps to reproduce the issue:

  1. Using https://github.com/Igalia/meta-chromium and building with KAS_MACHINE=raspberrypi4-64 kas build kas:chromium.yml:kas:commercial.yml

Describe the results you received:

Fetching fails and/or takes ages while downloading raspberrypi-firmware repository.

Describe the results you expected:

Fetching should be faster, and not fetch the whole repository. Ideally by fetching tagged tarballs as needed. An intermediate solution could be fetching the generated zip from github. I.e. https://github.com/raspberrypi/firmware/archive/5689dd184872b809af91d6636a832b1484d90fef.zip (but that tarball is AFAIK generated at navigation. Tagged versions are usually pregenerated.

Additional information you deem important (e.g. issue happens only occasionally):

Additional details (revisions used, host distro, etc.):

Host: Ubuntu.
Local bandwitdh: around 10-15 MB per second fetching from github.

@kraj
Copy link
Collaborator

kraj commented Mar 20, 2024

#1298 should fix it

@jdapena
Copy link
Author

jdapena commented Mar 20, 2024

#1298 should fix it

Yes, it looks like that should fix it. I will close this one when landed.

@agherzan
Copy link
Owner

The fix should be merged. Thanks, @kraj!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants