Updated to properly set up 2.6 with early userspace file system boot

git-svn-id: svn://svn.openwrt.org/openwrt/packages@4590 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
groz
2006-08-18 12:37:04 +00:00
parent 043fcdb8fb
commit e64ba29a7f
6 changed files with 19 additions and 42 deletions

View File

@ -3,12 +3,10 @@
LOOPDEV="/dev/loop1"
mkdir mount
cp bin/openwrt-x86-2.4-ext2.img bin/boot.img
gzip -9 < bin/openwrt-x86-2.4-ext2.img > initrd.gz
cp bin/openwrt-x86-2.6-ext2.img bin/boot.img
sudo losetup $LOOPDEV bin/boot.img
sudo mount $LOOPDEV mount
sudo cp build_i386/linux/arch/i386/boot/bzImage mount/vmlinuz
sudo cp initrd.gz mount/initrd.gz
sudo mkdir mount/boot
sudo build_i386/lilo-22.7.2/lilo -C package/lilo/bdlilo.conf
sudo umount mount