summaryrefslogtreecommitdiffstats
path: root/source/installer/sources/initrd/sbin/mkbindmounts
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2024-03-11 18:29:55 +0000
committer Eric Hameleers <alien@slackware.com>2024-03-11 19:59:19 +0100
commit30130016eed435a8530c1583fefe1ab8d19d1d50 (patch)
tree6e60b4caa2f1625bdcb616b43b22160147ac0444 /source/installer/sources/initrd/sbin/mkbindmounts
parent8bdf5baa11c2b730e06ea54926b4ffbbfb8a1b3a (diff)
downloadcurrent-30130016eed435a8530c1583fefe1ab8d19d1d50.tar.gz
current-30130016eed435a8530c1583fefe1ab8d19d1d50.tar.xz
Mon Mar 11 18:29:55 UTC 202420240311182955
a/dialog-1.3_20240307-x86_64-1.txz: Upgraded. l/libpaper-2.2.3-x86_64-1.txz: Upgraded. l/libqalculate-5.0.0-x86_64-1.txz: Upgraded. l/pyparsing-3.1.2-x86_64-1.txz: Upgraded. l/python-packaging-24.0-x86_64-1.txz: Upgraded. n/openssh-9.7p1-x86_64-1.txz: Upgraded. Future deprecation notice OpenSSH plans to remove support for the DSA signature algorithm in early 2025 and compile-time disable it later this year. n/wget-1.24.5-x86_64-1.txz: Upgraded. x/iceauth-1.0.10-x86_64-1.txz: Upgraded. x/libXaw-1.0.16-x86_64-1.txz: Upgraded. xap/xaos-4.3.2-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/installer/sources/initrd/sbin/mkbindmounts')
-rwxr-xr-xsource/installer/sources/initrd/sbin/mkbindmounts4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/installer/sources/initrd/sbin/mkbindmounts b/source/installer/sources/initrd/sbin/mkbindmounts
index e5c95c0f1..897889847 100755
--- a/source/installer/sources/initrd/sbin/mkbindmounts
+++ b/source/installer/sources/initrd/sbin/mkbindmounts
@@ -8,3 +8,7 @@ mkdir -p /mnt/{dev,proc,sys}
mount -o rbind /dev /mnt/dev
mount -o rbind /proc /mnt/proc
mount -o rbind /sys /mnt/sys
+# Needed for EFI boot menu operations:
+if [ -d /sys/firmware/efi/efivars ]; then
+ mount -o rbind /sys/firmware/efi/efivars /mnt/sys/firmware/efi/efivars
+fi