ar71xx: Make wget2nand fail if copying the kernel fails and use the correct file...
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 14 May 2010 08:38:39 +0000 (08:38 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 14 May 2010 08:38:39 +0000 (08:38 +0000)
commit0ba3851aa6b4eb47b0c040692f7e126b27b26a92
tree60e003238c3100c8df43704f3893a9a8e86da465
parent0b2a2f1091a35f7244951affa5d38125b499928e
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