aboutsummaryrefslogtreecommitdiffstats
path: root/main/openrc/0007-mount-efivars-read-only.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/openrc/0007-mount-efivars-read-only.patch')
-rw-r--r--main/openrc/0007-mount-efivars-read-only.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/main/openrc/0007-mount-efivars-read-only.patch b/main/openrc/0007-mount-efivars-read-only.patch
deleted file mode 100644
index fccd39ffca..0000000000
--- a/main/openrc/0007-mount-efivars-read-only.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-From 79ec18e070f7ff4a93c5f8bd4d821eee7c21558f Mon Sep 17 00:00:00 2001
-From: Natanael Copa <ncopa@alpinelinux.org>
-Date: Wed, 17 Aug 2016 17:20:15 +0200
-Subject: [PATCH 7/7] mount efivars read-only
-
-unintentional writes to efivars may result in bricked hardware. mount it
-read-only to play safe.
----
- init.d/sysfs.in | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/init.d/sysfs.in b/init.d/sysfs.in
-index 6929810..3e4c26c 100644
---- a/init.d/sysfs.in
-+++ b/init.d/sysfs.in
-@@ -105,7 +105,7 @@ mount_misc()
- modprobe -q efivarfs
- if grep -qs efivarfs /proc/filesystems; then
- ebegin "Mounting efivarfs filesystem"
-- mount -n -t efivarfs -o ${sysfs_opts} \
-+ mount -n -t efivarfs -o ro,${sysfs_opts} \
- efivarfs /sys/firmware/efi/efivars
- eend $?
- fi
---
-2.9.3
-