summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2009-03-12 08:41:09 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2009-03-12 08:41:09 +0000
commit3092479df47b5a3c98b75d33f75c81e1d8880758 (patch)
tree4485c5495504fa99468afacc798978c3f0a09448 /sys-fs/udev
parentversion bump, bug 261578 (diff)
downloadgentoo-2-3092479df47b5a3c98b75d33f75c81e1d8880758.tar.gz
gentoo-2-3092479df47b5a3c98b75d33f75c81e1d8880758.tar.bz2
gentoo-2-3092479df47b5a3c98b75d33f75c81e1d8880758.zip
Make init-script only depend on udev-dev-tarball, if the option is set in config file.
(Portage version: 2.1.6.7/cvs/Linux i686)
Diffstat (limited to 'sys-fs/udev')
-rw-r--r--sys-fs/udev/ChangeLog6
-rw-r--r--sys-fs/udev/files/136/udev.initd6
2 files changed, 10 insertions, 2 deletions
diff --git a/sys-fs/udev/ChangeLog b/sys-fs/udev/ChangeLog
index 5d94456e9fe2..200562315f3a 100644
--- a/sys-fs/udev/ChangeLog
+++ b/sys-fs/udev/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-fs/udev
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.454 2009/02/26 22:52:10 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.455 2009/03/12 08:41:09 zzam Exp $
+
+ 12 Mar 2009; Matthias Schwarzott <zzam@gentoo.org> files/136/udev.initd:
+ Make init-script only depend on udev-dev-tarball, if the option is set in
+ config file.
*udev-139 (26 Feb 2009)
diff --git a/sys-fs/udev/files/136/udev.initd b/sys-fs/udev/files/136/udev.initd
index e6c6f67ca04a..60c967238005 100644
--- a/sys-fs/udev/files/136/udev.initd
+++ b/sys-fs/udev/files/136/udev.initd
@@ -15,7 +15,11 @@ depend()
# on linux we just check if sysfs init-script exists
# this is to silence out ugly warnings about not-existing sysfs script
provide dev
- need sysfs udev-mount udev-dev-tarball
+ if yesno "${rc_device_tarball:-no}"; then
+ need sysfs udev-mount udev-dev-tarball
+ else
+ need sysfs udev-mount
+ fi
before checkfs fsck
# udev does not work inside vservers