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

Ensure that efivarfs is mounted in the container #302

Merged
merged 1 commit into from
Feb 12, 2024

Commits on Feb 12, 2024

  1. Ensure that efivarfs is mounted in the container

    Especially on ARM, which utilizes UEFI for booting in most cases, it is
    important that the /sys/firmware/efi/efivars be mounted and populated,
    otherwise bootc will fail to complete a to-filesystem installation.
    
    This patch attempts a mount as long as the hosts efivars directory has
    an entry, signifying the system is at least capable of UEFI.
    
    Note that it is sufficient to just attempt to mount efivars. If it's
    already mounted elsewhere, it triggers the mount to be made at the /sys
    location.
    
    Fixes containers#291
    
    Signed-off-by: Brad P. Crochet <brad@redhat.com>
    bcrochet committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    408f16e View commit details
    Browse the repository at this point in the history