Re: [OE-core] [PATCH 1/2] classes/package_rpm: disable uninstall scripts for upgrades

2023-11-02 Thread vadym . yatsenko
I understand that this patch is pretty old. But, we having issues because of it. According to the description it is intended to fix some problems for RPM systems. We are using DEB packages and this patch is preventing to update rc.d scripts if new version of the package has updates in it. Partic

Re: [OE-core] [PATCH 1/2] classes/package_rpm: disable uninstall scripts for upgrades

2011-11-09 Thread Mark Hatle
On 11/9/11 6:05 AM, Paul Eggleton wrote: > Our current assumption (based on the behaviour of opkg) when writing > recipes is that prerm and postrm do not get called during an upgrade. > When using rpm however, these are mapped to the rpm "preun" and "postun" > events which occur after postinst for

[OE-core] [PATCH 1/2] classes/package_rpm: disable uninstall scripts for upgrades

2011-11-09 Thread Paul Eggleton
Our current assumption (based on the behaviour of opkg) when writing recipes is that prerm and postrm do not get called during an upgrade. When using rpm however, these are mapped to the rpm "preun" and "postun" events which occur after postinst for upgrades, and when these contain removal type ope