diff options
author | Florian Fainelli <florian@openwrt.org> | 2007-10-24 17:17:04 +0000 |
---|---|---|
committer | Florian Fainelli <florian@openwrt.org> | 2007-10-24 17:17:04 +0000 |
commit | 0f239c91a9e51d8b2891d92f5f25a01af50db557 (patch) | |
tree | 0280bf8c439188c2234b57595c0ca64b2e84d7a5 | |
parent | 39a43187f3cfb37ffc7f69113e913cc03e1454d1 (diff) | |
download | upstream-0f239c91a9e51d8b2891d92f5f25a01af50db557.tar.gz upstream-0f239c91a9e51d8b2891d92f5f25a01af50db557.tar.bz2 upstream-0f239c91a9e51d8b2891d92f5f25a01af50db557.zip |
The build system actually changed the routerboard kernel (#2584)
SVN-Revision: 9430
-rwxr-xr-x | target/linux/adm5120/router_le/base-files/sbin/wget2nand | 6 |
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 |