|
From: Heiko Z. <smi...@us...> - 2015-12-31 15:07:29
|
Update of /cvsroot/devil-linux/build/config/etc/initrd In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv6241/config/etc/initrd Modified Files: linuxrc Log Message: query dmesg instead of the cpuinfo to identify if we're running under qemu Index: linuxrc =================================================================== RCS file: /cvsroot/devil-linux/build/config/etc/initrd/linuxrc,v retrieving revision 1.118 retrieving revision 1.119 diff -u -d -r1.118 -r1.119 --- linuxrc 30 Dec 2015 20:53:04 -0000 1.118 +++ linuxrc 31 Dec 2015 15:07:26 -0000 1.119 @@ -245,7 +245,7 @@ modprobe loop > /dev/null 2>&1 # virtio -if grep QEMU /proc/cpuinfo > /dev/null ; then +if dmesg | grep -i qemu > /dev/null ; then $BLUE echo "It seems we're running in QEMU -> autoloading virtio modules" $NORMAL |