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

Rhel9 more ostreecontainer #5423

Closed

Commits on Jan 25, 2024

  1. ostree: Use bootupd if installed by payload

    Original commit message from Colin Walters was:
    
    The https://github.com/coreos/bootupd project was created to fill
    the gap in bootloader management for ostree-based systems.
    
    When it was created, it was just integrated into Fedora CoreOS
    and derivatives; this left the Atomic Desktops (Silverblue etc.)
    as unfixed, and it was never used by RHEL for Edge.
    
    This PR is aiming to circle back and close that gap.  We
    detect if bootupd is in the target root; if it is, then
    we skip the regular bootloader work, and just run bootupd to
    perform the installation.
    
    The other hacks we have around the grub config are no longer
    necessary in this mode.
    
    (cherry picked from commit 8e690d5)
    
    Related: RHEL-2250
    VladimirSlavik authored and cgwalters committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    5e0dbdd View commit details
    Browse the repository at this point in the history
  2. bootloader: Detect bootupd and skip regular install

    (cherry picked from commit 0d42d2f)
    
    Related: RHEL-2250
    VladimirSlavik authored and cgwalters committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    6a2da1f View commit details
    Browse the repository at this point in the history
  3. bootupd: Use --write-uuid

    This is an even newer behavior that takes over handling
    of the "UUID stamp files", which we want in general instead of
    using the static labels.
    
    Note `--write-uuid` implies `--with-static-configs`.
    
    This should fix this use case:
    
    ```
    clearpart --all --initlabel --disklabel=gpt
    reqpart --add-boot
    part / --grow --fstype xfs
    ```
    
    Whereas right now we require:
    
    ```
    clearpart --all --initlabel --disklabel=gpt
    reqpart
    part /boot --size=1000  --fstype=ext4 --label=boot
    part / --grow --fstype xfs
    ```
    
    Specifically the `--label=boot`.
    
    (cherry picked from commit 7b091de)
    
    Related: RHEL-2250
    cgwalters committed Jan 25, 2024
    Configuration menu
    Copy the full SHA
    6e18b20 View commit details
    Browse the repository at this point in the history