[poky] Custom recipe not able to create init script symlinks

Prasant J pj0585 at gmail.com
Thu Jan 7 00:56:40 PST 2016


On Thu, Jan 7, 2016 at 12:45 PM, Prasant J <pj0585 at gmail.com> wrote:
> Hi,
>
> I'm trying to create a system service recipe that will install
> SysVInit initscripts.
>
> I have 2 recipes:
>
> Recipe 1: compiles a source code and also installs SysVInit (Works as expected)
> Recipe 2: only installs a initscript
>
>
> Recipe 2 is only installing as a postinst task (I see an entry in
> /etc/rpm-postinst/) but SysVinit symlinks are not created in
> /etc/rc?.d/ directories.
>
> Any idea on how I can force it to create symlinks during image creation?
>
>
> There is no difference in Recipe 1 & Recipe 2 (update-rc.d wise) but
> still one installs during image creation and the other one is deferred
> post installation. I do not understand this behavior.
>
>
> Any inputs will be of help!
>

Found it. Typo in INITSCRIPT_PARAMS
Recipe works now.

Back to school for me!


Regards,, PJ


More information about the poky mailing list