Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

Johan-Liebert1
Copy link
Collaborator

@Johan-Liebert1 Johan-Liebert1 commented Sep 18, 2025

Changes in this PR

  • Adds a field cfg_type to BLSConfig which will contain either of the
    following key:
BLSConfig {
    cfg_type: NonEFI {
        linux: String,
        initrd: Vec<String>,
        options: Some(String)
    }
    |
    EFI {
        efi: String
    }
}
  • We did not have config files for systemd-boot and were only using UKIs
    which did not allow proper sorting of the UKIs. This adds .conf files
    to $ESP/loader/entries

  • Preserves UKI addons' names so we don't overwrite previously added addon

  • Adds a cli option --uki-addon to select the addons to install

  • Add logic for upgrading/switching to a deployment with systemd-boot as the bootloader

@bootc-bot bootc-bot bot requested a review from jeckersb September 18, 2025 10:36
@Johan-Liebert1 Johan-Liebert1 force-pushed the bls-bootc-status branch 4 times, most recently from 64d4c27 to 5269030 Compare September 22, 2025 10:12
@Johan-Liebert1 Johan-Liebert1 changed the title Bls bootc status Cleanup systemd UKI support Sep 22, 2025
This is in prep for adding config files for BLS compliant bootloaders
booting via UKI.

Adds a field `cfg_type` to BLSConfig which will contain either of the
following sets of keys:

cfg_type - NonEFI

- linux
- initrd
- options

or

cfg_type - EFI

- efi

Signed-off-by: Pragyan Poudyal <[email protected]>
@Johan-Liebert1 Johan-Liebert1 marked this pull request as ready for review September 23, 2025 13:39
We did not have config files for systemd-boot and were only using UKIs
which did not allow proper sorting of the UKIs. This adds .conf files
to `$ESP/loader/entries`

Also, preserves UKI addons' names so we don't overwrite previously added
addon

Signed-off-by: Pragyan Poudyal <[email protected]>
Add logic for upgrading/switching to a deployment with systemd-boot as
the bootloader. Also update finalize-staged service to handle
systemd-boot bootloader entries for UKIs

Signed-off-by: Pragyan Poudyal <[email protected]>
Allows installing only some of the addons depending upon the list
of addons passed in as cli options.

Signed-off-by: Pragyan Poudyal <[email protected]>
skopeo (in composefs-rs) doesn't understand the transport "registry:",
so we convert it to "docker://" when passing it to skopeo

Signed-off-by: Pragyan Poudyal <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants