Closed t-lo closed 2 years ago
Another side issue is to delete coreos-devel/sdk-extras
from coreos-overlay.
Doing that, we can delete at least ~20 other packages from the source tree.
Apparently the sdk-extras
was originally meant to work as a meta package to pull in all the optional packages in the SDK at once.
AFAIK it has been unmaintained since 3~4 years, so an attempt of emerge coreos-devel/sdk-extras
will give you a huge list of conflicts to resolve. ;-)
So I believe it is hard to resurrect sdk-extras at the moment.
PRs for deleting sdk-extras and its dependencies:
For the most part done, we'll create smaller follow-up issues when we tackle the remaining items.
Issue
repo
.Impact
Ideal future state
repo
coreos-overlay
,portage-stable
are pulled in via git submodulesDesign Proposal: Simplify Flatcar versioning and build process
This design document proposes simplifications to Flatcar's versioning / build process. Motivation for the simplifications proposed is to remove unnecessary complexity from the build process.
Build process complexity
repo
Because of its Chromium OS legacy, the Flatcar build process employs therepo
tool to manage project-related repositories[1]. However, real-life Flatcar development does not make use of therepo
git project management features. The tool is only used at SDK initialisation time bycork
- which itself will be deprecated by the SDK container. While some ebuilds incoreos-overlay
make use ofCROS_WORKON_*
, there is no hard dependency torepo
- package builds work fine just using thecros-workon
eclass (which can be deprecated at a later point).repo
uses build manifests (example) to pin allrepo
-managed repos to specific git revisions. However, this information is not used except for two repos:portage-stable
andcoreos-overlay
. All other repos' entries - specific to a single package - always point to master.Proposed simplification
repo
- andcork
altogether - for SDK initialisation. The SDK container PR implements this - instead ofcork
initialising a chroot, an SDK container is used.repo
is not used at all.[1] - The following repos are cloned at SDK initialisation time: