Gentoo Archives: gentoo-commits

From: William Hubbs <williamh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/udev-gentoo-scripts:master commit in: init.d/
Date: Wed, 21 Dec 2011 19:51:39
Message-Id: 38bb62cf141070cc62ee1052abecd6dcaa9d74c1.WilliamH@gentoo
1 commit: 38bb62cf141070cc62ee1052abecd6dcaa9d74c1
2 Author: William Hubbs <williamh <AT> gentoo <DOT> org>
3 AuthorDate: Wed Dec 21 19:45:45 2011 +0000
4 Commit: William Hubbs <williamh <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 21 19:45:45 2011 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/udev-gentoo-scripts.git;a=commit;h=38bb62cf
7
8 add -lxc and -vserver keywords to udev-mount and udev-postmount
9
10 udev-mount and udev-postmount do not run in vserver or lxc environments.
11
12 ---
13 init.d/udev-mount | 5 +++++
14 init.d/udev-postmount | 1 +
15 2 files changed, 6 insertions(+), 0 deletions(-)
16
17 diff --git a/init.d/udev-mount b/init.d/udev-mount
18 index bf08587..62742bd 100644
19 --- a/init.d/udev-mount
20 +++ b/init.d/udev-mount
21 @@ -4,6 +4,11 @@
22
23 description="mount devtmpfs or tmpfs on /dev"
24
25 +depend()
26 +{
27 + keyword -vserver -lxc
28 +}
29 +
30 mount_dev_directory()
31 {
32 if mountinfo -q /dev; then
33
34 diff --git a/init.d/udev-postmount b/init.d/udev-postmount
35 index 41c14c1..d689681 100644
36 --- a/init.d/udev-postmount
37 +++ b/init.d/udev-postmount
38 @@ -13,6 +13,7 @@ depend()
39 if [ $(udev_version) -lt 175 ]; then
40 after dbus # for trigger failed
41 fi
42 + keyword -vserver -lxc
43 }
44
45 dir_writeable()