summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-02-25 12:42:57 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-02-25 17:54:02 +0000
commit6e71604711f27dc7749716d3d2b24dd0bc467e59 (patch)
tree42e07c6a84c8bc0cc6a6082cbc99cd14cd84e4a2
parentOnly modprobing efivars on efi systems (Closes: #996622). (diff)
downloadmdadm-6e71604711f27dc7749716d3d2b24dd0bc467e59.tar.xz
mdadm-6e71604711f27dc7749716d3d2b24dd0bc467e59.zip
Mounting efivarfs in initrd for Intel fakeraid support (Closes: #1003352).
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--debian/mdadm.initramfs-hook1
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/mdadm.initramfs-hook b/debian/mdadm.initramfs-hook
index bbd84b2..1076f3c 100644
--- a/debian/mdadm.initramfs-hook
+++ b/debian/mdadm.initramfs-hook
@@ -69,6 +69,7 @@ done
if [ -e /sys/firmware/efi ]
then
force_load efivarfs || true
+ mount -t efivarfs -o rw,nosuid,nodev,noexec,relatime efivarfs /sys/firmware/efi/efivars || true
fi
# copy the mdadm configuration