facebookarchive / osf-builder

osf-builder contains tools to build OSF (Open System Firmware) firmware images, and to keep track of their versioning information.
MIT License
7 stars 2 forks source link

Build coreboot in the background with everything else #17

Open dhendrix opened 2 years ago

dhendrix commented 2 years ago

Building coreboot's toolchain is the longest part of the build process, and much of it involves running serialized steps (e.g. decompressing archives, running configure, etc). We should be able to kick this off while u-root and Linux are being built.

In case coreboot somehow gets built first, we can avoid the race condition by building coreboot with a stub as the LinuxBoot payload and then insert the final Linux+u-root binary using cbfstool in a separate step at the very end.