lint: `/ostree` symlink required ➡️ thinking about composers-native signaling
- 主要言語
- Rust
- スター
- 2.3k
- フォーク
- 230
- 平均マージ
- 3日 3時間
- マージ済み PR(30日)
- 36
説明
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.
コントリビューションガイド
調査の方向性
`bootc container lint` の実装から始め、`/ostree` がシンボリックリンクであることを要求するチェックを追跡します。`/sysroot/ostree` と `/usr/lib/composefs/setup-root-conf.toml` がどのように検出されるかを確認します。これにより、意図された composefs-native のオプトイン動作を確立し、それに応じて lint 結果を更新できるはずです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- rust
- 領域
- operating-systems
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 48/100