Keshav:add 3.10 efi modules probing

This commit is contained in:
Tobias Powalowski 2013-06-30 13:26:29 +02:00
parent 58ccbd4773
commit 8ac80b699c

View file

@ -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