add a workaround patch to completely remove assert causing packagekitd crash [release 1.2.7-3mamba;Fri Sep 15 2023]
This commit is contained in:
parent
fddaec7715
commit
ffaec8e2b1
@ -0,0 +1,11 @@
|
||||
--- PackageKit-1.2.7/src/pk-transaction.c.orig 2023-09-15 22:35:18.046436973 +0200
|
||||
+++ PackageKit-1.2.7/src/pk-transaction.c 2023-09-15 22:35:35.724504373 +0200
|
||||
@@ -5525,7 +5525,7 @@
|
||||
|
||||
if (transaction->priv->registration_id > 0) {
|
||||
/* We should have emitted ::Finished if the object was ever registered */
|
||||
- g_assert (transaction->priv->emitted_finished);
|
||||
+ //g_assert (transaction->priv->emitted_finished);
|
||||
|
||||
g_dbus_connection_unregister_object (transaction->priv->connection,
|
||||
transaction->priv->registration_id);
|
@ -1,6 +1,6 @@
|
||||
Name: PackageKit
|
||||
Version: 1.2.7
|
||||
Release: 2mamba
|
||||
Release: 3mamba
|
||||
Summary: A system designed to make installing and updating software on your computer easier
|
||||
Group: System/Management
|
||||
Vendor: openmamba
|
||||
@ -18,6 +18,7 @@ Patch17: PackageKit-1.1.12-dnf-disable-trusted-packages-check.patch
|
||||
Patch18: PackageKit-1.1.12-upstream-dnf-invalidate-the-sack-cache-after-downloading-new-metadata.patch
|
||||
Patch19: PackageKit-1.2.6-enable-ShutdownTimeout.patch
|
||||
Patch20: PackageKit-1.2.7-upstream-fix-pk_transaction_dispose-assertion_failed.patch
|
||||
Patch21: PackageKit-1.2.7-workaround-pk_transaction_remove_assert.patch
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
@ -96,7 +97,8 @@ This package contains the Gtk interface library for %{name}.
|
||||
%patch 17 -p1
|
||||
#%patch18 -p1
|
||||
%patch 19 -p1
|
||||
%patch 20 -p1 -b .upstream-fix-pk_transaction_dispose-assertion_failed
|
||||
#%patch 20 -p1 -b .upstream-fix-pk_transaction_dispose-assertion_failed
|
||||
%patch 21 -p1
|
||||
|
||||
sed -i "s|openmandriva|openmamba|" meson_options.txt
|
||||
|
||||
@ -192,6 +194,9 @@ install -d -m0755 %{buildroot}/var/cache/PackageKit
|
||||
%doc NEWS README
|
||||
|
||||
%changelog
|
||||
* Fri Sep 15 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.7-3mamba
|
||||
- add a workaround patch to completely remove assert causing packagekitd crash
|
||||
|
||||
* Thu Sep 14 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.7-2mamba
|
||||
- upstream patch to fix packagekitd crash on assertion failure (see https://github.com/PackageKit/PackageKit/issues/656 )
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user