[bitbake-devel] hob2: make xterm automatically exit after qemu exits?

Cui, Dexuan dexuan.cui at intel.com
Thu Apr 5 15:28:08 UTC 2012


Hi all, I'm testing hob2's "Run image" functionality and found the xterm window doesn't exit automatically after the qemu exits.

As a result, every time when I try "Run image", a new xterm window is created. After some rounds of testing, I have to manually terminate many windows one by one... Is this the intended behavior? If no, I think we should remove the "; bash" from builder.py(see the grep result at the end of the mail)?

BTW, I think the hig.py (the deploy tool) has the same issue?

$ grep "; bash" bitbake/ -nr
bitbake/lib/bb/ui/crumbs/builder.py:937: cmdline += "runqemu " + kernel_path + " " + image_path + "; bash\""
bitbake/lib/bb/ui/crumbs/hig.py:741: cmdline += "\"sudo dd if=" + self.image_path + " of=" + combo_item + "; bash\""

Thanks,
-- Dexuan





More information about the bitbake-devel mailing list