feat(plg): stage driver pre-reboot via Unraid os_update event#1
Merged
Conversation
Replace the per-boot-only download with an event/os_update hook that fires during an Unraid OS update, before the reboot prompt, and stages the rtw88 bundle matching the incoming kernel ($3) - so a reboot never lands on a kernel without a WiFi driver. Alerts if no build is published. Synchronous, so the update's reboot prompt only appears once WiFi is ready. Consumer of webgui os_update event (OS-486 / unraid/webgui#2683). On Unraid releases without the event there is no pre-reboot staging; the boot-time installer fetches the driver after reboot as before. Bump to 2026.06.27.3.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces the per-boot-only download with an
event/os_updatehook so the rtw88 driver for the incoming kernel is staged during an Unraid OS update, before the reboot prompt — so a reboot never lands on a kernel with no WiFi driver.How
&emhttp;/event/os_updatehook: stagesrtw88-<incoming-kernel>.tar.gz(from$3, falling back to parsing/boot/changes.txt), md5-verifies it, prints progress into the Update-OS dialog, and raises an Unraid alert if no build is published.pre-reboot-check.sh(never released).Dependency
Consumer of the generic
os_updateevent added in webgui — Linear OS-486, unraid/webgui#2683. On Unraid releases without that event there is no pre-reboot staging; the boot-time installer fetches the driver after reboot as before (accepted coverage gap for now).Test
xmllintclean;bash -nclean on all resolved blocks.$3empty → falls back tochanges.txt.