mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
installer: Setup efivarfs when possible
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
committed by
Peter Müller
parent
76050bdcf2
commit
27944cdc4a
@@ -23,6 +23,7 @@ install() {
|
||||
|
||||
# Kernel drivers
|
||||
instmods =drivers/hid
|
||||
instmods efivarfs
|
||||
|
||||
# Network drivers
|
||||
instmods =drivers/net/ethernet =drivers/net/usb
|
||||
|
||||
@@ -8,6 +8,11 @@ if grep -q "installer.unattended" /proc/cmdline; then
|
||||
unattended=1
|
||||
fi
|
||||
|
||||
# Mount efivarfs on EFI systems
|
||||
if [ -d "/sys/firmware/efi" ]; then
|
||||
mount -t efivarfs efivarfs /sys/firmware/efi/efivars
|
||||
fi
|
||||
|
||||
# Enable Unicode
|
||||
echo -en '\033%G' && kbd_mode -u
|
||||
|
||||
|
||||
Reference in New Issue
Block a user