-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Scripts are still trying to fetch SHA1 online even if OFFLINE_WORK=yes
is set
#6439
Comments
Jira ticket: AR-2114 |
Another workaround is USE_MAINLINE_GOOGLE_MIRROR="yes" but it doesn't work here https://armbian.atlassian.net/browse/AR-2113 |
Yeah, offline work was de-prioritized on the very last weeks of armbian-next. One might make it work |
Yes, this works locally as a workaround for this issue. |
I got feedback from kernel.org that we are not to blame on this outage. |
Cool. We're pretty good citizens to git.kernel.org, using the full/shallow bundles stuff etc. We're not as great citizens to github.com/u-boot/u-boot though -- that would benefit a lot from a git bundle, very similar to what we have for kernel. |
What happened?
At this moment of writing, the official kernel git is down or overloaded. In any case, it returns error 502. Trying to work around this by setting
OFFLINE_WORK=yes
does not work as expected however.The script (namely
lib/functions/general/git-ref2info.sh
I believe) is still trying to fetch a git SHA1 online and will fail if it can't.I suspect this can be solved with a simple
if [ ! offline ]
inlib/functions/general/git-ref2info.sh
, but since this file specifically saysThis works under memoize-cached.sh::run_memoized() -- which is full of tricks.
, I decided better not to touch it myself.Example log:
How to reproduce?
Try to build with
OFFLINE_WORK=yes
while https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/ is not reachable.Branch
main (main development branch)
On which host OS are you running the build script and observing this problem?
Ubuntu 24.04 Noble
Are you building on Windows WSL2?
Relevant log URL
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: