summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2007-05-27 08:15:44 +0000
committerMatthias Schwarzott <zzam@gentoo.org>2007-05-27 08:15:44 +0000
commit40b1df771cd16a9ead86f1d40f03fa532e8bfb23 (patch)
treeed69683e21088182ad0dd36f0179e37baeac074a /sys-fs
parentStable on mips. (diff)
downloadgentoo-2-40b1df771cd16a9ead86f1d40f03fa532e8bfb23.tar.gz
gentoo-2-40b1df771cd16a9ead86f1d40f03fa532e8bfb23.tar.bz2
gentoo-2-40b1df771cd16a9ead86f1d40f03fa532e8bfb23.zip
Changed udev-start.sh to return an exit-code of 0, to not let baselayout think udev failed, and start mdev afterwards, solving bug #179847.
(Portage version: 2.1.2.7)
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/udev/ChangeLog10
-rw-r--r--sys-fs/udev/files/digest-udev-111-r3 (renamed from sys-fs/udev/files/digest-udev-111-r2)0
-rw-r--r--sys-fs/udev/files/udev-start-111-r3.sh (renamed from sys-fs/udev/files/udev-start-111-r2.sh)3
-rw-r--r--sys-fs/udev/udev-111-r3.ebuild (renamed from sys-fs/udev/udev-111-r2.ebuild)4
4 files changed, 14 insertions, 3 deletions
diff --git a/sys-fs/udev/ChangeLog b/sys-fs/udev/ChangeLog
index 58b48cb2458b..7b33a4461484 100644
--- a/sys-fs/udev/ChangeLog
+++ b/sys-fs/udev/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for sys-fs/udev
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.309 2007/05/25 13:51:07 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/ChangeLog,v 1.310 2007/05/27 08:15:44 zzam Exp $
+
+*udev-111-r3 (27 May 2007)
+
+ 27 May 2007; Matthias Schwarzott <zzam@gentoo.org>
+ -files/udev-start-111-r2.sh, +files/udev-start-111-r3.sh,
+ -udev-111-r2.ebuild, +udev-111-r3.ebuild:
+ Changed udev-start.sh to return an exit-code of 0, to not let baselayout
+ think udev failed, and start mdev afterwards, solving bug #179847.
*udev-111-r2 (25 May 2007)
diff --git a/sys-fs/udev/files/digest-udev-111-r2 b/sys-fs/udev/files/digest-udev-111-r3
index 6cefddeda901..6cefddeda901 100644
--- a/sys-fs/udev/files/digest-udev-111-r2
+++ b/sys-fs/udev/files/digest-udev-111-r3
diff --git a/sys-fs/udev/files/udev-start-111-r2.sh b/sys-fs/udev/files/udev-start-111-r3.sh
index fbc867a21e4c..53ff8db091ce 100644
--- a/sys-fs/udev/files/udev-start-111-r2.sh
+++ b/sys-fs/udev/files/udev-start-111-r3.sh
@@ -199,6 +199,9 @@ main() {
# trigger executing initscript when /etc is writable
IN_HOTPLUG=1 /etc/init.d/udev-postmount start >/dev/null 2>/dev/null
+
+ # udev started successfully
+ return 0
}
main
diff --git a/sys-fs/udev/udev-111-r2.ebuild b/sys-fs/udev/udev-111-r3.ebuild
index 2b1a5e01ec79..3642ecb52a85 100644
--- a/sys-fs/udev/udev-111-r2.ebuild
+++ b/sys-fs/udev/udev-111-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-111-r2.ebuild,v 1.1 2007/05/25 13:51:07 zzam Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/udev/udev-111-r3.ebuild,v 1.1 2007/05/27 08:15:44 zzam Exp $
inherit eutils flag-o-matic multilib toolchain-funcs
@@ -172,7 +172,7 @@ src_install() {
# our udev hooks into the rc system
insinto /$(get_libdir)/rcscripts/addons
- newins "${FILESDIR}"/udev-start-111-r2.sh udev-start.sh
+ newins "${FILESDIR}"/udev-start-111-r3.sh udev-start.sh
newins "${FILESDIR}"/udev-stop-111-r2.sh udev-stop.sh
# The udev-post init-script