Patchwork [1/1] Add new package: biosdevname

login
register
mail settings
Submitter Ryan Wilkins
Date Jan. 27, 2014, 7:29 p.m.
Message ID <A0E64B20-F2BB-4935-BEBF-1FFE74692D47@deadfrog.net>
Download mbox | patch
Permalink /patch/314470/
State Superseded
Headers show

Comments

Ryan Wilkins - Jan. 27, 2014, 7:29 p.m.
From 99a9db6dcb8c5c21b7e0e2b26163581e18cc9ae7 Mon Sep 17 00:00:00 2001
From: Ryan Wilkins <ryan@deadfrog.net>
Date: Wed, 22 Jan 2014 15:33:14 -0600
Subject: [PATCH 1/1] Add new package: biosdevname


Signed-off-by: Ryan Wilkins <ryan@deadfrog.net>
---
 package/Config.in                  |    1 +
 package/biosdevname/Config.in      |   14 ++++++++++++++
 package/biosdevname/biosdevname.mk |   15 +++++++++++++++
 3 files changed, 30 insertions(+)
 create mode 100644 package/biosdevname/Config.in
 create mode 100644 package/biosdevname/biosdevname.mk

Patch

diff --git a/package/Config.in b/package/Config.in
index fcbf720..e3d2adb 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -265,6 +265,7 @@  endmenu
 source "package/a10disp/Config.in"
 source "package/acpid/Config.in"
 source "package/avrdude/Config.in"
+source "package/biosdevname/Config.in"
 source "package/cdrkit/Config.in"
 source "package/cryptsetup/Config.in"
 source "package/cwiid/Config.in"
diff --git a/package/biosdevname/Config.in b/package/biosdevname/Config.in
new file mode 100644
index 0000000..c0fd9e6
--- /dev/null
+++ b/package/biosdevname/Config.in
@@ -0,0 +1,14 @@ 
+config BR2_PACKAGE_BIOSDEVNAME
+	bool "biosdevname"
+	depends on BR2_PACKAGE_UDEV
+	select BR2_PACKAGE_PCIUTILS
+	help
+	  Biosdevname is a udev helper that looks at various BIOS tables to
+	  figure out what the actual hardware names are for Ethernet ports
+	  and renames the ports accordingly.
+	  
+	  This has the advantage of always referring to the same port
+	  regardless of system or hardware changes that might otherwise
+	  alter the typical ethX naming.
+
+	  http://linux.dell.com/biosdevname/
diff --git a/package/biosdevname/biosdevname.mk b/package/biosdevname/biosdevname.mk
new file mode 100644
index 0000000..63117d9
--- /dev/null
+++ b/package/biosdevname/biosdevname.mk
@@ -0,0 +1,15 @@ 
+################################################################################
+#
+# biosdevname
+#
+################################################################################
+
+BIOSDEVNAME_VERSION = 0.4.1
+BIOSDEVNAME_SOURCE = biosdevname-$(BIOSDEVNAME_VERSION).tar.gz
+BIOSDEVNAME_SITE = http://linux.dell.com/biosdevname/biosdevname-$(BIOSDEVNAME_VERSION)
+BIOSDEVNAME_INSTALL_STAGING = NO
+BIOSDEVNAME_INSTALL_TARGET = YES
+BIOSDEVNAME_CONF_OPT = --exec-prefix=/
+BIOSDEVNAME_DEPENDENCIES = pciutils
+
+$(eval $(autotools-package))