mirror of
https://github.com/justinian/jsix.git
synced 2025-12-10 08:24:32 -08:00
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 subprocess import call
|
||||
|
||||
dest = os.getenv("VBOX_DEST")
|
||||
copy("{}/src/kernel/popcorn.elf".format(out), dest)
|
||||
ext = 'qed'
|
||||
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)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user