[OE-core] [PATCH 1/1] sysvinit: use ALTERNATIVE to manage sulogin
ChenQi
Qi.Chen at windriver.com
Sat Nov 16 02:31:36 UTC 2013
On 11/15/2013 08:51 PM, Phil Blundell wrote:
> On Fri, 2013-11-15 at 18:45 +0800, Qi.Chen at windriver.com wrote:
>> -FILES_sysvinit-sulogin = "${base_sbindir}/sulogin"
>> +FILES_sysvinit-sulogin = "${base_sbindir}/sulogin.sysvinit"
> At the risk of seeming dim, how does ${base_sbindir}/sulogin.sysvinit
> get installed in the first place?
>
> p.
>
>
>
>
It's handled in the update-alternative.bbclass.
# We need to do the rename after the image creation step, but before
# the split and strip steps.. packagecopy seems to be the earliest
reasonable
# place.
python perform_packagecopy_append () {
.....
}
Best Regards,
Chen Qi
More information about the Openembedded-core
mailing list