[OE-core] [RFC] disable SysV compat in systemd when there's no 'sysvinit' in DISTRO_FEATURES

Koen Kooi koen at dominion.thruhere.net
Tue Apr 23 08:52:00 UTC 2013


Op 23 apr. 2013, om 10:41 heeft "Burton, Ross" <ross.burton at intel.com> het volgende geschreven:

> Hi Koen,
> 
> On 23 April 2013 09:18, Koen Kooi <koen at dominion.thruhere.net> wrote:
>> A real patch will follow later after I test this (full rebuild going on due to the BACKFILL snafu mentioned earlier), but it boils down to:
>> 
>> [koen at rrMBP systemd]$ diff -Nurd systemd_199.bb systemd_202.bb
>> --- systemd_199.bb      2013-04-22 16:53:18.450910639 +0200
>> +++ systemd_202.bb      2013-04-23 09:48:06.803283711 +0200
>> -                 --with-sysvrcnd-path=${sysconfdir} \
>> +                 ${@base_contains('DISTRO_FEATURES', 'sysvinit', '--with-sysvrcnd-path=${sysconfdir}', '--with-sysvrcnd-path=', d)} \
>> 
>> Is anyone fundamentally opposed to this going in early in the 1.5 cycle provided my tests work out?
> 
> I have no problem with making this a PACKAGECONFIG straight away, but
> total disabling of sysvinit compact code would mean mass breakage as
> we've not yet managed 100% systemd coverage of the init scripts in
> oe-core.  

This way of forcing change seems to be the preferred method in OE-core based on previous experiences hence the suggestion of doing this early in 1.5.

But yeah, a PACKAGECONFIG option would work for me as well. I'll wait for 203 to get released and post a recipe with that.



More information about the Openembedded-core mailing list