ar71xx: Make wget2nand fail if copying the kernel fails and use the correct file...
authorGabor Juhos <juhosg@openwrt.org>
Fri, 14 May 2010 08:38:39 +0000 (08:38 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Fri, 14 May 2010 08:38:39 +0000 (08:38 +0000)
commitacc7a4d26a81c5326015f87e8229fa8df5348f3b
tree60e003238c3100c8df43704f3893a9a8e86da465
parentd018a1f86cb39276454e197bf184916c9c7ae79a
ar71xx: Make wget2nand fail if copying the kernel fails and use the correct file extension for the rootfs image

wget2nand didnt check the exit status after copying the kernel, if the
copying failed for some reason ( for example not enougs space on the
kernel partition) it simply continued extracting the rootfs.
I also changed the filename, which wget2nand trys to download (
.tar.gz instead of .tgz ).

Signed-off-by: Marko Foerster <mrkfoerster@googlemail.com>
SVN-Revision: 21444
target/linux/ar71xx/base-files/sbin/wget2nand