Feature request: move `/usr/lib/bootc/initramfs-setup` to a separate subpackage

Offen
#2,657 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 2 Tagen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
57/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
linux, rust
Bereich
build-system

Rechercherichtung

Start by finding the package definition and the change referenced by commit e589fe15d7b482ff252c0c891ac1580aadb37da8. Check how /usr/lib/bootc/initramfs-setup and /usr/lib/systemd/system/bootc-root-setup.service are packaged, then identify how a separate subpackage can include just those files. Done when the subpackage can be installed without pulling the full bootc package and both files are included.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

I've been testing using mkosi-initrd instead of Dracut, and it's been working really well so far. The only problem is that mkosi-initrd installs entire packages into the initramfs, and the bootc package depends on Podman, which means I have the entirety of Podman installed in my initramfs. Currently, I'm just running rm /usr/bin/podman in the build process, but it would be nice if something similar to e589fe15d7b482ff252c0c891ac1580aadb37da8 were implemented so that only /usr/lib/bootc/initramfs-setup and /usr/lib/systemd/system/bootc-root-setup.service would be installed.

Vorherrschende Sprache
Rust
Sterne
2.3k
Forks
230
Ø Merge
2 T. 11 Std.
Gemergte PRs (30 T.)
42

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus bootc-dev/bootc

Alle Issues in bootc-dev/bootc

Ähnliche Issues

Weitere Issues zu Rust

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.