diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-12-21 10:34:52 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-12-21 10:37:20 +0000 |
commit | a4cc593132e169168d5b701da879998f91f3744c (patch) | |
tree | 9598601a03f1518542074a7920304edefb9bc21e /main/openrc/0001-Force-root-be-rw-before-localmount.patch | |
parent | 78dadab2cd2e23c860dc5bfc52cc59b92484642f (diff) | |
download | aports-a4cc593132e169168d5b701da879998f91f3744c.tar.bz2 aports-a4cc593132e169168d5b701da879998f91f3744c.tar.xz |
main/openrc: apply patch from upstream. force root to be remounted as rw
also remove the .modloop hack. Basically, everytying in 'boot' runlevel
is for bootstrapping the system. Dont expect things work if restart
any of those services.
ref #178
Diffstat (limited to 'main/openrc/0001-Force-root-be-rw-before-localmount.patch')
-rw-r--r-- | main/openrc/0001-Force-root-be-rw-before-localmount.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/main/openrc/0001-Force-root-be-rw-before-localmount.patch b/main/openrc/0001-Force-root-be-rw-before-localmount.patch new file mode 100644 index 0000000000..3381d9f0dd --- /dev/null +++ b/main/openrc/0001-Force-root-be-rw-before-localmount.patch @@ -0,0 +1,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 + |