]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
kill-bb: Add it for killing abnormal bitbake processes rbt/kill-bb
authorRobert Yang <liezhi.yang@windriver.com>
Fri, 2 Aug 2019 09:32:32 +0000 (02:32 -0700)
committerRobert Yang <liezhi.yang@windriver.com>
Fri, 2 Aug 2019 10:23:58 +0000 (18:23 +0800)
commit6e12b495c74cfe8497e067fe1b4c4b823c6d4abe
tree9807812729ecaf989aa304f49e7ad78d8bcf0e61
parentfc634c41e4b3fbaf29dc0104ae6b15757e77f60a
kill-bb: Add it for killing abnormal bitbake processes

There might be processes left after Ctr-C, e.g.:
$ rm -f tmp/cache/default-glibc/qemux86/x86_64/
$ bitbake -p

Press 'Ctrl-C' multiple times during parsing, then bitbake processes may not
exit, and the worse is that we can't start bitbake again, we can't always
reproduce this, but sometime. We can only use "ps ux" to find the processes and
kill them one by one. This tool can kill all of them easily.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
scripts/kill-bb [new file with mode: 0755]