aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKlaus Kurzmann <mok@fluxnetz.de>2010-12-11 22:37:12 +0100
committerKlaus Kurzmann <mok@fluxnetz.de>2010-12-11 22:37:12 +0100
commitfa019cdfdb0b1c32bf5297f29891dcd9aa0486b7 (patch)
treee7da1622926bbde871b5455dc6360540cd713f05
parentfcf239dbbcd6716f7604e4cf3abc74b718721b51 (diff)
downloadopenembedded-fa019cdfdb0b1c32bf5297f29891dcd9aa0486b7.zip
openembedded-fa019cdfdb0b1c32bf5297f29891dcd9aa0486b7.tar.gz
openembedded-fa019cdfdb0b1c32bf5297f29891dcd9aa0486b7.tar.bz2
udev_151.bb: add pre-generated 70-persistent-net.rules for nokia900
Signed-off-by: Klaus Kurzmann <mok@fluxnetz.de>
-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 0000000..5f1d611
--- /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 ac14b56..c903f0e 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