]> git.ipfire.org Git - people/stevee/pakfire.git/commit
cgroup: Move builder process out of cgroup before destroying it.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 10 Mar 2013 00:22:37 +0000 (01:22 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 10 Mar 2013 00:22:37 +0000 (01:22 +0100)
commit3503b1493c09bbcca6d8dff203126703a7fc5822
tree93b9abaf8f998dae0ca982ad9664acf6c422f6ae
parent337a733a278a81c1ad44f9d1fed65ec6581dfa44
cgroup: Move builder process out of cgroup before destroying it.

Before all processes in the cgroup are killed, the builder process
is migrated to the parent group, because kill_and_wait() waits
for nothing because it will never kill its own process.
python/pakfire/builder.py