Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix installation race - #9

#9
Open
viccie30 wants to merge 1 commit into
chris-se:masterchris-se/tiny-initramfs:masterfrom
viccie30:fix-installation-raceviccie30/tiny-initramfs:fix-installation-raceCopy head branch name to clipboard
Open

Fix installation race#9
viccie30 wants to merge 1 commit into
chris-se:masterchris-se/tiny-initramfs:masterfrom
viccie30:fix-installation-raceviccie30/tiny-initramfs:fix-installation-raceCopy head branch name to clipboard

Conversation

@viccie30

Copy link
Copy Markdown

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.