Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retain linux-firmware basename #218

Merged
merged 1 commit into from
Jun 15, 2024

Conversation

jmbaur
Copy link
Contributor

@jmbaur jmbaur commented May 31, 2024

Description of changes

Some files in linux-firmware are symlinks, so when we extract them into a smaller derivation, we should retain the same filename to ensure a driver needing firmware is able to find the right file. The install tool will dereference the symlink and use the symlink's basename to ensure we get the right content at the right location.

Testing

Tested building a nixos config's config.hardware.firmware for an orin-nx and confirmed that all the correct rtl nic firmware was present

Some files in linux-firmware are symlinks, so when we extract them into
a smaller derivation, we should retain the same filename to ensure a
driver needing firmware is able to find the right file. The `install`
tool will dereference the symlink and use the symlink's basename to
ensure we get the right content at the right location.
@danielfullmer danielfullmer merged commit 990c8e2 into anduril:master Jun 15, 2024
1 check passed
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.

2 participants