From 6b7797688c8a7bde642afc2d9ba2658a1b57c0d5 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 14 Mar 2009 15:52:42 +0000 Subject: nuke obsolete kernel stuff git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14875 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- ...91-add-remote-install-sdcard-script.patch.patch | 47 ---------------------- 1 file changed, 47 deletions(-) delete mode 100644 target/linux/s3c24xx/patches-2.6.24/1191-add-remote-install-sdcard-script.patch.patch (limited to 'target/linux/s3c24xx/patches-2.6.24/1191-add-remote-install-sdcard-script.patch.patch') diff --git a/target/linux/s3c24xx/patches-2.6.24/1191-add-remote-install-sdcard-script.patch.patch b/target/linux/s3c24xx/patches-2.6.24/1191-add-remote-install-sdcard-script.patch.patch deleted file mode 100644 index e7f39a4a60..0000000000 --- a/target/linux/s3c24xx/patches-2.6.24/1191-add-remote-install-sdcard-script.patch.patch +++ /dev/null @@ -1,47 +0,0 @@ -From 5007c46ae31856ddac45e0e59bb54cd37c51fe78 Mon Sep 17 00:00:00 2001 -From: Andy Green -Date: Wed, 2 Jul 2008 22:40:43 +0100 -Subject: [PATCH] add-remote-install-sdcard-script.patch - -If you boot from SDCARD, this helper script for the build host -mounts SD card part 1, copies the new uImage.bin, umounts it and -then remounts SD card part 2 as ro, before doing a reboot all -in one step. Read the instructions inside the script for adding -your public key to the GTAxx rootfs for really really simple and -nice automatic update and reboot action. - -Signed-off-by: Andy Green ---- - remote_install_sdcard | 20 ++++++++++++++++++++ - 1 files changed, 20 insertions(+), 0 deletions(-) - create mode 100755 remote_install_sdcard - -diff --git a/remote_install_sdcard b/remote_install_sdcard -new file mode 100755 -index 0000000..c84b6ae ---- /dev/null -+++ b/remote_install_sdcard -@@ -0,0 +1,20 @@ -+#!/bin/sh -+ -+# automatic kernel updater and reboot - Andy Green -+ -+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. -+# -+# 1) mkdir /home/root/.ssh -+# 2) chown root:root / /home /home/root -+# 3) chmod 700 /home/root /home/root/.ssh -+# 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 &" -+ --- -1.5.6.5 - -- cgit v1.2.3