Yeah, broken since changeset [6530]. You have to patch the build-system and everything is fine again. Tested on net4801 with the SquashFS and EXT2 image.
- delete a file with 'svn del target/linux/x86-2.6/base-files/default/etc/inittab'.
- patch the build-system with 'patch -p0 < fix-x86-2.6.patch'
- rebuild with 'make package/base-files-clean target/clean world'
- reflash
fix-x86-2.6.patch:
Index: package/base-files/files/sbin/mount_root
===================================================================
--- package/base-files/files/sbin/mount_root (revision 7073)
+++ package/base-files/files/sbin/mount_root (working copy)
@@ -11,7 +11,6 @@
mount -t sysfs none /sys
mount -t tmpfs tmpfs /dev -o size=512K
mknod /dev/console c 5 1
- exec >/dev/console </dev/console 2>&1
mkdir /dev/shm
/sbin/hotplug2 --no-persistent --coldplug --max-children 1
fi
Index: target/linux/x86-2.6/image/grub/menu.lst
===================================================================
--- target/linux/x86-2.6/image/grub/menu.lst (revision 7073)
+++ target/linux/x86-2.6/image/grub/menu.lst (working copy)
@@ -1,15 +1,15 @@
serial --unit=0 --speed=@BAUDRATE@ --word=8 --parity=no --stop=1
-terminal --timeout=10 console serial
+terminal --timeout=10 serial
default 0
timeout 5
title OpenWrt
root (hd0,0)
-kernel /boot/vmlinuz @CMDLINE@ noinitrd console=tty0 console=ttyS0,@BAUDRATE@n8 reboot=bios
+kernel /boot/vmlinuz @CMDLINE@ noinitrd console=ttyS0,@BAUDRATE@n8 reboot=bios
boot
title OpenWrt (failsafe)
root (hd0,0)
-kernel /boot/vmlinuz failsafe=true @CMDLINE@ noinitrd console=tty0 console=ttyS0,@BAUDRATE@n8 reboot=bios
+kernel /boot/vmlinuz failsafe=true @CMDLINE@ noinitrd console=ttyS0,@BAUDRATE@n8 reboot=bios
boot
(Last edited by forum2006 on 2 May 2007, 09:02)