+ See included NEWS file for details between 1.2.8 to 1.3.3 - Drop patches included upstream + PackageKit-dynamic-export.patch + PackageKit-fix-crash-pre-dbus.patch + PackageKit-fix-pkcon-permission.patch + PackageKit-mark-as-compulsory.patch + PackageKit-zypp-disable-upgrade-system-in-sle.patch + PackageKit-zypp-dont-install-updateCandidateObj.patch + PackageKit-zypp-parallel-package-downloads.patch - Backport dnf5 backend and add patch to transition dnf users to dnf5 + PackageKit-1.3.3-Initial-DNF5-Backend.patch + PackageKit-alias-dnf-to-dnf5.patch - Drop legacy dnf backend and related patches + PackageKit-dnf-Add-support-for-AppStream-repodata-basenames-use.patch - Drop patches for support for SUSE Linux < 16 + PackageKit-find-python-3-6.patch OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/PackageKit?expand=0&rev=463
22 lines
775 B
Diff
22 lines
775 B
Diff
diff --git a/src/pk-backend.c b/src/pk-backend.c
|
|
index a87fb1a83..6c8c42073 100644
|
|
--- a/src/pk-backend.c
|
|
+++ b/src/pk-backend.c
|
|
@@ -473,12 +473,13 @@ pk_backend_load (PkBackend *backend, GError **error)
|
|
if (backend_name == NULL)
|
|
return FALSE;
|
|
|
|
- /* the "hawkey" and "hif" backends are superseded by "dnf" */
|
|
+ /* the "hawkey", "hif", and "dnf" backends are superseded by "dnf5" */
|
|
if (g_strcmp0 (backend_name, "hawkey") == 0 ||
|
|
g_strcmp0 (backend_name, "yum") == 0 ||
|
|
- g_strcmp0 (backend_name, "hif") == 0) {
|
|
+ g_strcmp0 (backend_name, "hif") == 0 ||
|
|
+ g_strcmp0 (backend_name, "dnf") == 0) {
|
|
g_free (backend_name);
|
|
- backend_name = g_strdup ("dnf");
|
|
+ backend_name = g_strdup ("dnf5");
|
|
}
|
|
|
|
g_debug ("Trying to load : %s", backend_name);
|