summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmadeusz Piotr Żołnowski <aidecoe@gentoo.org>2011-03-26 12:15:27 +0000
committerAmadeusz Piotr Żołnowski <aidecoe@gentoo.org>2011-03-26 12:15:27 +0000
commitcb555ba38a09b0ea1ad52372873a124a8295e3ee (patch)
tree0f7f81c75875b0d3c30174265e9cac873b118c6f /sys-apps
parentFixed pear channel name (diff)
downloadgentoo-2-cb555ba38a09b0ea1ad52372873a124a8295e3ee.tar.gz
gentoo-2-cb555ba38a09b0ea1ad52372873a124a8295e3ee.tar.bz2
gentoo-2-cb555ba38a09b0ea1ad52372873a124a8295e3ee.zip
sys-apps/biosdevname: Initial ebuild - version 0.3.8.
(Portage version: 2.1.9.44/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/biosdevname/ChangeLog10
-rw-r--r--sys-apps/biosdevname/biosdevname-0.3.8.ebuild35
-rw-r--r--sys-apps/biosdevname/metadata.xml15
3 files changed, 60 insertions, 0 deletions
diff --git a/sys-apps/biosdevname/ChangeLog b/sys-apps/biosdevname/ChangeLog
new file mode 100644
index 000000000000..f706901b3297
--- /dev/null
+++ b/sys-apps/biosdevname/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for sys-apps/biosdevname
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/biosdevname/ChangeLog,v 1.1 2011/03/26 12:15:27 aidecoe Exp $
+
+*biosdevname-0.3.8 (26 Mar 2011)
+
+ 26 Mar 2011; Amadeusz Żołnowski <aidecoe@gentoo.org>
+ +biosdevname-0.3.8.ebuild, +metadata.xml:
+ Initial ebuild.
+
diff --git a/sys-apps/biosdevname/biosdevname-0.3.8.ebuild b/sys-apps/biosdevname/biosdevname-0.3.8.ebuild
new file mode 100644
index 000000000000..92439ac67e7f
--- /dev/null
+++ b/sys-apps/biosdevname/biosdevname-0.3.8.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/biosdevname/biosdevname-0.3.8.ebuild,v 1.1 2011/03/26 12:15:27 aidecoe Exp $
+
+EAPI="4"
+DESCRIPTION="Sets BIOS-given device names instead of kernel eth* names"
+HOMEPAGE="http://linux.dell.com/biosdevname/"
+SRC_URI="http://linux.dell.com/biosdevname/${P}/${P}.tar.gz"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+DEPEND="sys-apps/pciutils"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ econf --prefix="${EPREFIX}"
+}
+
+pkg_postinst() {
+ elog "To make it working you need to remove"
+ elog ""
+ elog " /etc/udev/rules.d/70-persistent-net.rules"
+ elog ""
+ elog "and then reboot the machine. After reboot ethernet devices names will"
+ elog "change to the ones reported by BIOS. For more information you might"
+ elog "want to read following document:"
+ elog ""
+ elog " http://fedoraproject.org/wiki/Features/ConsistentNetworkDeviceNaming"
+ elog ""
+ elog "To disable this feature, pass biosdevname=0 to kernel command line."
+ elog ""
+ elog "If you use Dracut, you might want to enable 'biosdevname' module"
+ elog "(in DRACUT_MODULES variable)."
+}
diff --git a/sys-apps/biosdevname/metadata.xml b/sys-apps/biosdevname/metadata.xml
new file mode 100644
index 000000000000..7fe9b2beea2b
--- /dev/null
+++ b/sys-apps/biosdevname/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>aidecoe@gentoo.org</email>
+ <name>Amadeusz Żołnowski</name>
+</maintainer>
+<longdescription lang="en">
+biosdevname in its simplest form takes a kernel device name as an argument, and
+returns the BIOS-given name it "should" be. This is necessary on systems where
+the BIOS name for a given device (e.g. the label on the chassis is "Gb1")
+doesn't map directly and obviously to the kernel name (e.g. eth0).
+</longdescription>
+</pkgmetadata>