Backing out attempt to identify kernel binary format
This commit is contained in:
1 parent
6d3cb5bcd3
commit
8f546d89b4
1 file changed
+2
-3
+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