[OE-core] [PATCH 1/1] eudev: Keep classic network interface naming scheme
Alejandro Hernandez
alejandro.hernandez at linux.intel.com
Fri Feb 26 16:33:50 UTC 2016
Creates an empty udev rule, causing the system to use the classic network
interface naming scheme, e. g. eth0, eth1.
Signed-off-by: Alejandro Hernandez <alejandro.hernandez at linux.intel.com>
---
meta/recipes-core/udev/eudev_3.1.5.bb | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta/recipes-core/udev/eudev_3.1.5.bb b/meta/recipes-core/udev/eudev_3.1.5.bb
index 22021a0..4afcfdb 100644
--- a/meta/recipes-core/udev/eudev_3.1.5.bb
+++ b/meta/recipes-core/udev/eudev_3.1.5.bb
@@ -75,6 +75,9 @@ do_install_append(){
rm -f ${D}${base_libdir}/udev/hid2hci
echo 'udev_run="/var/run/udev"' >> ${D}${sysconfdir}/udev/udev.conf
+
+ # Use classic network interface naming scheme
+ touch ${D}${sysconfdir}/udev/rules.d/80-net-name-slot.rules
}
python () {
--
2.6.2
More information about the Openembedded-core
mailing list