Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add /usr/lib/bootc/kargs.d support #401

Merged
merged 1 commit into from
Jun 11, 2024

Commits on Jun 10, 2024

  1. add /usr/lib/bootc/kargs.d support

    Fixes containers#255. Allows users to create files within /usr/lib/bootc/kargs.d with kernel arguments. These arguments can now be applied on a switch, upgrade, or edit.
    
    General process:
    - use ostree commit of fetched container image to return
    the file tree
    - navigate to /usr/lib/bootc/kargs.d
    - read each file within the directory
    - calculate the diff between the booted and fetched kargs in kargs.d
    - apply the diff to the kargs currently on the running system
    - pass the kargs to the stage() function
    
    Signed-off-by: Luke Yang <luyang@redhat.com>
    lukewarmtemp committed Jun 10, 2024
    Configuration menu
    Copy the full SHA
    0d185b4 View commit details
    Browse the repository at this point in the history