tiny-initramfs icon indicating copy to clipboard operation
tiny-initramfs copied to clipboard

Fix installation race

Open viccie30 opened this issue 3 years ago • 0 comments

The Debian packaging builds tiny-initramfs twice with different variant names and installs both into the same directory. If the build uses multiple threads this can lead to a race condition between the copying of the init binary and the renaming.

This commit fixes the issue at the root by eliminating the separate steps and combining the installation and renaming into one invocation.

viccie30 avatar Aug 26 '22 09:08 viccie30