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)
commitdae241a4754428a4eca6e741056fbd3223c0fd42
tree60e003238c3100c8df43704f3893a9a8e86da465
parent0eea4b85a2a451f6c355ae757fef708776827e9e
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21444 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/ar71xx/base-files/sbin/wget2nand