aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/udev
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/udev')
-rw-r--r--recipes/udev/files/nokia900/70-persistent-net.rules9
-rw-r--r--recipes/udev/udev_151.bb4
2 files changed, 12 insertions, 1 deletions
diff --git a/recipes/udev/files/nokia900/70-persistent-net.rules b/recipes/udev/files/nokia900/70-persistent-net.rules
new file mode 100644
index 0000000000..5f1d611f9b
--- /dev/null
+++ b/recipes/udev/files/nokia900/70-persistent-net.rules
@@ -0,0 +1,9 @@
+# This file was automatically generated by the /lib/udev/write_net_rules
+# # program, run by the persistent-net-generator.rules rules file.
+# #
+# # You can modify it, as long as you keep each rule on a single
+# # line, and change only the value of the NAME= key.
+#
+# # net device ()
+# SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:1f:df:*", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
+
diff --git a/recipes/udev/udev_151.bb b/recipes/udev/udev_151.bb
index ac14b5697f..c903f0e449 100644
--- a/recipes/udev/udev_151.bb
+++ b/recipes/udev/udev_151.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "udev is a daemon which dynamically creates and removes device nod
the hotplug package and requires a kernel not older than 2.6.12."
LICENSE = "GPLv2+"
-PR = "r21"
+PR = "r22"
# Untested
DEFAULT_PREFERENCE = "-1"
@@ -43,6 +43,7 @@ SRC_URI_append_bug = " \
SRC_URI_append_nokia900 = " \
file://10-cmt_speech.rules \
+ file://70-persistent-net.rules \
file://udev-rules-nokia-n900-hacks.rules \
file://udev-rules-nokia-n900-snd.rules \
file://nokia-n900-mac-hack.sh \
@@ -154,6 +155,7 @@ do_install_append_bug() {
do_install_append_nokia900() {
install -m 0644 ${WORKDIR}/10-cmt_speech.rules ${D}${sysconfdir}/udev/rules.d/10-cmt_speech.rules
+ install -m 0644 ${WORKDIR}/70-persistent-net.rules ${D}${sysconfdir}/udev/rules.d/70-persistent-net.rules
install -m 0644 ${WORKDIR}/udev-rules-nokia-n900-hacks.rules ${D}${sysconfdir}/udev/rules.d/udev-rules-nokia-n900-hacks.rules
install -m 0644 ${WORKDIR}/udev-rules-nokia-n900-snd.rules ${D}${sysconfdir}/udev/rules.d/udev-rules-nokia-n900-snd.rules
install -m 0755 ${WORKDIR}/nokia-n900-mac-hack.sh ${D}${sysconfdir}/udev/scripts/nokia-n900-mac-hack.sh