summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-08-15 03:55:31 +0000
committerMike Frysinger <vapier@gentoo.org>2010-08-15 03:55:31 +0000
commit8442709e548c0fa4073821e4047e086c46ed6e73 (patch)
treee90797f180db7f0592e818c5e055c032c20122f2 /sys-apps
parentVersion bump #327157 by Paolo Pedroni. (diff)
downloadgentoo-2-8442709e548c0fa4073821e4047e086c46ed6e73.tar.gz
gentoo-2-8442709e548c0fa4073821e4047e086c46ed6e73.tar.bz2
gentoo-2-8442709e548c0fa4073821e4047e086c46ed6e73.zip
Slap together an mdev init.d #302171 by William Hubbs.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/busybox/ChangeLog6
-rw-r--r--sys-apps/busybox/busybox-1.17.1.ebuild3
-rwxr-xr-xsys-apps/busybox/files/mdev.rc9
3 files changed, 16 insertions, 2 deletions
diff --git a/sys-apps/busybox/ChangeLog b/sys-apps/busybox/ChangeLog
index 9dbb38ef84cc..c23ac4dcb0da 100644
--- a/sys-apps/busybox/ChangeLog
+++ b/sys-apps/busybox/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/busybox
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/busybox/ChangeLog,v 1.251 2010/08/15 03:22:41 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/busybox/ChangeLog,v 1.252 2010/08/15 03:55:31 vapier Exp $
+
+ 15 Aug 2010; Mike Frysinger <vapier@gentoo.org> busybox-1.17.1.ebuild,
+ +files/mdev.rc:
+ Slap together an mdev init.d #302171 by William Hubbs.
*busybox-1.17.1 (15 Aug 2010)
diff --git a/sys-apps/busybox/busybox-1.17.1.ebuild b/sys-apps/busybox/busybox-1.17.1.ebuild
index 66dd353ce525..0227d1fbb3f8 100644
--- a/sys-apps/busybox/busybox-1.17.1.ebuild
+++ b/sys-apps/busybox/busybox-1.17.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/busybox/busybox-1.17.1.ebuild,v 1.1 2010/08/15 03:22:41 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/busybox/busybox-1.17.1.ebuild,v 1.2 2010/08/15 03:55:31 vapier Exp $
EAPI=2
inherit eutils flag-o-matic savedconfig toolchain-funcs
@@ -203,6 +203,7 @@ src_install() {
insinto /$(get_libdir)/rcscripts/addons
doins "${FILESDIR}"/mdev-start.sh || die
+ newinitd "${FILESDIR}"/mdev.rc mdev || die
fi
# bundle up the symlink files for use later
diff --git a/sys-apps/busybox/files/mdev.rc b/sys-apps/busybox/files/mdev.rc
new file mode 100755
index 000000000000..5470404a8834
--- /dev/null
+++ b/sys-apps/busybox/files/mdev.rc
@@ -0,0 +1,9 @@
+#!/sbin/runscript
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/busybox/files/mdev.rc,v 1.1 2010/08/15 03:55:29 vapier Exp $
+
+start()
+{
+ . /lib/rcscripts/addons/mdev-start.sh
+}