You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 11, 2023. It is now read-only.
Currently we fetch the following assets when running usb.go:
The Linux Kernel
Linux Firmware
Vboot
Chrome
I propose that we move cloning these resources to the os.TempDir. Build artifacts that are required for successful execution will be copied to a new stable directory in os.TempDir.
usb would lose support for the following flags:
fetch
skiproot
skipkern
keys
Instead, the utility would gain support for one new flag, which would indicate that it should attempt to retrieve all dependencies and recreate any build artifacts. The utility would now check for the presence of the build artifacts in the os.TempDir, and if they were not found, would again attempt to retrieve and recreate all of the build artifacts.
This would have to be done in a way that would still support the static and dynamic build modes.
This may result in more time spent compiling if users reboot frequently.