diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-02-25 12:42:57 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2023-02-25 17:54:02 +0000 |
commit | 6e71604711f27dc7749716d3d2b24dd0bc467e59 (patch) | |
tree | 42e07c6a84c8bc0cc6a6082cbc99cd14cd84e4a2 | |
parent | Only modprobing efivars on efi systems (Closes: #996622). (diff) | |
download | mdadm-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-hook | 1 |
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 |