aboutsummaryrefslogtreecommitdiffstats
path: root/main/openrc/0002-force-root-be-rw-before-localmount.patch
blob: 7c14c94a28b9f7a424d2080b4546af98331c159e (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 485b33d2474c040d433b0e7b6e1b5cc81b280a70 Mon Sep 17 00:00:00 2001
From: Natanael Copa <ncopa@alpinelinux.org>
Date: Wed, 17 Aug 2016 17:13:20 +0200
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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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