![]() |
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
ls /var/lib/patchmanager/ausmt/patches
for each patch file check files it's patching then search for packages using rpm -qf filename and reinstall each found package by using pkcon install package |
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
One more problem... Other patches I had no trouble with doing it like this:
With coderus' method reinstalled each package, then unapplied them from PatchManager and reapplied them. But the "Upcoming events on lockscreen" patch was a trickier one. I tried unapplying it and PatchManager said "Failed to remove patch" and it stayed activated. I then decided to remove it with "pkcon remove lockscreen-upcoming". Now PatchManager told me the patch is no longer available and removed it from its list. I then reinstalled it from warehouse. Now when I started PatchManager it showed this patch already applied, and I'm in the same sorry state that I can't unapply it so that I could reapply it. |
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
remove folders from /var/lib/patchmanager/ausmt/patches
|
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
Quote:
First uninstall: Code:
pkcon remove lockscreen-upcoming Remove all added QML files that have been installed when lockscreen-upcoming was applied: Code:
rm -f /usr/share/lipstick-jolla-home-qt5/lockscreen/BorderRectangle.qml |
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
It's so bad when patches creating new files. this is not the thing patches should really do.
|
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
@coderus
but what about diff between file and /dev/null? Is it bad or not? :) |
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
bad. you should package new files, not apply with patch.
|
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
Even if post/pre contains file-check and rm-command for this file?
|
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
yes. everything new should be packaged.
|
Re: [WIP] App / Tweak: patchmanager a system-wide patching system + homescreen tweak
coderus is right, a patch creating a file is BAD.
I like the idea of diff with /dev/null though. Maybe even /dev/random ;) |
All times are GMT. The time now is 05:07. |
vBulletin® Version 3.8.8