Backing out attempt to identify kernel binary format

This commit is contained in:
Bob Lantz
2013-09-17 15:40:52 -07:00
parent 6d3cb5bcd3
commit 8f546d89b4
+2 -3
View File
@@ -415,9 +415,8 @@ def boot( cow, kernel, initrd, logfile ):
# pexpect might not be installed until after depend() is called
global pexpect
import pexpect
kinfo = run( 'file ' + kernel )
# Slightly abusing archFor here
arch = archFor( kinfo )
arch = archFor( kernel )
log( '* Detected kernel architecture', arch )
if NoKVM:
accel = 'tcg'
else: