SUSE / klp-build

The kernel livepatching creation tool
GNU General Public License v2.0
9 stars 4 forks source link

Add suport for the sdir lock #6

Closed lhruska closed 2 months ago

lhruska commented 2 months ago

The sdir became stateful after adding support for --apply-patches, which might cause unexpected behavior when using the same sdir from multiple processes. Adding a simple file lock should be sufficient because the extraction takes only a few percent of the overall time spent on a single LP, so the collision of two processes should be pretty rare.

marcosps commented 2 months ago

Fixed by #7 , closing!