Switch to building VBox images on-demand from QEMU image
This commit is contained in:
5
wscript
5
wscript
@@ -291,8 +291,9 @@ def vbox(ctx):
|
|||||||
from shutil import copy
|
from shutil import copy
|
||||||
from subprocess import call
|
from subprocess import call
|
||||||
|
|
||||||
dest = os.getenv("VBOX_DEST")
|
ext = 'qed'
|
||||||
copy("{}/src/kernel/popcorn.elf".format(out), dest)
|
dest = os.path.join(os.getenv("VBOX_DEST"), "popcorn.{}".format(ext))
|
||||||
|
call("qemu-img convert -f raw -O {} build/popcorn.img {}".format(ext, dest), shell=True)
|
||||||
call("nc -l -p 5555", shell=True)
|
call("nc -l -p 5555", shell=True)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user