aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorFlorian Fainelli <florian@openwrt.org>2007-10-24 17:17:04 +0000
committerFlorian Fainelli <florian@openwrt.org>2007-10-24 17:17:04 +0000
commitf0d73340e1bb3af4742a331b2cff81e49ebcb8b5 (patch)
tree853144687d088f91983149b6055851eeda6e0e1f /target/linux
parentc0663848e713739a3d0061816882762a0719fb14 (diff)
downloadupstream-f0d73340e1bb3af4742a331b2cff81e49ebcb8b5.tar.gz
upstream-f0d73340e1bb3af4742a331b2cff81e49ebcb8b5.tar.bz2
upstream-f0d73340e1bb3af4742a331b2cff81e49ebcb8b5.zip
The build system actually changed the routerboard kernel (#2584)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9430 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux')
-rwxr-xr-xtarget/linux/adm5120/router_le/base-files/sbin/wget2nand6
1 files changed, 5 insertions, 1 deletions
diff --git a/target/linux/adm5120/router_le/base-files/sbin/wget2nand b/target/linux/adm5120/router_le/base-files/sbin/wget2nand
index adb56b946f..9b27b579b4 100755
--- a/target/linux/adm5120/router_le/base-files/sbin/wget2nand
+++ b/target/linux/adm5120/router_le/base-files/sbin/wget2nand
@@ -43,9 +43,13 @@ mkdir /tmp/wget2nand-boot
mount -t yaffs2 "$main" /tmp/wget2nand/
mount -t yaffs2 "$boot" /tmp/wget2nand-boot
+echo "Erasing existing files."
+rm -rf /tmp/wget2nand/*
+
echo "Copying filesystem..."
( wget -O - $url/openwrt-adm5120-2.6-rootfs.tgz) | ( cd /tmp/wget2nand/; tar xvz )
-wget -O /tmp/wget2nand-boot/kernel $url/openwrt-adm5120-2.6-rb1xx-vmlinux
+# RouterBOOT is looking for a kernel named "kernel"
+wget -O /tmp/wget2nand-boot/kernel $url/openwrt-adm5120-2.6-rb1xx-kernel
chmod +x /tmp/wget2nand-boot/kernel