From: Konrad Rzeszutek Wilk Date: Wed, 17 Nov 2010 19:34:21 +0000 (-0500) Subject: baremetal: rm /dev/hvc0 && ln -s /dev/null /dev/hvc0 fixes the inittab issues. X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=ddc7fc80085434efbd51ee6d26a15c86ab75c9cd;p=xentesttools%2Fbootstrap.git baremetal: rm /dev/hvc0 && ln -s /dev/null /dev/hvc0 fixes the inittab issues. --- diff --git a/root_image/etc/init.d/rcS b/root_image/etc/init.d/rcS index 2b702f1..056d02b 100755 --- a/root_image/etc/init.d/rcS +++ b/root_image/etc/init.d/rcS @@ -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