mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
Keshav:add 3.10 efi modules probing
This commit is contained in:
parent
58ccbd4773
commit
8ac80b699c
1 changed files with 3 additions and 1 deletions
|
@ -3531,7 +3531,7 @@ detect_uefi_secure_boot() {
|
|||
|
||||
detect_uefi_boot() {
|
||||
|
||||
modprobe efivarfs || modprobe efivars
|
||||
modprobe -q efivarfs || modprobe -q efivars
|
||||
|
||||
if [[ -e "/sys/firmware/efi/efivars/ConOut-8be4df61-93ca-11d2-aa0d-00e098032b8c" ]]; then
|
||||
_DETECTED_UEFI_BOOT="1"
|
||||
|
@ -3584,6 +3584,8 @@ do_uefi_common() {
|
|||
|
||||
do_uefi_efibootmgr() {
|
||||
|
||||
modprobe -q efivars
|
||||
|
||||
chroot_mount
|
||||
|
||||
if [[ -d "${DESTDIR}/sys/firmware/efi/vars/ConOut-8be4df61-93ca-11d2-aa0d-00e098032b8c" ]]; then
|
||||
|
|
Loading…
Reference in a new issue