Changeset 564a569


Ignore:
Timestamp:
05/31/2021 06:28:20 AM (3 years ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
11.0, 11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
95df066
Parents:
ad34447a
Message:

grub setup: don't mount efivarfs again if it's already mounted

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/filesystems/uefi-bootloaders/grub-setup.xml

    rad34447a r564a569  
    238238      The installation of GRUB on a UEFI platform requires that the EFI Variable
    239239      file system, <systemitem class="filesystem">efivarfs</systemitem>, to be
    240       mounted.  As the <systemitem class="username">root</systemitem> user:
    241     </para>
    242 
    243 <screen role="nodump"><userinput>mount -v -t efivarfs efivarfs /sys/firmware/efi/efivars</userinput></screen>
     240      mounted.  As the <systemitem class="username">root</systemitem> user,
     241      mount it if it's not already mounted:
     242    </para>
     243
     244<screen role="nodump"><userinput>mountpoint /sys/firmware/efi/efivars || mount -v -t efivarfs efivarfs /sys/firmware/efi/efivars</userinput></screen>
    244245
    245246    <note revision="systemd">
Note: See TracChangeset for help on using the changeset viewer.