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 has been 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.
The text was updated successfully, but these errors were encountered:
how about a tmp/ in a persistent place. I don't want to refetch all this stuff very time I reboot.
also, skiproot and skipkern are extremely useful, since I frequently want to test a new kern with an old initramfs, for example. I'd rather not lose these.
These flags seem hacky but if you spend enough time building images they are timesavers. I think this proposal could use some tuning.
Currently we fetch the following assets when running usb.go:
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:
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.
The text was updated successfully, but these errors were encountered: