All of lore.kernel.org
 help / color / mirror / Atom feed
* Custom recipe not able to create init script symlinks
@ 2016-01-07  7:15 Prasant J
  2016-01-07  8:56 ` Prasant J
  0 siblings, 1 reply; 2+ messages in thread
From: Prasant J @ 2016-01-07  7:15 UTC (permalink / raw)
  To: Poky Project

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!


Regards, PJ


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Custom recipe not able to create init script symlinks
  2016-01-07  7:15 Custom recipe not able to create init script symlinks Prasant J
@ 2016-01-07  8:56 ` Prasant J
  0 siblings, 0 replies; 2+ messages in thread
From: Prasant J @ 2016-01-07  8:56 UTC (permalink / raw)
  To: Poky Project

On Thu, Jan 7, 2016 at 12:45 PM, Prasant J <pj0585@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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-01-07  8:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-07  7:15 Custom recipe not able to create init script symlinks Prasant J
2016-01-07  8:56 ` Prasant J

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.