/[gentoo-x86]/sys-apps/biosdevname/biosdevname-0.3.11-r1.ebuild
Gentoo

Contents of /sys-apps/biosdevname/biosdevname-0.3.11-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.5 - (show annotations) (download)
Wed May 16 22:09:20 2012 UTC (2 years, 7 months ago) by aidecoe
Branch: MAIN
Changes since 1.4: +1 -1 lines
Revert accident modification of biosdevname-0.3.11-r1.ebuild.

(Portage version: 2.1.10.59/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sys-apps/biosdevname/biosdevname-0.3.11-r1.ebuild,v 1.3 2012/03/24 17:15:36 phajdan.jr Exp $
4
5 EAPI=4
6
7 DESCRIPTION="Sets BIOS-given device names instead of kernel eth* names"
8 HOMEPAGE="http://linux.dell.com/biosdevname/"
9 SRC_URI="http://linux.dell.com/biosdevname/${P}/${P}.tar.gz"
10
11 LICENSE="GPL-2"
12 SLOT="0"
13 KEYWORDS="amd64 x86"
14 IUSE=""
15
16 CDEPEND="sys-fs/udev"
17 DEPEND="${CDEPEND}
18 sys-apps/pciutils"
19 RDEPEND="${CDEPEND}"
20
21 src_prepare() {
22 default
23 sed -e 's|/sbin/biosdevname|/usr\0|g' -i "${S}"/biosdevname.rules.in
24 }
25
26 pkg_postinst() {
27 elog "To make it working you need to remove"
28 elog ""
29 elog " /etc/udev/rules.d/70-persistent-net.rules"
30 elog ""
31 elog "and then reboot the machine. After reboot ethernet devices names will"
32 elog "change to the ones reported by BIOS. For more information you might"
33 elog "want to read following document:"
34 elog ""
35 elog " http://fedoraproject.org/wiki/Features/ConsistentNetworkDeviceNaming"
36 elog ""
37 elog "To disable this feature, pass biosdevname=0 to kernel command line."
38 elog ""
39 elog "If you use Dracut, you might want to enable 'biosdevname' module"
40 elog "(in DRACUT_MODULES variable)."
41 }

  ViewVC Help
Powered by ViewVC 1.1.20