[OE-core] [PATCH] avahi-systemd: drop postrm, use prerm instead
Koen Kooi
koen at dominion.thruhere.net
Wed May 16 18:50:21 UTC 2012
Op 16 mei 2012, om 20:38 heeft Andreas Oberritter het volgende geschreven:
> On 16.05.2012 19:17, Koen Kooi wrote:
>>
>> Op 16 mei 2012, om 18:55 heeft Andreas Oberritter het volgende geschreven:
>>
>>> * Calling "systemctl disable" from postrm is too late and
>>> causes the following error:
>>>
>>> | Failed to issue method call: No such file or directory
>>>
>>> * Fix indentation of prerm for resulting shell snippet.
>>> * Messing with $D is not needed in *rm scripts.
>>
>> It very much is, you can offline remove scripts just like you can install them.
>
> What's the use case for removing packages offline
e.g. BAD_RECOMMENDATIONS
> and where in OE is
> this used? Is the majority of prerm- and postrm-scripts prepared for that?
Dunno if the majority is, but you're now actively making it worse.
More information about the Openembedded-core
mailing list