From 11e10a4870fa318cb04b43ee9b175437e4190e16 Mon Sep 17 00:00:00 2001 From: Ned Ludd Date: Sun, 14 Mar 2010 21:49:33 +0000 Subject: also install mdev.conf when USE=mdev is enabled (+default) (Portage version: 2.1.8.2/cvs/Linux x86_64) --- sys-apps/busybox/ChangeLog | 5 ++++- sys-apps/busybox/busybox-1.16.0.ebuild | 10 ++++++---- sys-apps/busybox/metadata.xml | 5 ++++- 3 files changed, 14 insertions(+), 6 deletions(-) (limited to 'sys-apps/busybox') diff --git a/sys-apps/busybox/ChangeLog b/sys-apps/busybox/ChangeLog index ebf0a7c480c8..62c8a41a16e1 100644 --- a/sys-apps/busybox/ChangeLog +++ b/sys-apps/busybox/ChangeLog @@ -1,6 +1,9 @@ # 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.242 2010/03/14 19:55:15 solar Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/busybox/ChangeLog,v 1.243 2010/03/14 21:49:33 solar Exp $ + + 14 Mar 2010; metadata.xml, busybox-1.16.0.ebuild: + - also install mdev.conf when USE=mdev is enabled (default) *busybox-1.16.0 (14 Mar 2010) diff --git a/sys-apps/busybox/busybox-1.16.0.ebuild b/sys-apps/busybox/busybox-1.16.0.ebuild index 95c553eea80b..7b2a03185011 100644 --- a/sys-apps/busybox/busybox-1.16.0.ebuild +++ b/sys-apps/busybox/busybox-1.16.0.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.16.0.ebuild,v 1.1 2010/03/14 19:55:15 solar Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/busybox/busybox-1.16.0.ebuild,v 1.2 2010/03/14 21:49:33 solar Exp $ EAPI=2 inherit eutils flag-o-matic savedconfig toolchain-funcs @@ -58,7 +58,7 @@ fi LICENSE="GPL-2" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" -IUSE="debug make-symlinks ipv6 -pam selinux static" +IUSE="debug ipv6 make-symlinks +mdev -pam selinux static" RESTRICT="test" DEPEND="selinux? ( sys-libs/libselinux ) @@ -199,8 +199,10 @@ src_install() { else dobin bb || die fi - dosym /bin/bb /sbin/mdev - + if use mdev; then + use make-symlinks || dosym /bin/bb /sbin/mdev + cp "${S}"/examples/mdev_fat.conf "${D}"/etc/mdev.conf + fi insinto /$(get_libdir)/rcscripts/addons doins "${FILESDIR}"/mdev-start.sh || die diff --git a/sys-apps/busybox/metadata.xml b/sys-apps/busybox/metadata.xml index ba1722f5da73..53c8e5b1cd10 100644 --- a/sys-apps/busybox/metadata.xml +++ b/sys-apps/busybox/metadata.xml @@ -2,5 +2,8 @@ embedded -Create all the appropriate symlinks in /bin and /sbin. + +Create all the appropriate symlinks in /bin and /sbin. +Create the appropriate symlink in /sbin and install mdev.conf + -- cgit v1.2.3-65-gdbad