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)
commit65dba323f79bfac2edb41724bcff03a3e9506ab8
tree266f1aca6d0076b1194ca3f588007fc950e495d1
parent115f845e53df2ed428ef69c31d819a4f9dff9506
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