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

The build system actually changed the routerboard kernel (#2584)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9430 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
florian 2007-10-24 17:17:04 +00:00
parent 06adb0f93b
commit 7861defdcb

View File

@ -43,9 +43,13 @@ mkdir /tmp/wget2nand-boot
mount -t yaffs2 "$main" /tmp/wget2nand/ mount -t yaffs2 "$main" /tmp/wget2nand/
mount -t yaffs2 "$boot" /tmp/wget2nand-boot mount -t yaffs2 "$boot" /tmp/wget2nand-boot
echo "Erasing existing files."
rm -rf /tmp/wget2nand/*
echo "Copying filesystem..." echo "Copying filesystem..."
( wget -O - $url/openwrt-adm5120-2.6-rootfs.tgz) | ( cd /tmp/wget2nand/; tar xvz ) ( wget -O - $url/openwrt-adm5120-2.6-rootfs.tgz) | ( cd /tmp/wget2nand/; tar xvz )
wget -O /tmp/wget2nand-boot/kernel $url/openwrt-adm5120-2.6-rb1xx-vmlinux # RouterBOOT is looking for a kernel named "kernel"
wget -O /tmp/wget2nand-boot/kernel $url/openwrt-adm5120-2.6-rb1xx-kernel
chmod +x /tmp/wget2nand-boot/kernel chmod +x /tmp/wget2nand-boot/kernel