Quellcode durchsuchen

revert dhcp on eth0 to fixed, add legalinfo-zip to MakeIMAGE.sh

Reinhard Russinger vor 8 Jahren
Ursprung
Commit
d2fff0d76e
2 geänderte Dateien mit 12 neuen und 6 gelöschten Zeilen
  1. 7 1
      GfA-buildroot-changes.patch
  2. 5 5
      board/GfA/Display001/rootfs/etc/network/interfaces

+ 7 - 1
GfA-buildroot-changes.patch

@@ -50,7 +50,7 @@ new file mode 100755
 index 0000000..02271d3
 index 0000000..02271d3
 --- /dev/null
 --- /dev/null
 +++ b/MakeIMAGE.sh
 +++ b/MakeIMAGE.sh
-@@ -0,0 +1,91 @@
+@@ -0,0 +1,97 @@
 +#!/bin/sh
 +#!/bin/sh
 +
 +
 +SAVE_LC=$LC_ALL
 +SAVE_LC=$LC_ALL
@@ -139,6 +139,12 @@ index 0000000..02271d3
 +#-- packen des Imagefiles
 +#-- packen des Imagefiles
 +rm $IMAGEFILE.zip
 +rm $IMAGEFILE.zip
 +zip -j $IMAGEFILE.zip $IMAGEFILE
 +zip -j $IMAGEFILE.zip $IMAGEFILE
++#-- legalinfo erstellen
++TMPWRKDIR=`pwd`
++cd output
++rm ../../Display001-$BUILD-legal-info.zip
++zip -r ../../Display001-$BUILD-legal-info.zip ./legal-info/*
++cd $TMPWRKDIR
 +
 +
 +export LC_ALL=$SAVE_LC
 +export LC_ALL=$SAVE_LC
 +                                                                                                                
 +                                                                                                                

+ 5 - 5
board/GfA/Display001/rootfs/etc/network/interfaces

@@ -4,11 +4,11 @@ auto eth0
 auto usb0
 auto usb0
 iface lo inet loopback
 iface lo inet loopback
 
 
-iface eth0 inet dhcp
-#iface eth0 inet static
-#	address 192.168.0.125
-#	netmask 255.255.255.0
-#	gateway 192.168.0.10
+#iface eth0 inet dhcp
+iface eth0 inet static
+	address 192.168.0.125
+	netmask 255.255.255.0
+	gateway 192.168.0.10
 
 
 iface usb0 inet static
 iface usb0 inet static
 	address 192.168.7.2
 	address 192.168.7.2