Koen Kooi <k...@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

_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to