aboutsummaryrefslogtreecommitdiffstats
path: root/main/openrc/0002-force-root-be-rw-before-localmount.patch
blob: 1c9f12c1a39bb796f6781f29b6225d1fc76623dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
From 228df9f1f21e08ec659d5fcf1f716393e563a3a5 Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Wed, 1 Feb 2017 04:05:44 +0000
Subject: [PATCH 2/7] force root be rw before localmount

The service that pulls in root remount is mtab which we dont need/use.
---
 init.d/localmount.in | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/init.d/localmount.in b/init.d/localmount.in
index 9c8da2d0..c349c951 100644
--- a/init.d/localmount.in
+++ b/init.d/localmount.in
@@ -13,9 +13,9 @@ description="Mounts disks and swap according to /etc/fstab."
 
 depend()
 {
-	need fsck
-	use lvm modules mtab root
-	after lvm modules root
+	need fsck root
+	use lvm modules mtab
+	after lvm modules
 	keyword -docker -jail -lxc -prefix -systemd-nspawn -vserver
 }
 
-- 
2.11.1