Beginner Questions about Patchmanager

I got the new jolla phone 2 a few days ago and struggle with a few technical things that i didnt found an answer yet.

one of this is patchmanager, which the app karuselli told me to install.

is it save to use or will it conflict with updates? what happens if i installed some patches and update to new sf os versions, that are not supported by them yet?

(also i love that i finally own a phone that feels like im in controll and that lets me change how things work)

thanks!

Hi!

I may be biased, as I’m currently maintaining Patchmanager.

It is a tried and true technology. It should be safe to use for what it does :slight_smile:

Note that PM itself only manages Patches - what ever these patches do may or may not affect stability.

It is safe wrt. OS updates, we have some measures in the tool which take care of that (and more coming).

I heartily recommend leaving the ‘Activate Patches at Boot’ setting OFF until you are comfortable that your selection of Patches is working fine. Personally I never use that setting.

If you update, and a Patch is incompatible, it will show this and not be selectable for activation per default.

But you can disable compatability checking in the Patchmanager Settings.

Due to how the Web Catalog works, it may take some time until certain patches are marked compatible. Some never are and nevertheless work just fine.

Good Luck and have fun!

And remember to file a bug report at https://github.com/sailfishos-patches/patchmanager/issues if you encounter any issues.

10 Likes

Note that after an OS update, you currently need to re-install Patchmanager, otherwise Patches will show no effect.

https://github.com/sailfishos-patches/patchmanager/issues/521

3 Likes

In my case i installed only one patch (to test) sadly it blocked the device from booting (not sure why).

Was interesting that at boot, after activating patches i got a warning “popup” from patchmanager with the option to undo the activation if patches.

That allowed me to easily disable, boot and uninstall that patch.

Not sure if it’s a setting but that was really nice, so thanks for adding this kind of stuff!

2 Likes

Thanks for the comprehensible write-up and also for your work!

2 Likes

Really? I updated to 5.2.0.22 yesterday and didn’t re-install Patchmanager and my patches still work

1 Like

Likewise! But I did have to reinstall PM when updating from 5.2.0.18 to .20. I’m still a Sailfish newb and have no idea what’s going on.

It depends on the contents of the update. If they overwrite two essential files in /etc, you need to reinstall. If not, not.
The next release of PM hopefully will be self-healing so that won’t be necessary any more.

4 Likes