summaryrefslogtreecommitdiffstats
path: root/main/openrc/0001-Force-root-be-rw-before-localmount.patch
blob: 3381d9f0ddcc61776489002487266dded52b1e5b (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
From c92e702f6dddab58a749f5fea5479ff2affeb498 Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Tue, 21 Dec 2010 10:29:37 +0000
Subject: [PATCH] Force root be rw before localmount

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

diff --git a/init.d/localmount.in b/init.d/localmount.in
index a4d1116..2895894 100644
--- a/init.d/localmount.in
+++ b/init.d/localmount.in
@@ -6,7 +6,7 @@ description="Mounts disks and swap according to /etc/fstab."
 
 depend()
 {
-	need fsck
+	need fsck root
 	use lvm modules mtab
 	keyword -jail -openvz -prefix -vserver -lxc
 }
-- 
1.7.3.4