mirror of
https://github.com/Zagitta/gpu-unlock.git
synced 2026-12-03 19:44:49 +07:00
[PR #319] packaging/unraid: don't opt in to targets=all by default #291
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Zagitta/gpu-unlock#291
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Zagitta/gpu-unlock/pull/319
Author: @ducduong97hn
Created: 11/7/2026
Status: 🔄 Open
Base:
main← Head:fix/reported-issues📝 Commits (7)
c89de06recipes.c: add GA106 RTX 3060 Mobile FrankenCard (10de:2520)298796efirmware: verify sha256 of fetched NVIDIA inputs22d9445packaging/unraid: don't opt in to targets=all by default3584f53ci(unraid): scope permissions, stop splicing JSON into shell8c2e5ecRevert "recipes.c: add GA106 RTX 3060 Mobile FrankenCard (10de:2520)"db8b165Revert "ci(unraid): scope permissions, stop splicing JSON into shell"1442f6dRevert "firmware: verify sha256 of fetched NVIDIA inputs"📊 Changes
1 file changed (+3 additions, -1 deletions)
View changed files
📝
packaging/unraid/gpu-unlock.plg(+3 -1)📄 Description
packaging/unraid/gpu-unlock.plg: don't opt in totargets=allby defaultgpu-unlock.plgwroteTARGETS="all"to the config on first install, before the user ever touched it, which unlocks every card with no explicit opt-in. That contradicts the documented behavior (module does nothing until the kernel command line/config names a target). Defaults to empty now, whichgpu_unlock_init()already treats as a no-op (!targets || !*targets).Addresses the opt-in-default part of #306. #318 handles the CI-permissions part of #306 and explicitly leaves this one out ("your call"); #291 already covers the hash-verification part. Not aware of an existing PR for this specific default, but happy to close this in favor of one if there is.
Edit history, for anyone following along: this branch originally carried three more commits — restoring
recipes.c's missing GA10610de:2520(#312), sha256 verification infetch_artifacts.py(#291), and the same CI hardening as below forunraid.yml. All three turned out to already have open PRs doing the same thing (#212/#302/#313, #291, and #318 respectively), found after the fact rather than before, so they're reverted here rather than left competing with existing work. The commit history below is left intact (add, then revert) instead of rewritten, since the branch was already public once the first version of this PR was opened.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.