[PR #319] packaging/unraid: don't opt in to targets=all by default #291

Open
opened 2026-11-07 17:54:53 +07:00 by bsakaguchi · 0 comments
Owner

📋 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)

  • c89de06 recipes.c: add GA106 RTX 3060 Mobile FrankenCard (10de:2520)
  • 298796e firmware: verify sha256 of fetched NVIDIA inputs
  • 22d9445 packaging/unraid: don't opt in to targets=all by default
  • 3584f53 ci(unraid): scope permissions, stop splicing JSON into shell
  • 8c2e5ec Revert "recipes.c: add GA106 RTX 3060 Mobile FrankenCard (10de:2520)"
  • db8b165 Revert "ci(unraid): scope permissions, stop splicing JSON into shell"
  • 1442f6d Revert "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 to targets=all by default

gpu-unlock.plg wrote TARGETS="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, which gpu_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 GA106 10de:2520 (#312), sha256 verification in fetch_artifacts.py (#291), and the same CI hardening as below for unraid.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.

## 📋 Pull Request Information **Original PR:** https://github.com/Zagitta/gpu-unlock/pull/319 **Author:** [@ducduong97hn](https://github.com/ducduong97hn) **Created:** 11/7/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `fix/reported-issues` --- ### 📝 Commits (7) - [`c89de06`](https://github.com/Zagitta/gpu-unlock/commit/c89de069f14af49c602db44500428d62d46d7895) recipes.c: add GA106 RTX 3060 Mobile FrankenCard (10de:2520) - [`298796e`](https://github.com/Zagitta/gpu-unlock/commit/298796ecca4864d43105636b730cc8af62e92cd8) firmware: verify sha256 of fetched NVIDIA inputs - [`22d9445`](https://github.com/Zagitta/gpu-unlock/commit/22d944530c562844517ebca4bdeced00b3c0769b) packaging/unraid: don't opt in to targets=all by default - [`3584f53`](https://github.com/Zagitta/gpu-unlock/commit/3584f53583091f875bf58e57f07943fb6e31fd00) ci(unraid): scope permissions, stop splicing JSON into shell - [`8c2e5ec`](https://github.com/Zagitta/gpu-unlock/commit/8c2e5ecf3888c2c3ef359a5d2b0f5366eeb282bf) Revert "recipes.c: add GA106 RTX 3060 Mobile FrankenCard (10de:2520)" - [`db8b165`](https://github.com/Zagitta/gpu-unlock/commit/db8b16556696c04f3b7316f9189cacce7b073a2c) Revert "ci(unraid): scope permissions, stop splicing JSON into shell" - [`1442f6d`](https://github.com/Zagitta/gpu-unlock/commit/1442f6deb61e9d9e6f609a0883090669a8427ff6) Revert "firmware: verify sha256 of fetched NVIDIA inputs" ### 📊 Changes **1 file changed** (+3 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packaging/unraid/gpu-unlock.plg` (+3 -1) </details> ### 📄 Description ### `packaging/unraid/gpu-unlock.plg`: don't opt in to `targets=all` by default `gpu-unlock.plg` wrote `TARGETS="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, which `gpu_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 GA106 `10de:2520` (#312), sha256 verification in `fetch_artifacts.py` (#291), and the same CI hardening as below for `unraid.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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Zagitta/gpu-unlock#291
No description provided.