Seguindo este guia: link
Estou usando o Gitian-builder para, espero, criar o script gitian-win.yml
, que pode ser encontrado na íntegra detalhe aqui , usando o seguinte comando em:
./bin/gbuild --commit testcoin=V1.0 ../testcoin/contrib/gitian-descriptors/gitian-win.yml
************* WARNING: kvm not loaded, this will probably not work out
--- Building for trusty amd64 ---
Stopping target if it is up
Making a new image copy
Formatting 'target-trusty-amd64.qcow2', fmt=qcow2 size=10738466816 backing_file='base-trusty-amd64.qcow2' encryption=off cluster_size=65536 lazy_refcounts=off
Starting target
Checking if target is up..............................
ssh: connect to host localhost port 2223: Connection refused
./bin/gbuild:21:in 'system!': failed to run on-target true (RuntimeError)
from ./bin/gbuild:73:in 'build_one_configuration'
from ./bin/gbuild:300:in 'block (2 levels) in <main>'
from ./bin/gbuild:295:in 'each'
from ./bin/gbuild:295:in 'block in <main>'
from ./bin/gbuild:293:in 'each'
from ./bin/gbuild:293:in '<main>'
Em seguida, verifiquei o log de depuração em /home/gitian/gitian-builder/var/target.log
, que mostra o seguinte erro:
/home/gitian/gitian-builder/libexec/start-target: 27: /home/gitian/gitian-builder/libexec/start-target: qemu-system-x86_64: not found
Qual sugeriria que qemu_system-x86_64
não está na pasta, o que não é.
Quando eu verifico gitian-builder/libexec
, a pasta contém o seguinte:
/home/gitian/gitian-builder/libexec# ls
config-bootstrap-fixup
config-lxc
copy-from-target
copy-to-target
gconfig
make-clean-vm
on-target
start-target
stop-target
Então, minha pergunta é: Como posso adicionar com sucesso qemu_system-x86_64
à pasta exigida para a meta inicial /home/gitian/gitian-builder/libexec
?