Compare commits

...

4 Commits

Author SHA1 Message Date
William Hubbs
7279b469ec release openrc-0.11.1 2012-10-19 22:30:40 -05:00
William Hubbs
8482008559 tmfiles: change need dev to use dev.
This is being changed to use for the reason I stated in the previous
commit. There is no guarantee that someone is using a device manager.
2012-10-19 21:52:20 -05:00
William Hubbs
463d4ef00a devfs: Remove references to specific device managers
There were references in the devfs script to mdev, udev and
udev-mount. These all provide the virtuals dev and dev-mount; that is
how we should refer to them.

I believe in the discussion I had with Tony and Robin about this, we
were going to change the "use" line to "need". However, after thinking
that over, I'm not comfortable doing so because someone could be running
a static /dev with no device manager.

Reported-by: <tokiclover@gmail.com>
X-Gentoo-Bug: 438932
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=438932
2012-10-19 21:50:51 -05:00
William Hubbs
b5629d4ea0 Fix bashism in tmpfilesd scripts
Reported-by: <pesa@gentoo.org>
2012-10-19 13:09:58 -05:00
4 changed files with 6 additions and 6 deletions

View File

@@ -1,3 +1,3 @@
NAME= openrc
VERSION= 0.11
VERSION= 0.11.1
PKG= ${NAME}-${VERSION}

View File

@@ -5,8 +5,8 @@
description="Mount system critical filesystems in /dev."
depend() {
use dev-mount udev-mount
before udev mdev
use dev-mount
before dev
keyword -prefix -vserver
}

View File

@@ -11,7 +11,7 @@ depend()
start()
{
ebegin "${description/Create/Creating}"
ebegin "Creating ${description#Create }"
@LIBEXECDIR@/sh/tmpfiles.sh --create ${tmpfiles_opts}
eend $?
return 0

View File

@@ -8,12 +8,12 @@ depend()
{
# Convert to 'need dev' when the new udev is ready, for OpenRC 0.11
#need dev-mount
need dev
use dev
}
start()
{
ebegin "${description/Create/Creating}"
ebegin "Creating ${description#Create }"
@LIBEXECDIR@/sh/tmpfiles.sh --create ${tmpfiles_opts}
eend $?
return 0