lint: `/ostree` symlink required ➡️ thinking about composers-native signaling
- Vorherrschende Sprache
- Rust
- Sterne
- 2.3k
- Forks
- 230
- Ø Merge
- 3 T. 3 Std.
- Gemergte PRs (30 T.)
- 36
Beschreibung
Right now `bootc container lint` checks for `/ostree` being a symlink, even if `/sysroot/ostree` isn't present. This is mildly annoying for people doing composefs-native systems.
However: Digging into this, I think what we really want is a more explicit opt-in to a composefs-backed install beyond just "has sealed UKI". We have three knobs:
1. compile time default (in fact I'd like to support compiling bootc without ostree at all, that's a whole other thing)
2. install config
3. Detect `/usr/lib/composefs/setup-root-conf.toml` (even if empty)
Of these, I think 3 is immediately actionable and matches the requirement for `ostree-prepare-root.conf` at least.
Beitragsleitfaden
Rechercherichtung
Beginne mit der Implementierung von `bootc container lint` und verfolge die Prüfung, die voraussetzt, dass `/ostree` ein Symlink ist. Überprüfe, wie `/sysroot/ostree` und `/usr/lib/composefs/setup-root-conf.toml` erkannt werden; dies sollte das beabsichtigte composefs-native Opt-in-Verhalten festlegen und das Lint-Ergebnis entsprechend aktualisieren.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- rust
- Bereich
- operating-systems
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 48/100