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

compatibility for bootc image #146

Merged
merged 2 commits into from
Aug 16, 2024
Merged

Commits on Aug 16, 2024

  1. support for read only /boot mount

    Support is added for greenboot to work with read-only /boot.
    It uses PrivateMounts=yes to isolate the system and remounts
    boot as rw followed by setting the grub parameters as per healthcheck.
    
    The following services are affected:
    
    greenboot-grub2-set-success.service
    greenboot-grub2-set-counter.service
    greenboot-rpm-ostree-check-fallback.service
    
    The grub2-editenv command is decoupled from greenboot-grub2-set-success.service
    and is part of a separate script.
    
    Signed-off-by: saypaul <[email protected]>
    say-paul committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    1e4e440 View commit details
    Browse the repository at this point in the history
  2. auto-detect image type and use correct rollback

    greenboot will able able to detect the image type of the os,
    i.e ostree or bootc and use the correct verb to rollback to
    previous stable deployment.
    
    Signed-off-by: saypaul <[email protected]>
    say-paul committed Aug 16, 2024
    Configuration menu
    Copy the full SHA
    6b51ec9 View commit details
    Browse the repository at this point in the history