Christian Marangi 52cc9d82f1
kernel: rework Initramfs locking logic
Rework CompileImage/Initramfs locking logic to fix race condition on
concurrent access/compilation.

Rework each intermediate step and group them under one single execution
block. Protect this with a new lock, 'gen-initramfs' and rename the
compile initramfs to compile-initramfs lock name.

This is done to handle corner case scenario where a rootfs with the same
hash ID is generated at the same time. To handle this, we execute
everything under lock and use a specific hash ID lock to prevent
concurrent access/compilation.

Link: https://github.com/openwrt/openwrt/pull/16404
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
2024-09-17 12:12:38 +02:00
..
2024-09-09 10:36:47 +02:00
2021-02-05 14:54:47 +01:00
2024-07-01 00:22:09 +02:00
2024-09-08 21:27:19 +02:00
2024-09-15 16:32:48 +02:00
2024-05-04 14:14:16 +08:00
2022-11-27 00:52:06 +01:00
2023-04-05 08:24:49 -03:00
2021-10-24 18:20:50 +02:00
2024-04-08 21:53:05 +02:00