-
-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Configure DNF5 to execute post-update actions #523
Conversation
Fedora 41 uses DNF5 by default, doesn't support old (python) plugins anymore. But it has 'actions' plugin which allows executing arbitrary commands at various points of time. Use it to notify dom0 about installed updates, and refresh appmenus etc. QubesOS/qubes-issues#9244
It's not relevant for DNF5 anymore. Since that subpackage had the only BR: python3-devel, move it to the main package for "qubesagent" python package build. QubesOS/qubes-issues#9244
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #523 +/- ##
=======================================
Coverage 70.57% 70.57%
=======================================
Files 3 3
Lines 469 469
=======================================
Hits 331 331
Misses 138 138
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
OpenQA test summaryComplete test suite and dependencies: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.3&build=2024100303-4.3&flavor=pull-requests Test run included the following:
New failures, excluding unstableCompared to: https://openqa.qubes-os.org/tests/overview?distri=qubesos&version=4.3&build=2024091704-4.3&flavor=update
Failed tests75 failures
Fixed failuresCompared to: https://openqa.qubes-os.org/tests/112766#dependencies 161 fixed
Unstable tests
|
Setting pluginpath makes DNF5 look for plugin configs for every installed libdnf plugin. If any is missing, it fails to start. Since the downloadurl plugin isn't applicable to DNF5 don't set alternative pluginpath to avoid the problem of missing configs for other plugins. QubesOS/qubes-issues#9244
DNF4 plugin we used to have for this doesn't work in Fedora 41 anymore. Use libdnf5-plugin-actions in DNF5.
QubesOS/qubes-issues#9244