]> git.ipfire.org Git - thirdparty/mkosi.git/commit
Introduce flock_or_die() and use it in various places 2507/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 14 Mar 2024 13:54:45 +0000 (14:54 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 14 Mar 2024 14:00:48 +0000 (15:00 +0100)
commit480673f40b6c27d0bf31fd0679a2692f1e7411b5
treef1a19a0d1e7121229d52d9411cb9800dc1d30691
parent8a1342e4c518957bb8c33f70cf04c28e9625d237
Introduce flock_or_die() and use it in various places

Let's avoid weird error cases caused by two instances of mkosi trying
to currently do stuff with the same output by taking a BSD lock when
trying to do something with the output.
mkosi/__init__.py
mkosi/qemu.py
mkosi/util.py
mkosi/vmspawn.py