lint: `/ostree` symlink required ➡️ thinking about composers-native signaling
- Lenguaje dominante
- Rust
- Estrellas
- 2.3k
- Forks
- 230
- Merge medio
- 3 d 3 h
- PR fusionados (30 d)
- 36
Descripción
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.
Guía de contribución
Línea de trabajo
Comienza con la implementación de `bootc container lint` y sigue la comprobación que requiere que `/ostree` sea un enlace simbólico. Revisa cómo se detectan `/sysroot/ostree` y `/usr/lib/composefs/setup-root-conf.toml`; esto debería establecer el comportamiento de opt-in composefs-native previsto y actualizar en consecuencia el resultado de lint.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- rust
- Área
- operating-systems
- Tipo de issue
- Nueva funcionalidad
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Tranquilo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 48/100