Openembedded Core Discussions
 help / color / mirror / Atom feed
* why is "run-postinsts" considered a "development" recipe?
@ 2016-07-26 14:03 Robert P. J. Day
  2016-07-26 14:07 ` Burton, Ross
  0 siblings, 1 reply; 5+ messages in thread
From: Robert P. J. Day @ 2016-07-26 14:03 UTC (permalink / raw)
  To: OE Core mailing list


  for the first time, i want to use run-postinsts to run some initial
system setup, so i'm assuming i need to add that recipe to my image
and the associated files, but i'm curious as to why run-postinsts
lives under recipes-devtools. it doesn't strike me as a development
tool, so what's the reasoning there? thanks.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================



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

* Re: why is "run-postinsts" considered a "development" recipe?
  2016-07-26 14:03 why is "run-postinsts" considered a "development" recipe? Robert P. J. Day
@ 2016-07-26 14:07 ` Burton, Ross
  2016-07-26 14:19   ` Robert P. J. Day
  0 siblings, 1 reply; 5+ messages in thread
From: Burton, Ross @ 2016-07-26 14:07 UTC (permalink / raw)
  To: Robert P. J. Day; +Cc: OE Core mailing list

[-- Attachment #1: Type: text/plain, Size: 523 bytes --]

On 26 July 2016 at 15:03, Robert P. J. Day <rpjday@crashcourse.ca> wrote:

>   for the first time, i want to use run-postinsts to run some initial
> system setup, so i'm assuming i need to add that recipe to my image
> and the associated files, but i'm curious as to why run-postinsts
> lives under recipes-devtools. it doesn't strike me as a development
> tool, so what's the reasoning there? thanks.
>

For no reason reason other than it's intimately tied to dpkg/opkg/rpm,
which are also in devtools.

Ross

[-- Attachment #2: Type: text/html, Size: 954 bytes --]

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

* Re: why is "run-postinsts" considered a "development" recipe?
  2016-07-26 14:07 ` Burton, Ross
@ 2016-07-26 14:19   ` Robert P. J. Day
  2016-07-26 14:23     ` Burton, Ross
  0 siblings, 1 reply; 5+ messages in thread
From: Robert P. J. Day @ 2016-07-26 14:19 UTC (permalink / raw)
  To: Burton, Ross; +Cc: OE Core mailing list

[-- Attachment #1: Type: text/plain, Size: 1579 bytes --]

On Tue, 26 Jul 2016, Burton, Ross wrote:

>
> On 26 July 2016 at 15:03, Robert P. J. Day <rpjday@crashcourse.ca> wrote:
>         for the first time, i want to use run-postinsts to run some initial
>       system setup, so i'm assuming i need to add that recipe to my image
>       and the associated files, but i'm curious as to why run-postinsts
>       lives under recipes-devtools. it doesn't strike me as a development
>       tool, so what's the reasoning there? thanks.
>
> For no reason reason other than it's intimately tied to
> dpkg/opkg/rpm, which are also in devtools.

  i'm good with that, and one more (potentially idiotic) question
about run-postinsts. i note in the OE recipe file that it inherits
"update-rc.d", but i'm not sure why.

  AIUI (and i could be totally off-base here), i thought systemd
needed update-rc.d only for backward compatibility for sysvinit-style
services, is that right?

  so while run-postinsts is free to inherit update-rc.d, does that
have any value if one is not using any sysvinit-driven services? or am
i misunderstanding the fundamental functionality of update-rc.d?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

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

* Re: why is "run-postinsts" considered a "development" recipe?
  2016-07-26 14:19   ` Robert P. J. Day
@ 2016-07-26 14:23     ` Burton, Ross
  2016-07-26 14:27       ` Robert P. J. Day
  0 siblings, 1 reply; 5+ messages in thread
From: Burton, Ross @ 2016-07-26 14:23 UTC (permalink / raw)
  To: Robert P. J. Day; +Cc: OE Core mailing list

[-- Attachment #1: Type: text/plain, Size: 747 bytes --]

On 26 July 2016 at 15:19, Robert P. J. Day <rpjday@crashcourse.ca> wrote:

>   i'm good with that, and one more (potentially idiotic) question
> about run-postinsts. i note in the OE recipe file that it inherits
> "update-rc.d", but i'm not sure why.
>
>   AIUI (and i could be totally off-base here), i thought systemd
> needed update-rc.d only for backward compatibility for sysvinit-style
> services, is that right?
>
>   so while run-postinsts is free to inherit update-rc.d, does that
> have any value if one is not using any sysvinit-driven services? or am
> i misunderstanding the fundamental functionality of update-rc.d?
>

It inherits update-rcd and systemd so that it runs on both systemd and
sysvinit systems.

Ross

[-- Attachment #2: Type: text/html, Size: 1193 bytes --]

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

* Re: why is "run-postinsts" considered a "development" recipe?
  2016-07-26 14:23     ` Burton, Ross
@ 2016-07-26 14:27       ` Robert P. J. Day
  0 siblings, 0 replies; 5+ messages in thread
From: Robert P. J. Day @ 2016-07-26 14:27 UTC (permalink / raw)
  To: Burton, Ross; +Cc: OE Core mailing list

[-- Attachment #1: Type: text/plain, Size: 1459 bytes --]

On Tue, 26 Jul 2016, Burton, Ross wrote:

>
> On 26 July 2016 at 15:19, Robert P. J. Day <rpjday@crashcourse.ca> wrote:
>         i'm good with that, and one more (potentially idiotic) question
>       about run-postinsts. i note in the OE recipe file that it inherits
>       "update-rc.d", but i'm not sure why.
>
>         AIUI (and i could be totally off-base here), i thought systemd
>       needed update-rc.d only for backward compatibility for sysvinit-style
>       services, is that right?
>
>         so while run-postinsts is free to inherit update-rc.d, does that
>       have any value if one is not using any sysvinit-driven services? or am
>       i misunderstanding the fundamental functionality of update-rc.d?
>
> It inherits update-rcd and systemd so that it runs on both systemd
> and sysvinit systems.

  ok, so my initial assumption was correct ... its value lies solely
in interoperability with sysvinit components; if i have a pure systemd
build, it has no effect. gotcha.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================

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

end of thread, other threads:[~2016-07-26 14:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-26 14:03 why is "run-postinsts" considered a "development" recipe? Robert P. J. Day
2016-07-26 14:07 ` Burton, Ross
2016-07-26 14:19   ` Robert P. J. Day
2016-07-26 14:23     ` Burton, Ross
2016-07-26 14:27       ` Robert P. J. Day

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox