diff options
-rw-r--r-- | debian/mdadm.initramfs-hook | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/debian/mdadm.initramfs-hook b/debian/mdadm.initramfs-hook index c89d034..bbd84b2 100644 --- a/debian/mdadm.initramfs-hook +++ b/debian/mdadm.initramfs-hook @@ -66,7 +66,10 @@ for module in linear multipath raid0 raid1 raid456 raid5 raid6 raid10; do done # load efivars for Intel RST IMSM, see Bug#962844 -force_load efivarfs || true +if [ -e /sys/firmware/efi ] +then + force_load efivarfs || true +fi # copy the mdadm configuration CONFIG=/etc/mdadm/mdadm.conf |