maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak (https://talk.maemo.org/showthread.php?t=92935)

cy8aer 2016-08-13 21:28

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
@Schturmann: 2.0.2.48 - both 1 and C. I think it was not your patch but coderus'. I thought that it was a problem with both your and coderus' patch installed.

But after removing your patch the behaviour is the same:

Original state (after reinstall jolla-settings-sailfishos): enable coderus patch. Everything is fine - though I do not know if the patch works on update (what I believe it does). Disable the patch: fails - but I cannot reach upgrade settings anymore.

Sorry it is not coderus' patch it is Sfiet_Konstantin's.

cy8aer 2016-08-13 21:31

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Maybe helpful: mainpage.qml.rej:
Code:

--- usr/share/jolla-settings/pages/sailfishos/mainpage.qml
+++ usr/share/jolla-settings/pages/sailfishos/mainpage.qml
@@ -267,10 +284,7 @@
                            }
                        }
                    } else if (storeIf.mayInstall) {
-                        // Let the UI smoothly fade out first before doing anything scary
-                        shutdownBus.call("setShutdownMode", ["upgrade"])
-                        // Clear the cache and the system update notification
-                        storeIf.clearOsUpdateCheckCache()
+                        patchmanagerBus.call("unapplyAllPatches", [], unapplyAllCallback)
                    }
                }
            }


Schturman 2016-08-13 22:15

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Hmm, ok. You say the same behavior without my patch, probably I'm not guilty :D

eson 2016-08-14 04:47

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by cy8aer (Post 1512493)
Disable the patch: fails - but I cannot reach upgrade settings anymore.

I get the exact same problem from updating Patchmanager (for Jolla settings).
Can't access Sailfish OS Upgrade and can't unapply 'Unapply all patches on upgrade'

coderus 2016-08-14 05:49

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
something really wrong happened with patch file, need to be fixed

pichlo 2016-08-14 10:53

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by eson (Post 1512507)
I get the exact same problem from updating Patchmanager (for Jolla settings).
Can't access Sailfish OS Upgrade and can't unapply 'Unapply all patches on upgrade'

Yup, same here.

Fixed by (using FBRoot, adapt accordingly):
  1. Go to /usr/share/jolla-settings/pages/sailfishos.
  2. Check the file mainpage.qml.webosinternals.orig is present. Bail out if not.
  3. Delete mainpage.qml and mainpage.rej.
  4. Rename mainpage.qml.webosinternals.orig to mainpage.qml.
  5. Sailfis OS update in Settings is now accessible again.
  6. (Optional) Start Patchmanager and unapply the offending patch.

coderus 2016-08-14 11:26

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
why? just pkcon install jolla-settings-sailfishos

eson 2016-08-14 12:02

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by coderus (Post 1512522)
why? just pkcon install jolla-settings-sailfishos

That didn't work for me. As soon as I tried to unapply the patch, I was back to square one.

pichlo 2016-08-14 12:15

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
Quote:

Originally Posted by coderus (Post 1512522)
why? just pkcon install jolla-settings-sailfishos

Because undoing the damage is better than trying to hide it.

coderus 2016-08-14 13:42

Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
 
pkcon undoing damage, doesnt matter if patch shows as applied or no


All times are GMT. The time now is 18:35.

vBulletin® Version 3.8.8