[rhinstaller/blivet/pulls/219 master] Mount efivarfs during os installation (#1260799)

AdamWill installerbot-noreply at redhat.com
Tue Sep 8 23:18:59 UTC 2015


If I add this:

    --- a/blivet/formats/fs.py
    +++ b/blivet/formats/fs.py
    @@ -1297,3 +1297,9 @@ class USBFS(NoDevFS):
         _type = "usbfs"
     
     register_device_format(USBFS)
    +
    +
    +class EFIVarFS(NoDevFS):
    +    _type = "efivarfs"
    +
    +register_device_format(EFIVarFS)

to @bcl 's patch then the install runs, and I can see that selinuxfs is mounted twice now. However it's mounted with different options in the install root:

    efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
    efivarfs on /mnt/sysimage/sys/firmware/efi/efivars type efivarfs (rw,relatime)

not sure if we need to tweak the EFIVarFS class to fix that. It does seem to *work*, though: `efibootmgr` calls succeed again and there's no error, and I can run `efibootmgr` manually from after doing a `chroot` also.
-- 
To view this pull request on github, visit https://github.com/rhinstaller/blivet/pull/219


More information about the anaconda-patches mailing list