]> xenbits.xensource.com Git - xentesttools/bootstrap.git/commitdiff
baremetal: rm /dev/hvc0 && ln -s /dev/null /dev/hvc0 fixes the inittab issues.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 17 Nov 2010 19:34:21 +0000 (14:34 -0500)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 17 Nov 2010 19:34:21 +0000 (14:34 -0500)
root_image/etc/init.d/rcS

index 2b702f1e346916816f99b007b68fa68dd569eec3..056d02bd1308f7118784621498ce05dcb116d811 100755 (executable)
@@ -66,6 +66,10 @@ if [ $? == 1 ]; then
        modprobe evtchn
        modprobe xen_evtchn
        /etc/init.d/xencommons start
+else
+       rm -f /dev/hvc0
+       ln -s /dev/null /dev/hvc0
+       echo "You might have to do kill -1 1 if you see 'can't open /dev/hvc0'"
 fi
 PATH=$PATH:/usr/bin:/usr/sbin