bootc-dev / bootc-dev/bootc

Handle UKI/Type1 boot entries properly

Aperta
#2,144 1 commento 0 reazioni 1 assegnatario Rivendicata da @Johan-Liebert1 Vedi su GitHub
Lingua principale
Rust
Stelle
2.3k
Fork
230
Merge medio
3g 12h
PR unite (30g)
38

Descrizione

Currently in this function https://github.com/bootc-dev/bootc/blob/ca9f93c33f0c1e463035788f4231a3f294dafeea/crates/lib/src/bootc_composefs/boot.rs#L1250 we're relying on `fs.transform_for_boot(&repo)` to return boot entries in some particular order viz

1. Type1 entries in `/boot/loader/entries` (almost never used)
2. UKIs
3. Type1 Kernel + Initrd

We have been getting away with this even though our UKI images contain both UKI + (Kernel + Initrd) because the UKI appear earlier in the list. We should handle this more carefully

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.