Index: postlfs/filesystems/uefi-bootloaders/grub-setup.xml
===================================================================
--- postlfs/filesystems/uefi-bootloaders/grub-setup.xml (revision ad34447a333b94341d1836e083815b1a2196ef80)
+++ postlfs/filesystems/uefi-bootloaders/grub-setup.xml (revision 564a569aa31432c6bc73e55cea547a8408abba8c)
@@ -238,8 +238,9 @@
The installation of GRUB on a UEFI platform requires that the EFI Variable
file system, efivarfs, to be
- mounted. As the root user:
-
-
-mount -v -t efivarfs efivarfs /sys/firmware/efi/efivars
+ mounted. As the root user,
+ mount it if it's not already mounted:
+
+
+mountpoint /sys/firmware/efi/efivars || mount -v -t efivarfs efivarfs /sys/firmware/efi/efivars