diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2017-03-19 13:51:19 +0100 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2017-03-19 13:53:48 +0100 |
commit | 75beafaab9382148ffdd85d7c1444775b29b44d7 (patch) | |
tree | bc4cf0b4153bb474dd72131b753ac650ab02228c /main/openrc/0006-mount-efivars-read-only.patch | |
parent | e65aa032e89545870845918ca05d4943e0ec10f0 (diff) | |
download | aports-75beafaab9382148ffdd85d7c1444775b29b44d7.tar.bz2 aports-75beafaab9382148ffdd85d7c1444775b29b44d7.tar.xz |
main/openrc: upgrade to 0.24.1
Diffstat (limited to 'main/openrc/0006-mount-efivars-read-only.patch')
-rw-r--r-- | main/openrc/0006-mount-efivars-read-only.patch | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/main/openrc/0006-mount-efivars-read-only.patch b/main/openrc/0006-mount-efivars-read-only.patch index 656cefa197..ec2321dd23 100644 --- a/main/openrc/0006-mount-efivars-read-only.patch +++ b/main/openrc/0006-mount-efivars-read-only.patch @@ -1,4 +1,4 @@ -From 6658bee44645724c17f6b41ab0cf146e5e0c0248 Mon Sep 17 00:00:00 2001 +From 37feb4b716525f0c5c5469f21686ab4efcf06fab Mon Sep 17 00:00:00 2001 From: Natanael Copa <ncopa@alpinelinux.org> Date: Wed, 1 Feb 2017 04:18:53 +0000 Subject: [PATCH 6/7] mount efivars read-only @@ -10,18 +10,18 @@ read-only to play safe. 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.d/sysfs.in b/init.d/sysfs.in -index 6d6ec62c..235aebc3 100644 +index e493f584..bfd0d438 100644 --- a/init.d/sysfs.in +++ b/init.d/sysfs.in -@@ -111,7 +111,7 @@ mount_misc() - ! mountinfo -q /sys/firmware/efi/efivars; then - 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 +@@ -101,7 +101,7 @@ mount_misc() + if [ -d /sys/firmware/efi/efivars ] && + ! mountinfo -q /sys/firmware/efi/efivars; 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 2> /dev/null + eend 0 + fi -- -2.11.0 +2.11.1 |