-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kernel: rework Initramfs compile cpio handling
Now that we copy and then delete the Per-Device rootfs linux directory, it's not valid anymore placing the generated cpio there as artifacts or subsequent commands need the generated cpio. To handle this, rework Initramfs compile cpio handling by placing them in the KERNEL_BUILD_DIR but add to the name the rootfs HASH ID. To also prevent race condition, generate and access these file under a lock to prevent fit command to reference a cpio while a parallel execution is genereting it. Fixes: 52cc9d8 ("kernel: rework Initramfs locking logic") Signed-off-by: Christian Marangi <[email protected]>
- Loading branch information
Showing
2 changed files
with
24 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters