linux-surface / aarch64-arch-mkimg

Scripts to create Arch Linux AArch64 disk images (e.g. for flashing to a USB stick), adapted for the Surface Pro X
MIT License
15 stars 7 forks source link

404 Error on Whence Blob #6

Closed F9Alejandro closed 1 year ago

F9Alejandro commented 1 year ago

Expected:

Current:

Looks like it is not getting the blob and instead is trying to get the .zst based instead.

Please look and see if this is the case as it has issues trying to grab.

qzed commented 1 year ago

Thanks for reporting this! It should be fixed now.

It looks like one of the automated cleanups (https://github.com/linux-surface/repo/commit/d54c103a2bbccf3de9c68224e4b6309f4b91de74) removed the blob file. This seems to have happened because downloading the file failed for some reason, which causes the update/cleanup script to assume that the file is no longer available on the GitHub release page and thus no longer needed. I'm not sure why downloading failed (the file is still on the release page), but we've had similar download failures in #5 (only this time not in the mkimage CI but for the first time in the repo action).

I've re-added the missing blob file, which should fix the issue on the repo side. Further, I've also triggered a new build of the firmware package, which then hopefully fixes the intermittent download issues.

Edit: I messed up the repo-surgery, still working on it...

qzed commented 1 year ago

Things should work now.

F9Alejandro commented 1 year ago

I will pull and test it out. Should also see about getting a faster mirror for ALARM repos instead of relying on archlinuxarm limited mirrors.

Depending on the cost could go through linode and create a bunch of nanodes (cheapest tier) in different datacenter locations.

qzed commented 1 year ago

Depending on the cost could go through linode and create a bunch of nanodes (cheapest tier) in different datacenter locations.

I really don't think that would be worth it. Or help much, for that matter. There are like 10 people (probably even less...) using the SPX. And you need to run the mkimage utility once every time you want to install linux. With automated builds working that probably drops (or increases...) to maybe once a month that this thing is being run.

As for our linux-surface repos in general: We just redirect to GitHub releases for all the heavy downloads, which saves us that burden.

F9Alejandro commented 1 year ago

I meant for archlinuxarm in general not for the project itself. The mirrors take forever to actually pull properly and when they do it is abysmal download speeds (kb/s instead of Mb/s).

Either way this is working properly now :D

Edit: I will work on trying out using the command line option for pacman and see if that will help with the "download speed" issue. It should ignore the default 10 sec timeout from curl when in use.

F9Alejandro commented 1 year ago

Hit or miss with the archlinuxarm mirrors. Not much can be done about that unless we grab them directly then install with pacman.