bootc-dev / bootc-dev/bootc

lint: `/ostree` symlink required ➡️ thinking about composers-native signaling

Aperta
#2,256 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
area/composefs bug
Lingua principale
Rust
Stelle
2.3k
Fork
230
Merge medio
3g 12h
PR unite (30g)
38

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start with the `bootc container lint` implementation and trace the check that requires `/ostree` to be a symlink. Review how `/sysroot/ostree` and `/usr/lib/composefs/setup-root-conf.toml` are detected; done should establish the intended composefs-native opt-in behavior and update the lint result accordingly.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
rust
Ambito
operating-systems
Tipo di issue
Funzionalità
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
48/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.