diff options
author | Anders Roxell <anders.roxell@linaro.org> | 2014-02-12 23:40:06 +0100 |
---|---|---|
committer | Anders Roxell <anders.roxell@linaro.org> | 2014-02-14 14:33:11 +0100 |
commit | 762324afd8b964ba2cf5904a0a6b28ca95431a16 (patch) | |
tree | d32523a171d1b03fc91830c1eb4422d2395a5b39 | |
parent | 623283f83ef8ab611f87feb81156805198f9275b (diff) |
lng-network-config: new package with LNG config
Change-Id: Iac6374ed687b4562af9271730c344c37ffb9d87c
Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
-rw-r--r-- | meta-linaro/recipes-extra/lng-network-config/files/70-persistent-net.rules | 43 | ||||
-rw-r--r-- | meta-linaro/recipes-extra/lng-network-config/lng-network-config_0.1.bb | 11 |
2 files changed, 54 insertions, 0 deletions
diff --git a/meta-linaro/recipes-extra/lng-network-config/files/70-persistent-net.rules b/meta-linaro/recipes-extra/lng-network-config/files/70-persistent-net.rules new file mode 100644 index 0000000..5a8be41 --- /dev/null +++ b/meta-linaro/recipes-extra/lng-network-config/files/70-persistent-net.rules @@ -0,0 +1,43 @@ +# lng-amarillo-01 +SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="66:06:3e:f9:4f:ae", +ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" + +# lng-arndale-01 +SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="02:8e:8f:32:21:98", +ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" + +# lng-arndale-02 +SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="02:8c:cc:92:21:98", +ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" + +# lng-arndale-03 +SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="02:f4:0c:d6:16:33", +ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" + +# lng-arndale-04 +SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="02:8f:4f:09:5e:44", +ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" + +# lng-arndale-05 +SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="02:b6:8d:b5:c7:24", +ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" + +# lng-generator-01 +SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="d8:9d:67:26:ae:e8", +ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" + +# lng-generator-02 +SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="d8:9d:67:26:cd:d8", +ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" + +# lng-keystone-01 +SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="c4:ed:ba:99:f4:09", +ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" + +# lng-keystone-02 +SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="c4:ed:ba:9a:8c:47", +ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" + +# lng-keystone-03 +SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="c4:ed:ba:9a:67:60", +ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0" diff --git a/meta-linaro/recipes-extra/lng-network-config/lng-network-config_0.1.bb b/meta-linaro/recipes-extra/lng-network-config/lng-network-config_0.1.bb new file mode 100644 index 0000000..2987b04 --- /dev/null +++ b/meta-linaro/recipes-extra/lng-network-config/lng-network-config_0.1.bb @@ -0,0 +1,11 @@ +SUMMARY = "This package contains LNG specific configuration" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" + +RDEPENDS_${PN} = "udev" + +SRC_URI = "file://70-persistent-net.rules" + +do_install() { + install -D -p -m644 ${WORKDIR}/70-persistent-net.rules ${D}/etc/udev/rules.d/70-persistent-net.rules +} |