[OE-core] [PATCH] avahi-systemd: drop postrm, use prerm instead

Enrico Scholz enrico.scholz at sigma-chemnitz.de
Mon May 21 12:33:59 UTC 2012


Koen Kooi <koen at dominion.thruhere.net> writes:

>>>> Considering that in the meantime my similar patch [1] to systemd.bbclass
>>>> got merged into meta-oe by Koen, who initially was against it, I guess
>>>> this patch can finally get merged now, too.
>>> 
>>> Crap, I missed the $D part, that's going to get reverted
>> 
>> I think we can keep it when we enhance the systemctl script
>> (systemd-systemctl-native) to ignore 'stop/start'.  
>
> That won't work where you don't the have OE tree at hand.

Is this case really supported?  Lot of scripts depend on encapsulation
by 'pseudo' and/or special wrapper programs. E.g. 'update-alternatives'
must be the tool of the OE tree; the host utility will be used which
does not understand $OPKG_OFFLINE_ROOT.

Else, systemd-systemctl-native is sysrooted by every package inheriting
'systemd.bbclass' and available in every OE tree.


> Worst case: it will call the native systemctl and break the host
> distro.

This would also be the case for the already unwrapped

| systemctl enable ....service

But again... this is not a problem because a custom systemctl script is
installed.


Enrico




More information about the Openembedded-core mailing list