aboutsummaryrefslogtreecommitdiffstats
path: root/main/openrc/0002-force-root-be-rw-before-localmount.patch
blob: 5ee5de8b80405d88db340ce5c19b54dde2787153 (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 f0f00e6845edaf75e8b8d5f4ca49035d0ee657cb 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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/init.d/localmount.in b/init.d/localmount.in
index 3dbb375b..c349c951 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.11.0