fix(cua-driver): leave pacman-managed updates to pacman - #3636
Merged
Conversation
Fixes #3635. Detect positive ownership of the running Linux executable, suppress upstream update discovery, and refuse installer/channel mutations with package-manager guidance. Preserve existing response fields and unmanaged platform behavior.
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.
Scope
Fixes #3635.
Treat positive pacman ownership of the running executable as a reason to leave binary updates to pacman. This is a focused Linux update-path correction, not a new package-manager configuration interface.
channel statusalso ignores stale saved preferences and reports pacman guidance. Never run sudo automatically./usr/bin/pacmandirectly with a bounded ownership check; a PATH override cannot establish ownership.The package workaround in omacom/omarchy-pkgs#306 must remain until a Driver release containing this fix is available through that package's normal release-age gate.
Validation and review status
channel statusreporting. The existing JSONsourcefield is retained for compatibility; documentation makes clear that no upstream check was performed.Final head:
26207397584b77bbf26002a715f32748e9365d8d. The desktop matrices passed at product candidate31d2e820cc58f4fc7cc8a11880bc88f5f087675a; subsequent changes only clarify the release availability in the docs and fix the new Arch job's Git ownership/source check. Product code, desktop tests, desktop runners, and desktop environments are unchanged. The Arch package test passed again on the final head.The fix does not query pacman's repository databases or claim a package is up to date. The Arch fixture proves package-update behavior, not Hyprland input. No installed host Driver has been changed. Merge and publication of a component release are separate stages; published release 0.24.0 does not contain this fix.