push latest system.img to eeepc over adb
authorDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 27 Oct 2010 17:17:55 +0000 (19:17 +0200)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Wed, 27 Oct 2010 18:49:03 +0000 (20:49 +0200)
update-eeepc.sh [new file with mode: 0755]

diff --git a/update-eeepc.sh b/update-eeepc.sh
new file mode 100755 (executable)
index 0000000..13d6552
--- /dev/null
@@ -0,0 +1,14 @@
+#!/bin/sh -x
+
+# build with: m -j8 iso_img BOARD_USES_I915= BOARD_USES_I915C=true
+
+dir=`date +%Y-%m-%d`
+dir=eeepc
+a=192.168.1.32:5555
+
+test -d $dir || mkdir $dir
+
+rsync --progress -v android:/srv/android-x86/out/target/product/$dir/{kernel,initrd.img,ramdisk.img,system.sfs} $dir
+adb connect $a
+adb -s $a mkdir /sdcard/android-froyo
+adb -s $a push $dir /sdcard/android-froyo