Skip to content

Get kargs from usr/lib/bootc/kargs.d#1783

Merged
cgwalters merged 3 commits intobootc-dev:mainfrom
Johan-Liebert1:bootc-kargs.d
Nov 24, 2025
Merged

Get kargs from usr/lib/bootc/kargs.d#1783
cgwalters merged 3 commits intobootc-dev:mainfrom
Johan-Liebert1:bootc-kargs.d

Conversation

@Johan-Liebert1
Copy link
Collaborator

Parse toml files in usr/lib/bootc/kargs.d and append them to kernel
cmdline on install and upgrade/switch. Also, copy over current
deployment's cmdline args on upgrade/switch to another deployment

storage: Add boot_dir and esp fields

We have a lot of places where we mount the ESP temporarily and a lot of
switch cases for Grub's vs SystemdBoot's 'boot' directory.

We add a boot_dir field in Storage which points to /sysroot/boot for
systems with Grub as the bootloader and points to the ESP for systems
with SystemdBoot as the bootloader.

Also we mount the ESP temporarily while creating the storage struct,
which cleans up the code quite a bit.

Loading
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