On Mon, 25 Feb 2019 at 12:14, chaitanya cherukuri
<ccvk.chaita...@gmail.com> wrote:
>> If I understand correctly, you want to me copy what script is doing in 
>> do_install(). I was thinking to  add the script has startup to a YOCTO 
>> Image, so that I don't need to copy anything manually and let the script to 
>> its job. This is how I am doing it in do_install()
>
>          install -m 0755 ${S}/startup-script ${D}${sysconfdir}/init.d/
> ln -sf ../init.d/startup-script ${D}${sysconfdir}/rcS.d/S90startup-script

You'll need to do the install yourself, but the symlink generation
should be done with the update-rcd class.

Ross
-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

Reply via email to