[oe-commits] org.oe.dev netbase 4.21: add support for fic-gta02, restore formatting, bump PR
mickeyl commit
openembedded-commits at lists.openembedded.org
Sun Sep 2 00:04:02 UTC 2007
netbase 4.21: add support for fic-gta02, restore formatting, bump PR
Author: mickeyl at openembedded.org
Branch: org.openembedded.dev
Revision: b9087aed5992eb3d85c7c859b89c4236a3d7e178
ViewMTN: http://monotone.openembedded.org/revision.psp?id=b9087aed5992eb3d85c7c859b89c4236a3d7e178
Files:
1
packages/netbase/netbase/fic-gta02
packages/netbase/netbase/fic-gta02/interfaces
packages/netbase/netbase_4.21.bb
Diffs:
#
# mt diff -rdfc4cd0554f0208bf640020f60e17b63b5f2843b -rb9087aed5992eb3d85c7c859b89c4236a3d7e178
#
#
#
# add_dir "packages/netbase/netbase/fic-gta02"
#
# add_file "packages/netbase/netbase/fic-gta02/interfaces"
# content [b119191890448d523db7d93579548ffd89c4a050]
#
# patch "packages/netbase/netbase_4.21.bb"
# from [3fec27517cd3465754989f44477022d59bf7749a]
# to [6f3ca0feab30d1dfc81d97ff3ab8c242e8084886]
#
============================================================
--- packages/netbase/netbase/fic-gta02/interfaces b119191890448d523db7d93579548ffd89c4a050
+++ packages/netbase/netbase/fic-gta02/interfaces b119191890448d523db7d93579548ffd89c4a050
@@ -0,0 +1,28 @@
+# /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
+iface atml0 inet dhcp
+
+# Wired or wireless interfaces
+iface eth0 inet dhcp
+iface eth1 inet dhcp
+
+# Ethernet/RNDIS gadget (g_ether)
+# ... or on host side, usbnet and random hwaddr
+auto usb0
+iface usb0 inet static
+ address 192.168.0.202
+ netmask 255.255.255.0
+ network 192.168.0.0
+ gateway 192.168.0.200
+
+# Bluetooth networking
+iface bnep0 inet dhcp
+
============================================================
--- packages/netbase/netbase_4.21.bb 3fec27517cd3465754989f44477022d59bf7749a
+++ packages/netbase/netbase_4.21.bb 6f3ca0feab30d1dfc81d97ff3ab8c242e8084886
@@ -1,8 +1,8 @@ LICENSE = "GPL"
DESCRIPTION = "This package provides the necessary \
infrastructure for basic TCP/IP based networking."
SECTION = "base"
LICENSE = "GPL"
-PR = "r21"
+PR = "r22"
inherit update-rc.d
@@ -21,20 +21,20 @@ SRC_URI = "${DEBIAN_MIRROR}/main/n/netba
file://init \
file://hosts \
file://interfaces \
- file://if-pre-up.d \
- file://if-up.d \
- file://if-down.d \
- file://if-post-down.d"
+ file://if-pre-up.d \
+ file://if-up.d \
+ file://if-down.d \
+ file://if-post-down.d"
do_install () {
- install -d ${D}${sysconfdir}/init.d \
- ${D}${sbindir} \
- ${D}${mandir}/man8 \
- ${D}${sysconfdir}/network/if-pre-up.d \
- ${D}${sysconfdir}/network/if-up.d \
- ${D}${sysconfdir}/network/if-down.d \
- ${D}${sysconfdir}/network/if-post-down.d
-
+ install -d ${D}${sysconfdir}/init.d
+ install -d ${D}${sbindir}
+ install -d ${D}${mandir}/man8
+ install -d ${D}${sysconfdir}/network/if-pre-up.d
+ install -d ${D}${sysconfdir}/network/if-up.d
+ install -d ${D}${sysconfdir}/network/if-down.d
+ install -d ${D}${sysconfdir}/network/if-post-down.d
+
for dir in if-pre-up.d if-up.d if-down.d if-post-down.d
do
for script in `ls -1 "${WORKDIR}/${dir}"`
More information about the Openembedded-commits
mailing list