diff options
author | Andy Green <andy@openmoko.com> | 2008-11-19 17:11:07 +0000 |
---|---|---|
committer | Andy Green <agreen@pads.home.warmcat.com> | 2008-11-19 17:11:07 +0000 |
commit | 8344c67916316f481d029dc63e15c3577c280f11 (patch) | |
tree | 5cdc756894f23475e1e7ced054293ccb04175b14 /remote_install_sdcard | |
parent | 73b6e852eb957fb72a87f6c95cf445a84cce062f (diff) |
fix-reote-install-for-ext3-only-sd.patch
Signed-off-by: Andy Green <andy@openmoko.com>
Diffstat (limited to 'remote_install_sdcard')
-rwxr-xr-x | remote_install_sdcard | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/remote_install_sdcard b/remote_install_sdcard index c84b6ae839e..ab72e86e422 100755 --- a/remote_install_sdcard +++ b/remote_install_sdcard @@ -3,7 +3,6 @@ # automatic kernel updater and reboot - Andy Green <andy@openmoko.com> GTA_DEVICE_IP=192.168.0.202 -GTA_MOUNTPOINT=/mnt # you should set up key-based auth on dropbear if you want # to play this game. @@ -14,7 +13,6 @@ GTA_MOUNTPOINT=/mnt # 4) copy your id_*.pub into /home/root/.ssh/authorized_keys # 5) chmod 600 /home/root/.ssh/* -ssh root@$GTA_DEVICE_IP "mount /dev/mmcblk0p1 $GTA_MOUNTPOINT" -scp uImage.bin root@$GTA_DEVICE_IP:$GTA_MOUNTPOINT -ssh root@$GTA_DEVICE_IP "umount $GTA_MOUNTPOINT ; mount /dev/mmcblk0p2 / -oremount,ro ; reboot -if &" +scp uImage.bin root@$GTA_DEVICE_IP:/ +ssh root@$GTA_DEVICE_IP "mount /dev/mmcblk0p1 / -oremount,ro ; reboot -if &" |