tiny-initramfs
tiny-initramfs copied to clipboard
Fix installation race
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.