bottlerocket-os / twoliter

A build tool for customizing Bottlerocket
Other
24 stars 25 forks source link

Create Mechanism for Adding/Overriding Lookaside Caches #329

Closed cbgbt closed 4 months ago

cbgbt commented 4 months ago

Sources in Bottlerocket are content-addressed and stored in a "lookaside cache," which is used during the build to fetch source artifacts.

Currently buildsys assumes a singular lookaside cache. While this could be overridden, it would be cumbersome to maintain a workspace that wished to use multiple lookaside caches for package sources. (For example, consider a kit that wished to rebuild sources from core-kit with different options.)

One possible solution is to allow Twoliter.toml to support being configured with a series of lookaside caches that it checks for artifacts sequentially.

cbgbt commented 4 months ago

Oh, this is a dupe of https://github.com/bottlerocket-os/twoliter/issues/254