1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-25 11:02:26 +02:00

linux/adm5120: update wget2nand script

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26748 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
acoul 2011-04-21 13:18:33 +00:00
parent b7a26a735b
commit 15b4a061a0

View File

@ -52,9 +52,9 @@ echo "Erasing existing files..."
rm -rf /tmp/wget2nand-rootfs/* rm -rf /tmp/wget2nand-rootfs/*
echo "Copying filesystem..." echo "Copying filesystem..."
( wget -O - $url/openwrt-adm5120-rootfs.tgz) | ( cd /tmp/wget2nand-rootfs/; tar xvz ) ( wget -O - $url/openwrt-adm5120-router_le-rootfs.tar.gz) | ( cd /tmp/wget2nand-rootfs/; tar xvz )
# RouterBOOT is looking for a kernel named "kernel" # RouterBOOT is looking for a kernel named "kernel"
wget -O /tmp/wget2nand-kernel/kernel $url/openwrt-adm5120-rb1xx-kernel wget -O /tmp/wget2nand-kernel/kernel $url/openwrt-adm5120-router_le-vmlinux.elf
chmod +x /tmp/wget2nand-kernel/kernel chmod +x /tmp/wget2nand-kernel/kernel