On 16.05.2012 20:50, Koen Kooi wrote:
> 
> 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

Packages in BAD_RECOMMENDATIONS don't get installed. So there's no need
for them to get removed. Do you know any real use case?

>> 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.

I doubt it unless proven wrong.

Actually there's only one line matching opkg-cl.*remove, which is a very
special case:

openembedded-core/meta/classes/rootfs_ipk.bbclass:
opkg-cl ${IPKG_ARGS} --force-depends remove update-rc.d base-passwd || true

Regards,
Andreas

P.S.: No line matches opkg-cl.*upgrade

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to