aboutsummaryrefslogtreecommitdiffstats
path: root/main/openrc/0002-force-root-be-rw-before-localmount.patch
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2017-03-20 22:17:19 +0200
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2017-03-20 22:17:27 +0200
commite600c084bdf6736681e1e14d66b77c1558eb5835 (patch)
tree074b2433593d511462549ccdd9a06f7b164e4c27 /main/openrc/0002-force-root-be-rw-before-localmount.patch
parent6d539efc7cd7c6d419ebde10c222be8f3f04938b (diff)
downloadaports-e600c084bdf6736681e1e14d66b77c1558eb5835.tar.bz2
aports-e600c084bdf6736681e1e14d66b77c1558eb5835.tar.xz
main/openrc: fix re-mounting root file system
fixes #7042
Diffstat (limited to 'main/openrc/0002-force-root-be-rw-before-localmount.patch')
-rw-r--r--main/openrc/0002-force-root-be-rw-before-localmount.patch14
1 files changed, 8 insertions, 6 deletions
diff --git a/main/openrc/0002-force-root-be-rw-before-localmount.patch b/main/openrc/0002-force-root-be-rw-before-localmount.patch
index be530bf4ed..1c9f12c1a3 100644
--- a/main/openrc/0002-force-root-be-rw-before-localmount.patch
+++ b/main/openrc/0002-force-root-be-rw-before-localmount.patch
@@ -1,23 +1,25 @@
-From 20603f90e49d0000babe6529a5d9b567b4e5f6b0 Mon Sep 17 00:00:00 2001
+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 | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
+ 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..3dbb375b 100644
+index 9c8da2d0..c349c951 100644
--- a/init.d/localmount.in
+++ b/init.d/localmount.in
-@@ -14,8 +14,8 @@ description="Mounts disks and swap according to /etc/fstab."
+@@ -13,9 +13,9 @@ description="Mounts disks and swap according to /etc/fstab."
+
depend()
{
- need fsck
+- 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