summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/udev/eudev_3.2.14.bb
diff options
context:
space:
mode:
authorJoe Slater <joe.slater@windriver.com>2024-01-18 10:04:31 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-01-21 12:27:12 +0000
commit4a126e31704ab45d8da425fe4e57f3eec817f9f3 (patch)
tree1a847df13d0fb80386948ecbe1ba83330c857650 /meta/recipes-core/udev/eudev_3.2.14.bb
parent269d6cf70af3b05b7909ce213a0d8c28427be723 (diff)
downloadpoky-4a126e31704ab45d8da425fe4e57f3eec817f9f3.tar.gz
eudev: modify predictable network if name search
Consider a name based on mac address in addition to those based on slot or path. Note that as of this commit predictable naming is suppressed by eudev, but can be enabled by removing /etc/udev/rules.d/80-net-name-slot.rules from the root filesystem. (From OE-Core rev: 4a7b42fcf6981d3120c08091a7ed3d4d7bcd41f0) Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/udev/eudev_3.2.14.bb')
-rw-r--r--meta/recipes-core/udev/eudev_3.2.14.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-core/udev/eudev_3.2.14.bb b/meta/recipes-core/udev/eudev_3.2.14.bb
index d0758691bd..ddb3c3340f 100644
--- a/meta/recipes-core/udev/eudev_3.2.14.bb
+++ b/meta/recipes-core/udev/eudev_3.2.14.bb
@@ -10,6 +10,7 @@ DEPENDS = "gperf-native"
10PROVIDES = "udev" 10PROVIDES = "udev"
11 11
12SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${BP}.tar.gz \ 12SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${BP}.tar.gz \
13 file://netifnames.patch \
13 file://init \ 14 file://init \
14 file://local.rules \ 15 file://local.rules \
15 " 16 "
@@ -50,6 +51,7 @@ do_install:append() {
50 51
51 # Use classic network interface naming scheme 52 # Use classic network interface naming scheme
52 touch ${D}${sysconfdir}/udev/rules.d/80-net-name-slot.rules 53 touch ${D}${sysconfdir}/udev/rules.d/80-net-name-slot.rules
54
53} 55}
54 56
55do_install:prepend:class-target () { 57do_install:prepend:class-target () {