Backing out attempt to identify kernel binary format
This commit is contained in:
+2
-3
@@ -415,9 +415,8 @@ def boot( cow, kernel, initrd, logfile ):
|
|||||||
# pexpect might not be installed until after depend() is called
|
# pexpect might not be installed until after depend() is called
|
||||||
global pexpect
|
global pexpect
|
||||||
import pexpect
|
import pexpect
|
||||||
kinfo = run( 'file ' + kernel )
|
arch = archFor( kernel )
|
||||||
# Slightly abusing archFor here
|
log( '* Detected kernel architecture', arch )
|
||||||
arch = archFor( kinfo )
|
|
||||||
if NoKVM:
|
if NoKVM:
|
||||||
accel = 'tcg'
|
accel = 'tcg'
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user