[bitbake-devel] Triggering graceful bitbake shutdown

Tanu Kaskinen tanuk at iki.fi
Sat Mar 5 14:01:53 UTC 2016


On Sat, 2016-03-05 at 13:21 +0200, Tanu Kaskinen wrote:
> Hmm... now I realized that if it's normal for knotty to run in a
> separate process and still get KeyboardInterrupts, there must be some
> difference in how my script spawns bitbake compared to how the "main"
> bitbake process spawns the knotty process. Adding a custom SIGINT
> handler to knotty may still make sense, but that should not be required
> to make this work.

Sorry for the noise. The problem was that I spawned bitbake while
SIGINT was blocked in my script, and that was then inherited by the
child process. I removed the SIGINT block in the parent, and now
bitbake responds to ctrl-c just fine.

-- 
Tanu



More information about the bitbake-devel mailing list