Skip to content

Conversation

@viccie30
Copy link

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 viccie30 force-pushed the fix-installation-race branch from c649667 to 1d6633f Compare September 1, 2022 12:22
The old situation led to errors when building the Debian package with
more than one thread.
@viccie30 viccie30 force-pushed the fix-installation-race branch from 1d6633f to 6cc3c03 Compare February 14, 2024 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant