summaryrefslogtreecommitdiffstats
path: root/source/installer/sources
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2023-03-21 21:18:59 +0000
committer Eric Hameleers <alien@slackware.com>2023-03-21 23:41:13 +0100
commit6b6caf66ba2adca3cda2fb7b9a739fbf08d5aeba (patch)
tree4e59b59a42bb328c62948c9a983a18d511c61f4a /source/installer/sources
parent1b82981c9672f79d8134d7fe221ac7e171e1c06b (diff)
downloadcurrent-6b6caf66ba2adca3cda2fb7b9a739fbf08d5aeba.tar.gz
current-6b6caf66ba2adca3cda2fb7b9a739fbf08d5aeba.tar.xz
Tue Mar 21 21:18:59 UTC 202320230321211859
a/elilo-3.16-x86_64-15.txz: Rebuilt. eliloconfig: drop support for old EFI vars interface. Mount efivarfs on /sys/firmware/efi/efivars if we find that the directory is empty. d/indent-2.2.13-x86_64-1.txz: Upgraded. d/scons-4.5.2-x86_64-1.txz: Upgraded. x/libva-2.18.0-x86_64-1.txz: Upgraded. xap/mozilla-firefox-111.0.1-x86_64-1.txz: Upgraded. This is a bugfix release. For more information, see: https://www.mozilla.org/en-US/firefox/111.0.1/releasenotes/ xfce/xfce4-clipman-plugin-1.6.3-x86_64-1.txz: Upgraded. extra/tigervnc/tigervnc-1.13.1-x86_64-1.txz: Upgraded. isolinux/initrd.img: Rebuilt. Make sure efivarfs is mounted on UEFI systems. usb-and-pxe-installers/usbboot.img: Rebuilt. Make sure efivarfs is mounted on UEFI systems.
Diffstat (limited to 'source/installer/sources')
-rwxr-xr-xsource/installer/sources/initrd/usr/lib/setup/setup4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/installer/sources/initrd/usr/lib/setup/setup b/source/installer/sources/initrd/usr/lib/setup/setup
index 98984cd3a..94b8a41a1 100755
--- a/source/installer/sources/initrd/usr/lib/setup/setup
+++ b/source/installer/sources/initrd/usr/lib/setup/setup
@@ -61,6 +61,10 @@ To do this, you'll need to leave 'setup', and make the partitions using \
information, read the 'setup' help file from the next menu." 10 64
fi
if [ -d /sys/firmware/efi ]; then
+ # First, let's make sure that efivarfs is active:
+ if [ "$(/bin/ls /sys/firmware/efi/efivars 2> /dev/null | wc -l)" = "0" ]; then
+ mount -t efivarfs none /sys/firmware/efi/efivars
+ fi
if ! probe -l 2> /dev/null | grep "EFI System Partition" 1> /dev/null 2> /dev/null ; then
dialog --title "NO EFI SYSTEM PARTITION DETECTED" \
--msgbox "This machine appears to be using EFI/UEFI, but no EFI System \