Skip to content

fix(default-flatpaks): remove check for fedora-third-party opt-out#516

Merged
fiftydinar merged 2 commits into
blue-build:mainfrom
ibaidev:main
Jul 22, 2026
Merged

fix(default-flatpaks): remove check for fedora-third-party opt-out#516
fiftydinar merged 2 commits into
blue-build:mainfrom
ibaidev:main

Conversation

@ibaidev

@ibaidev ibaidev commented Dec 10, 2025

Copy link
Copy Markdown
Contributor

This change simplifies Fedora third-party repository opt-out in system-flatpak-setup by removing the call to /usr/lib/fedora-third-party/fedora-third-party-opt-out and using /usr/bin/fedora-third-party disable when available.

The opt-out helper is single-purpose: it flips the third-party status from unset to disabled and exists to allow a different pkexec configuration so an admin can opt out without authenticating on first run. This seems the best option if we bootc switch from a fresh install, but if the third-party status has already been set, any call to this helper prints a message directing callers to /usr/bin/fedora-third-party disable and returns a non-zero exit code, which causes our setup flow to abort before the intended disable step can run.

There may be a more sophisticated way to solve this, but relying directly on /usr/bin/fedora-third-party disable removes the redundant helper invocation, avoids the premature failure path, and ensures the disable action executes consistently on both first and subsequent runs.

@xynydev xynydev left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The reasoning sounds solid here. Hope this is the case, as I'm approving the change :p

Sorry it took so long

Copilot AI review requested due to automatic review settings January 26, 2026 17:33

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@xynydev

xynydev commented Jan 26, 2026

Copy link
Copy Markdown
Member

Why the f-- did copilot try to review this?

@ibaidev

ibaidev commented Jul 22, 2026

Copy link
Copy Markdown
Contributor Author

Hi @fiftydinar,

Could you please take a look at this PR when you have a moment? It has already been approved by @xynydev, but it looks like your review as a code owner is still needed to unblock the merge.

Thanks for your time!

@fiftydinar
fiftydinar merged commit 5efbffb into blue-build:main Jul 22, 2026
4 of 5 checks passed
@xynydev

xynydev commented Jul 23, 2026

Copy link
Copy Markdown
Member

Oh yeah, I could've just merged this too. Brain forgets things. Thanks for the ping.

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.

4 participants