Skip to content

Commit 6f38b9a

Browse files
committed
Prefix: add stabilisation TODOs, changelog entry
Signed-off-by: Thilo Fromm <[email protected]>
1 parent a4d4a94 commit 6f38b9a

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

PREFIX.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,18 @@
22

33
**!!! NOTE: Prefix support in the Flatcar SDK is EXPERIMENTAL at this time !!!**
44

5+
## Path to stabilisation TODO list
6+
7+
Before prefix build support are considered stable, the below must be implemented:
8+
1. Integrate `cb-bootstrap` with the Flatcar SDK.
9+
Currently, `setup_prefix` uses cross-boss' `cb-bootstrap` to set up the prefix environment.
10+
Bootstrapping must be fully integrated with the Flatcar SDK before prefix builds are considered stable.
11+
2. Integrate prefix builds with `/build/<board>` environment and use board cross toolchain.
12+
Prefix builds currently use the SDK cross toolchains (`/usr/<arch>-gnu/`) instead of board toolchains in `/build/<board>`.
13+
Prefix builds must be integrated with the board toolchains and stop using `cb-emerge` before considered stable.
14+
3. Add prefix wrappers for all portage tools (similar to board wrappers), not just `emerge`.
15+
4. Add test cases for prefix builds to [mantle/kola](https://github.com/flatcar/mantle/tree/flatcar-master/kola).
16+
517
## About
618

719
Prefix builds let you build and ship applications and all their dependencies in a custom directory.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
- SDK: Experimental support for [prefix builds](https://github.com/flatcar/scripts/blob/main/PREFIX.md) to create distro independent, portable, self-contained applications w/ all dependencies included. With contributions from [chewi](https://github.com/chewi) and [HappyTobi](https://github.com/HappyTobi).

0 commit comments

Comments
 (0)