]> xenbits.xensource.com Git - xentesttools/bootstrap.git/commitdiff
under baremetal make the hvc0 -> console
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 17 Nov 2010 18:42:20 +0000 (13:42 -0500)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 17 Nov 2010 18:42:20 +0000 (13:42 -0500)
root_image/etc/init.d/rcS
root_image/etc/inittab

index 2b702f1e346916816f99b007b68fa68dd569eec3..299892a7b56b379b870523b055f58b262ad199e1 100755 (executable)
@@ -66,6 +66,9 @@ if [ $? == 1 ]; then
        modprobe evtchn
        modprobe xen_evtchn
        /etc/init.d/xencommons start
+else
+       rm -f /dev/hvc0
+       ln -s /dev/console/ /dev/hvc0
 fi
 PATH=$PATH:/usr/bin:/usr/sbin
 
index 872538f87902c6bf7d4ceced4dd6c835a399ef88..44629eb29a89e42749fe365ba4d34abded754ea5 100644 (file)
@@ -3,5 +3,4 @@
 ::shutdown:/etc/init.d/halt
 tty0::respawn:/bin/sh
 tty1::respawn:/bin/sh
-ttyS0::respawn:/bin/sh
-hvc0::askfirst:/bin/sh
+hvc0::respawn:/bin/sh