diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2009-10-12 13:00:05 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2009-10-12 14:24:28 +0000 |
commit | 880a404a6daca5e4b606bab8d0b67dd581dd242c (patch) | |
tree | 77315dc7357f6f2116380ba766c2e2e64363538e | |
parent | 76a32b96eb1fdb398317bbb8c05755415a28da4b (diff) | |
download | alpine_aports-880a404a6daca5e4b606bab8d0b67dd581dd242c.tar.bz2 alpine_aports-880a404a6daca5e4b606bab8d0b67dd581dd242c.tar.xz alpine_aports-880a404a6daca5e4b606bab8d0b67dd581dd242c.zip |
main/openrc: localmount: don't umount .modloop
fixes #178
(cherry picked from commit 52e59e902232fa150e2e8ced9e66bbd5d4140023)
-rw-r--r-- | main/openrc/APKBUILD | 4 | ||||
-rw-r--r-- | main/openrc/localmount.patch | 12 |
2 files changed, 15 insertions, 1 deletions
diff --git a/main/openrc/APKBUILD b/main/openrc/APKBUILD index a6fab9a3d4..5e15696680 100644 --- a/main/openrc/APKBUILD +++ b/main/openrc/APKBUILD | |||
@@ -1,7 +1,7 @@ | |||
1 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> | 1 | # Maintainer: Natanael Copa <ncopa@alpinelinux.org> |
2 | pkgname=openrc | 2 | pkgname=openrc |
3 | pkgver=0.5.0 | 3 | pkgver=0.5.0 |
4 | pkgrel=11 | 4 | pkgrel=12 |
5 | pkgdesc="OpenRC manages the services, startup and shutdown of a host" | 5 | pkgdesc="OpenRC manages the services, startup and shutdown of a host" |
6 | url="http://roy.marples.name/openrc" | 6 | url="http://roy.marples.name/openrc" |
7 | license='BSD-2' | 7 | license='BSD-2' |
@@ -13,6 +13,7 @@ source="http://roy.marples.name/downloads/$pkgname/$pkgname-$pkgver.tar.bz2 | |||
13 | command-line-size-fix.patch | 13 | command-line-size-fix.patch |
14 | openrc-0.4.3-mkmntdirs.patch | 14 | openrc-0.4.3-mkmntdirs.patch |
15 | openrc-hwclock.patch | 15 | openrc-hwclock.patch |
16 | localmount.patch | ||
16 | hostname.initd | 17 | hostname.initd |
17 | hwdrivers.initd | 18 | hwdrivers.initd |
18 | keymaps.initd | 19 | keymaps.initd |
@@ -51,6 +52,7 @@ md5sums="9ec7f8425e12abbbd0f7a962aae3fa3c openrc-0.5.0.tar.bz2 | |||
51 | 396b1cbd399403ba0448402afc6f9220 command-line-size-fix.patch | 52 | 396b1cbd399403ba0448402afc6f9220 command-line-size-fix.patch |
52 | 8c2c1c2ee0509b63966b7187a2079f4b openrc-0.4.3-mkmntdirs.patch | 53 | 8c2c1c2ee0509b63966b7187a2079f4b openrc-0.4.3-mkmntdirs.patch |
53 | f462c976b04cfbb35b2335be15eee7f6 openrc-hwclock.patch | 54 | f462c976b04cfbb35b2335be15eee7f6 openrc-hwclock.patch |
55 | fa1809cd59cc0559a163bc6adc7398f6 localmount.patch | ||
54 | c32e15b0858eef708497e7ee6355a055 hostname.initd | 56 | c32e15b0858eef708497e7ee6355a055 hostname.initd |
55 | b1e64885f301166df30be3e3cf5338ff hwdrivers.initd | 57 | b1e64885f301166df30be3e3cf5338ff hwdrivers.initd |
56 | 33ca3e558c42cdd17adccbc7807298f7 keymaps.initd | 58 | 33ca3e558c42cdd17adccbc7807298f7 keymaps.initd |
diff --git a/main/openrc/localmount.patch b/main/openrc/localmount.patch new file mode 100644 index 0000000000..c80d640a21 --- /dev/null +++ b/main/openrc/localmount.patch | |||
@@ -0,0 +1,12 @@ | |||
1 | diff -ru openrc-0.5.0.orig/init.d/localmount.in openrc-0.5.0/init.d/localmount.in | ||
2 | --- openrc-0.5.0.orig/init.d/localmount.in 2009-10-09 09:08:43.000000000 +0000 | ||
3 | +++ openrc-0.5.0/init.d/localmount.in 2009-10-09 09:09:08.000000000 +0000 | ||
4 | @@ -31,7 +31,7 @@ | ||
5 | { | ||
6 | # We never unmount / or /dev or $RC_SVCDIR | ||
7 | local x= no_umounts_r="/|/dev|/dev/.*|${RC_SVCDIR}" | ||
8 | - no_umounts_r="${no_umounts_r}|/bin|/sbin|/lib|/libexec" | ||
9 | + no_umounts_r="${no_umounts_r}|/bin|/sbin|/lib|/libexec|/.modloop" | ||
10 | # RC_NO_UMOUNTS is an env var that can be set by plugins | ||
11 | OIFS=$IFS SIFS=${IFS-y} | ||
12 | IFS=$IFS: | ||