Skip to contentSkip to conversation

netbase: Add base interfaces file

PATCH In review [email protected] 3 participants 6 messages Aug 31, 2012 – Sep 5, 2012

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 netbase: Add base interfaces file

From: Franklin S Cooper Jr <[email protected]>

* Add PRINC
* Create copies of the interfaces file that was grabbed from oe-core and copy it into TI SOC families specific directories
* Update to use the new syntax for extending the file search path

---
 recipes-core/netbase/netbase-5.0/omap3/interfaces  |   31 ++++++++++++++++++++
 .../netbase/netbase-5.0/omapl138/interfaces        |   31 ++++++++++++++++++++
 recipes-core/netbase/netbase-5.0/ti33x/interfaces  |   31 ++++++++++++++++++++
 recipes-core/netbase/netbase_5.0.bbappend          |    5 ++-
 4 files changed, 96 insertions(+), 2 deletions(-)
 create mode 100644 recipes-core/netbase/netbase-5.0/omap3/interfaces
 create mode 100644 recipes-core/netbase/netbase-5.0/omapl138/interfaces
 create mode 100644 recipes-core/netbase/netbase-5.0/ti33x/interfaces
recipes-core/netbase/netbase-5.0/omap3/interfaces new file +31 -0
new file mode 100644
index 0000000..0acf4cf
@@ -0,0 +1,31 @@
+# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
+ 
+# The loopback interface
+auto lo
+iface lo inet loopback
+
+# Wireless interfaces
+iface wlan0 inet dhcp
+	wireless_mode managed
+	wireless_essid any
+	wpa-driver wext
+	wpa-conf /etc/wpa_supplicant.conf
+
+iface atml0 inet dhcp
+
+# Wired or wireless interfaces
+auto eth0
+iface eth0 inet dhcp
+iface eth1 inet dhcp
+
+# Ethernet/RNDIS gadget (g_ether)
+# ... or on host side, usbnet and random hwaddr
+iface usb0 inet static
+	address 192.168.7.2
+	netmask 255.255.255.0
+	network 192.168.7.0
+	gateway 192.168.7.1
+
+# Bluetooth networking
+iface bnep0 inet dhcp
+
recipes-core/netbase/netbase-5.0/omapl138/interfaces new file +31 -0
new file mode 100644
index 0000000..0acf4cf
@@ -0,0 +1,31 @@
+# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
+ 
+# The loopback interface
+auto lo
+iface lo inet loopback
+
+# Wireless interfaces
+iface wlan0 inet dhcp
+	wireless_mode managed
+	wireless_essid any
+	wpa-driver wext
+	wpa-conf /etc/wpa_supplicant.conf
+
+iface atml0 inet dhcp
+
+# Wired or wireless interfaces
+auto eth0
+iface eth0 inet dhcp
+iface eth1 inet dhcp
+
+# Ethernet/RNDIS gadget (g_ether)
+# ... or on host side, usbnet and random hwaddr
+iface usb0 inet static
+	address 192.168.7.2
+	netmask 255.255.255.0
+	network 192.168.7.0
+	gateway 192.168.7.1
+
+# Bluetooth networking
+iface bnep0 inet dhcp
+
recipes-core/netbase/netbase-5.0/ti33x/interfaces new file +31 -0
new file mode 100644
index 0000000..0acf4cf
@@ -0,0 +1,31 @@
+# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
+ 
+# The loopback interface
+auto lo
+iface lo inet loopback
+
+# Wireless interfaces
+iface wlan0 inet dhcp
+	wireless_mode managed
+	wireless_essid any
+	wpa-driver wext
+	wpa-conf /etc/wpa_supplicant.conf
+
+iface atml0 inet dhcp
+
+# Wired or wireless interfaces
+auto eth0
+iface eth0 inet dhcp
+iface eth1 inet dhcp
+
+# Ethernet/RNDIS gadget (g_ether)
+# ... or on host side, usbnet and random hwaddr
+iface usb0 inet static
+	address 192.168.7.2
+	netmask 255.255.255.0
+	network 192.168.7.0
+	gateway 192.168.7.1
+
+# Bluetooth networking
+iface bnep0 inet dhcp
+
recipes-core/netbase/netbase_5.0.bbappend +3 -2
index 4b8d0e6..80e3a16 100644
@@ -1,3 +1,4 @@
-THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
-FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"
+# look for files in this layer first
+FILESEXTRAPATHS_prepend := "${THISDIR}/${P}:"
 
+PRINC = "1"
Signature · 1 line
1.7.0.4
#1 lore raw

PATCH v3 1/1 netbase: Update interfaces files

From: Franklin S Cooper Jr <[email protected]>

* Update interfaces files based on changes made to the interfaces file in arago

---
 recipes-core/netbase/netbase-5.0/omap3/interfaces  |   12 +++++++-----
 .../netbase/netbase-5.0/omapl138/interfaces        |   12 +++++++-----
 recipes-core/netbase/netbase-5.0/ti33x/interfaces  |   12 +++++++-----
 3 files changed, 21 insertions(+), 15 deletions(-)
recipes-core/netbase/netbase-5.0/omap3/interfaces +7 -5
index 0acf4cf..15bc31c 100644
@@ -11,20 +11,22 @@ iface wlan0 inet dhcp
 	wpa-driver wext
 	wpa-conf /etc/wpa_supplicant.conf
 
+iface tiwlan0 inet dhcp
+	wireless_mode managed
+	wireless_essid any
+
 iface atml0 inet dhcp
 
 # Wired or wireless interfaces
 auto eth0
 iface eth0 inet dhcp
+        pre-up /bin/grep -v -e "ip=[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+" /proc/cmdline > /dev/null
+
 iface eth1 inet dhcp
 
 # Ethernet/RNDIS gadget (g_ether)
 # ... or on host side, usbnet and random hwaddr
-iface usb0 inet static
-	address 192.168.7.2
-	netmask 255.255.255.0
-	network 192.168.7.0
-	gateway 192.168.7.1
+iface usb0 inet dhcp
 
 # Bluetooth networking
 iface bnep0 inet dhcp
recipes-core/netbase/netbase-5.0/omapl138/interfaces +7 -5
index 0acf4cf..15bc31c 100644
@@ -11,20 +11,22 @@ iface wlan0 inet dhcp
 	wpa-driver wext
 	wpa-conf /etc/wpa_supplicant.conf
 
+iface tiwlan0 inet dhcp
+	wireless_mode managed
+	wireless_essid any
+
 iface atml0 inet dhcp
 
 # Wired or wireless interfaces
 auto eth0
 iface eth0 inet dhcp
+        pre-up /bin/grep -v -e "ip=[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+" /proc/cmdline > /dev/null
+
 iface eth1 inet dhcp
 
 # Ethernet/RNDIS gadget (g_ether)
 # ... or on host side, usbnet and random hwaddr
-iface usb0 inet static
-	address 192.168.7.2
-	netmask 255.255.255.0
-	network 192.168.7.0
-	gateway 192.168.7.1
+iface usb0 inet dhcp
 
 # Bluetooth networking
 iface bnep0 inet dhcp
recipes-core/netbase/netbase-5.0/ti33x/interfaces +7 -5
index 0acf4cf..15bc31c 100644
@@ -11,20 +11,22 @@ iface wlan0 inet dhcp
 	wpa-driver wext
 	wpa-conf /etc/wpa_supplicant.conf
 
+iface tiwlan0 inet dhcp
+	wireless_mode managed
+	wireless_essid any
+
 iface atml0 inet dhcp
 
 # Wired or wireless interfaces
 auto eth0
 iface eth0 inet dhcp
+        pre-up /bin/grep -v -e "ip=[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+" /proc/cmdline > /dev/null
+
 iface eth1 inet dhcp
 
 # Ethernet/RNDIS gadget (g_ether)
 # ... or on host side, usbnet and random hwaddr
-iface usb0 inet static
-	address 192.168.7.2
-	netmask 255.255.255.0
-	network 192.168.7.0
-	gateway 192.168.7.1
+iface usb0 inet dhcp
 
 # Bluetooth networking
 iface bnep0 inet dhcp
Signature · 1 line
1.7.0.4
#2 lore raw

Re: [master][PATCH v3] netbase: Update interfaces files

Op 31 aug. 2012, om 23:54 heeft [email protected] het volgende geschreven:

Quoted 17 lines

From: Franklin S Cooper Jr <[email protected]>

* Update interfaces files based on changes made to the interfaces file in arago

---

recipes-core/netbase/netbase-5.0/omap3/interfaces  |   12 +++++++-----
.../netbase/netbase-5.0/omapl138/interfaces        |   12 +++++++-----
recipes-core/netbase/netbase-5.0/ti33x/interfaces  |   12 +++++++-----
3 files changed, 21 insertions(+), 15 deletions(-)
recipes-core/netbase/netbase-5.0/omap3/interfaces +0 -0
index 0acf4cf..15bc31c 100644

recipes-core/netbase/netbase-5.0/omap3/interfaces iface wlan0 inet dhcp · line 17

Quoted 7 lines
recipes-core/netbase/netbase-5.0/omap3/interfaces +4 -0
@@ -11,20 +11,22 @@ iface wlan0 inet dhcp
 	wpa-driver wext
 	wpa-conf /etc/wpa_supplicant.conf
 
+iface tiwlan0 inet dhcp
+	wireless_mode managed
+	wireless_essid any
+

That doesn't exist on beagleboard, but it does get added to the interfaces file for no reason, NAK

Quoted 6 lines

iface atml0 inet dhcp

# Wired or wireless interfaces
auto eth0
iface eth0 inet dhcp
+ pre-up /bin/grep -v -e "ip=[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+" /proc/cmdline > /dev/null

Ehm....

recipes-core/netbase/netbase-5.0/omap3/interfaces iface wlan0 inet dhcp · line 29

Quoted 11 lines

+
iface eth1 inet dhcp

# Ethernet/RNDIS gadget (g_ether)

# ... or on host side, usbnet and random hwaddr
recipes-core/netbase/netbase-5.0/omap3/interfaces +1 -5
-iface usb0 inet static
-	address 192.168.7.2
-	netmask 255.255.255.0
-	network 192.168.7.0
-	gateway 192.168.7.1
+iface usb0 inet dhcp

Breaks beagleboard usage

Quoted 58 lines

# Bluetooth networking
iface bnep0 inet dhcp

recipes-core/netbase/netbase-5.0/omapl138/interfaces +4 -0
index 0acf4cf..15bc31c 100644
@@ -11,20 +11,22 @@ iface wlan0 inet dhcp
 	wpa-driver wext
 	wpa-conf /etc/wpa_supplicant.conf
 
+iface tiwlan0 inet dhcp
+	wireless_mode managed
+	wireless_essid any
+

iface atml0 inet dhcp

# Wired or wireless interfaces
auto eth0
iface eth0 inet dhcp

recipes-core/netbase/netbase-5.0/omapl138/interfaces +2 -0
+        pre-up /bin/grep -v -e "ip=[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+" /proc/cmdline > /dev/null
+

iface eth1 inet dhcp

# Ethernet/RNDIS gadget (g_ether)

# ... or on host side, usbnet and random hwaddr
recipes-core/netbase/netbase-5.0/omapl138/interfaces +1 -5
-iface usb0 inet static
-	address 192.168.7.2
-	netmask 255.255.255.0
-	network 192.168.7.0
-	gateway 192.168.7.1
+iface usb0 inet dhcp

# Bluetooth networking
iface bnep0 inet dhcp

recipes-core/netbase/netbase-5.0/ti33x/interfaces +4 -0
index 0acf4cf..15bc31c 100644
@@ -11,20 +11,22 @@ iface wlan0 inet dhcp
 	wpa-driver wext
 	wpa-conf /etc/wpa_supplicant.conf
 
+iface tiwlan0 inet dhcp
+	wireless_mode managed
+	wireless_essid any
+

iface atml0 inet dhcp

# Wired or wireless interfaces
auto eth0
iface eth0 inet dhcp

recipes-core/netbase/netbase-5.0/ti33x/interfaces +2 -0
+        pre-up /bin/grep -v -e "ip=[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+" /proc/cmdline > /dev/null
+

iface eth1 inet dhcp

# Ethernet/RNDIS gadget (g_ether)

# ... or on host side, usbnet and random hwaddr

recipes-core/netbase/netbase-5.0/ti33x/interfaces

Quoted 6 lines
recipes-core/netbase/netbase-5.0/ti33x/interfaces +1 -5
-iface usb0 inet static
-	address 192.168.7.2
-	netmask 255.255.255.0
-	network 192.168.7.0
-	gateway 192.168.7.1
+iface usb0 inet dhcp

breaks beaglebone

LIke I said before, this is an 'arago' interfaces file, not specific to the SoCs, so please put it in the arago layer instead of breaking everything by putting it in meta-ti

#3 lore raw

Re: [master][PATCH v3] netbase: Update interfaces files

Ignore this patch. Adding to meta-arago-distro.

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Koen Kooi
Sent: Saturday, September 01, 2012 1:51 AM
To: [email protected]
Cc: [email protected]
Subject: Re: [meta-ti] [master][PATCH v3] netbase: Update interfaces files

Op 31 aug. 2012, om 23:54 heeft [email protected] het volgende geschreven:

Quoted 18 lines

From: Franklin S Cooper Jr <[email protected]>

* Update interfaces files based on changes made to the interfaces file in arago

---

recipes-core/netbase/netbase-5.0/omap3/interfaces  |   12 +++++++-----
.../netbase/netbase-5.0/omapl138/interfaces        |   12 +++++++-----
recipes-core/netbase/netbase-5.0/ti33x/interfaces  |   12 +++++++-----
3 files changed, 21 insertions(+), 15 deletions(-)
recipes-core/netbase/netbase-5.0/omap3/interfaces +0 -0
index 0acf4cf..15bc31c 100644

recipes-core/netbase/netbase-5.0/omap3/interfaces iface wlan0 inet dhcp · line 17

Quoted 7 lines
recipes-core/netbase/netbase-5.0/omap3/interfaces +4 -0
@@ -11,20 +11,22 @@ iface wlan0 inet dhcp
 	wpa-driver wext
 	wpa-conf /etc/wpa_supplicant.conf
 
+iface tiwlan0 inet dhcp
+	wireless_mode managed
+	wireless_essid any
+

That doesn't exist on beagleboard, but it does get added to the interfaces file for no reason, NAK

Quoted 7 lines

iface atml0 inet dhcp

# Wired or wireless interfaces
auto eth0
iface eth0 inet dhcp
+ pre-up /bin/grep -v -e
+ "ip=[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+" /proc/cmdline > /dev/null

Ehm....

recipes-core/netbase/netbase-5.0/omap3/interfaces iface wlan0 inet dhcp · line 29

Quoted 11 lines

+
iface eth1 inet dhcp

# Ethernet/RNDIS gadget (g_ether)

# ... or on host side, usbnet and random hwaddr -iface usb0 inet 
static
recipes-core/netbase/netbase-5.0/omap3/interfaces +1 -4
-	address 192.168.7.2
-	netmask 255.255.255.0
-	network 192.168.7.0
-	gateway 192.168.7.1
+iface usb0 inet dhcp

Breaks beagleboard usage

Quoted 63 lines

# Bluetooth networking
iface bnep0 inet dhcp

recipes-core/netbase/netbase-5.0/omapl138/interfaces +4 -0
index 0acf4cf..15bc31c 100644
@@ -11,20 +11,22 @@ iface wlan0 inet dhcp
 	wpa-driver wext
 	wpa-conf /etc/wpa_supplicant.conf
 
+iface tiwlan0 inet dhcp
+	wireless_mode managed
+	wireless_essid any
+

iface atml0 inet dhcp

# Wired or wireless interfaces
auto eth0
iface eth0 inet dhcp

recipes-core/netbase/netbase-5.0/omapl138/interfaces +3 -0
+        pre-up /bin/grep -v -e 
+ "ip=[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+" /proc/cmdline > /dev/null
+

iface eth1 inet dhcp

# Ethernet/RNDIS gadget (g_ether)

# ... or on host side, usbnet and random hwaddr -iface usb0 inet 
static
recipes-core/netbase/netbase-5.0/omapl138/interfaces +1 -4
-	address 192.168.7.2
-	netmask 255.255.255.0
-	network 192.168.7.0
-	gateway 192.168.7.1
+iface usb0 inet dhcp

# Bluetooth networking
iface bnep0 inet dhcp

recipes-core/netbase/netbase-5.0/ti33x/interfaces +4 -0
index 0acf4cf..15bc31c 100644
@@ -11,20 +11,22 @@ iface wlan0 inet dhcp
 	wpa-driver wext
 	wpa-conf /etc/wpa_supplicant.conf
 
+iface tiwlan0 inet dhcp
+	wireless_mode managed
+	wireless_essid any
+

iface atml0 inet dhcp

# Wired or wireless interfaces
auto eth0
iface eth0 inet dhcp

recipes-core/netbase/netbase-5.0/ti33x/interfaces +3 -0
+        pre-up /bin/grep -v -e 
+ "ip=[0-9]\+\.[0-9]\+\.[0-9]\+\.[0-9]\+" /proc/cmdline > /dev/null
+

iface eth1 inet dhcp

# Ethernet/RNDIS gadget (g_ether)

# ... or on host side, usbnet and random hwaddr -iface usb0 inet 
static

recipes-core/netbase/netbase-5.0/ti33x/interfaces

Quoted 5 lines
recipes-core/netbase/netbase-5.0/ti33x/interfaces +1 -4
-	address 192.168.7.2
-	netmask 255.255.255.0
-	network 192.168.7.0
-	gateway 192.168.7.1
+iface usb0 inet dhcp

breaks beaglebone

LIke I said before, this is an 'arago' interfaces file, not specific to the SoCs, so please put it in the arago layer instead of breaking everything by putting it in meta-ti _______________________________________________ meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

#4 lore raw
In reply to [email protected]

Op 31 aug. 2012, om 23:54 heeft [email protected] het volgende geschreven:

Quoted 7 lines

From: Franklin S Cooper Jr <[email protected]>

* Add PRINC
* Create copies of the interfaces file that was grabbed from oe-core and copy it into TI SOC families specific directories
* Update to use the new syntax for extending the file search path

Quoted 5 lines

---

recipes-core/netbase/netbase-5.0/omap3/interfaces  |   31 ++++++++++++++++++++
.../netbase/netbase-5.0/omapl138/interfaces        |   31 ++++++++++++++++++++
recipes-core/netbase/netbase-5.0/ti33x/interfaces  |   31 ++++++++++++++++++++

So all subartic and omap3 machines will now get a different interfaces file. Not a good idea. NAK

Quoted 135 lines

recipes-core/netbase/netbase_5.0.bbappend | 5 ++-

4 files changed, 96 insertions(+), 2 deletions(-)

create mode 100644 recipes-core/netbase/netbase-5.0/omap3/interfaces create mode 100644 recipes-core/netbase/netbase-5.0/omapl138/interfaces create mode 100644 recipes-core/netbase/netbase-5.0/ti33x/interfaces

recipes-core/netbase/netbase-5.0/omap3/interfaces new file +31 -0
new file mode 100644
index 0000000..0acf4cf
@@ -0,0 +1,31 @@
+# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
+ 
+# The loopback interface
+auto lo
+iface lo inet loopback
+
+# Wireless interfaces
+iface wlan0 inet dhcp
+	wireless_mode managed
+	wireless_essid any
+	wpa-driver wext
+	wpa-conf /etc/wpa_supplicant.conf
+
+iface atml0 inet dhcp
+
+# Wired or wireless interfaces
+auto eth0
+iface eth0 inet dhcp
+iface eth1 inet dhcp
+
+# Ethernet/RNDIS gadget (g_ether)
+# ... or on host side, usbnet and random hwaddr
+iface usb0 inet static
+	address 192.168.7.2
+	netmask 255.255.255.0
+	network 192.168.7.0
+	gateway 192.168.7.1
+
+# Bluetooth networking
+iface bnep0 inet dhcp
+
recipes-core/netbase/netbase-5.0/omapl138/interfaces new file +31 -0
new file mode 100644
index 0000000..0acf4cf
@@ -0,0 +1,31 @@
+# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
+ 
+# The loopback interface
+auto lo
+iface lo inet loopback
+
+# Wireless interfaces
+iface wlan0 inet dhcp
+	wireless_mode managed
+	wireless_essid any
+	wpa-driver wext
+	wpa-conf /etc/wpa_supplicant.conf
+
+iface atml0 inet dhcp
+
+# Wired or wireless interfaces
+auto eth0
+iface eth0 inet dhcp
+iface eth1 inet dhcp
+
+# Ethernet/RNDIS gadget (g_ether)
+# ... or on host side, usbnet and random hwaddr
+iface usb0 inet static
+	address 192.168.7.2
+	netmask 255.255.255.0
+	network 192.168.7.0
+	gateway 192.168.7.1
+
+# Bluetooth networking
+iface bnep0 inet dhcp
+
recipes-core/netbase/netbase-5.0/ti33x/interfaces new file +31 -0
new file mode 100644
index 0000000..0acf4cf
@@ -0,0 +1,31 @@
+# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
+ 
+# The loopback interface
+auto lo
+iface lo inet loopback
+
+# Wireless interfaces
+iface wlan0 inet dhcp
+	wireless_mode managed
+	wireless_essid any
+	wpa-driver wext
+	wpa-conf /etc/wpa_supplicant.conf
+
+iface atml0 inet dhcp
+
+# Wired or wireless interfaces
+auto eth0
+iface eth0 inet dhcp
+iface eth1 inet dhcp
+
+# Ethernet/RNDIS gadget (g_ether)
+# ... or on host side, usbnet and random hwaddr
+iface usb0 inet static
+	address 192.168.7.2
+	netmask 255.255.255.0
+	network 192.168.7.0
+	gateway 192.168.7.1
+
+# Bluetooth networking
+iface bnep0 inet dhcp
+
recipes-core/netbase/netbase_5.0.bbappend +3 -2
index 4b8d0e6..80e3a16 100644
@@ -1,3 +1,4 @@
-THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
-FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"
+# look for files in this layer first
+FILESEXTRAPATHS_prepend := "${THISDIR}/${P}:"
 
+PRINC = "1"
Signature · 6 lines
1.7.0.4

_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti
#5 lore raw

Ignore this patch. Adding to meta-arago-distro.

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Koen Kooi
Sent: Saturday, September 01, 2012 1:48 AM
To: [email protected]
Cc: [email protected]
Subject: Re: [meta-ti] [master][PATCH v3] netbase: Add base interfaces file

Op 31 aug. 2012, om 23:54 heeft [email protected] het volgende geschreven:

Quoted 7 lines

From: Franklin S Cooper Jr <[email protected]>

* Add PRINC
* Create copies of the interfaces file that was grabbed from oe-core and copy it into TI SOC families specific directories
* Update to use the new syntax for extending the file search path

Quoted 5 lines

---

recipes-core/netbase/netbase-5.0/omap3/interfaces  |   31 ++++++++++++++++++++
.../netbase/netbase-5.0/omapl138/interfaces        |   31 ++++++++++++++++++++
recipes-core/netbase/netbase-5.0/ti33x/interfaces  |   31 ++++++++++++++++++++

So all subartic and omap3 machines will now get a different interfaces file. Not a good idea. NAK

Quoted 139 lines

recipes-core/netbase/netbase_5.0.bbappend | 5 ++-

4 files changed, 96 insertions(+), 2 deletions(-) create mode 100644 

recipes-core/netbase/netbase-5.0/omap3/interfaces
create mode 100644 recipes-core/netbase/netbase-5.0/omapl138/interfaces create mode 100644 recipes-core/netbase/netbase-5.0/ti33x/interfaces

recipes-core/netbase/netbase-5.0/omap3/interfaces new file +32 -0
new file mode 100644
index 0000000..0acf4cf
@@ -0,0 +1,31 @@
+# /etc/network/interfaces -- configuration file for ifup(8), 
+ifdown(8)
+ 
+# The loopback interface
+auto lo
+iface lo inet loopback
+
+# Wireless interfaces
+iface wlan0 inet dhcp
+	wireless_mode managed
+	wireless_essid any
+	wpa-driver wext
+	wpa-conf /etc/wpa_supplicant.conf
+
+iface atml0 inet dhcp
+
+# Wired or wireless interfaces
+auto eth0
+iface eth0 inet dhcp
+iface eth1 inet dhcp
+
+# Ethernet/RNDIS gadget (g_ether)
+# ... or on host side, usbnet and random hwaddr iface usb0 inet 
+static
+	address 192.168.7.2
+	netmask 255.255.255.0
+	network 192.168.7.0
+	gateway 192.168.7.1
+
+# Bluetooth networking
+iface bnep0 inet dhcp
+
recipes-core/netbase/netbase-5.0/omapl138/interfaces new file +32 -0
new file mode 100644
index 0000000..0acf4cf
@@ -0,0 +1,31 @@
+# /etc/network/interfaces -- configuration file for ifup(8), 
+ifdown(8)
+ 
+# The loopback interface
+auto lo
+iface lo inet loopback
+
+# Wireless interfaces
+iface wlan0 inet dhcp
+	wireless_mode managed
+	wireless_essid any
+	wpa-driver wext
+	wpa-conf /etc/wpa_supplicant.conf
+
+iface atml0 inet dhcp
+
+# Wired or wireless interfaces
+auto eth0
+iface eth0 inet dhcp
+iface eth1 inet dhcp
+
+# Ethernet/RNDIS gadget (g_ether)
+# ... or on host side, usbnet and random hwaddr iface usb0 inet 
+static
+	address 192.168.7.2
+	netmask 255.255.255.0
+	network 192.168.7.0
+	gateway 192.168.7.1
+
+# Bluetooth networking
+iface bnep0 inet dhcp
+
recipes-core/netbase/netbase-5.0/ti33x/interfaces new file +32 -0
new file mode 100644
index 0000000..0acf4cf
@@ -0,0 +1,31 @@
+# /etc/network/interfaces -- configuration file for ifup(8), 
+ifdown(8)
+ 
+# The loopback interface
+auto lo
+iface lo inet loopback
+
+# Wireless interfaces
+iface wlan0 inet dhcp
+	wireless_mode managed
+	wireless_essid any
+	wpa-driver wext
+	wpa-conf /etc/wpa_supplicant.conf
+
+iface atml0 inet dhcp
+
+# Wired or wireless interfaces
+auto eth0
+iface eth0 inet dhcp
+iface eth1 inet dhcp
+
+# Ethernet/RNDIS gadget (g_ether)
+# ... or on host side, usbnet and random hwaddr iface usb0 inet 
+static
+	address 192.168.7.2
+	netmask 255.255.255.0
+	network 192.168.7.0
+	gateway 192.168.7.1
+
+# Bluetooth networking
+iface bnep0 inet dhcp
+
recipes-core/netbase/netbase_5.0.bbappend +3 -3
index 4b8d0e6..80e3a16 100644
@@ -1,3 +1,4 @@
-THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
-FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"
+# look for files in this layer first
+FILESEXTRAPATHS_prepend := "${THISDIR}/${P}:"
 
+PRINC = "1"
--

1.7.0.4

Quoted 4 lines

_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti

_______________________________________________
meta-ti mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-ti