Skip to contentSkip to conversation

more than one init script in one package?

DISCUSSION Steffen Sledz 2 participants 2 messages Dec 10, 2009

lore
Share & tools
lore
#0 lore raw

Just a short question. Is it possible to install more than one initscript in one package? And what's the right way to define this in a recipe.

I tried

INITSCRIPT_PACKAGES = "myinit1 myinit2" INITSCRIPT_NAME_myinit1 = "myinit1" INITSCRIPT_NAME_myinit2 = "myinit2" INITSCRIPT_PARAMS_myinit1 = "start 02 5 2 . stop 20 0 1 6 ." INITSCRIPT_PARAMS_myinit2 = "start 02 5 2 . stop 20 0 1 6 ."

in mytry-1.2.3.bb but this does not create the wanted links. :(

Steffen

#1 lore raw
Quoted 2 lines · Steffen Sledz

Just a short question. Is it possible to install more than one initscript in one package?

Yes, but not with update-rc.d.bbclass

Quoted 2 lines

And what's the right way to define this in
a recipe.

At the moment there is no right way, feel free to come up with proposals :)

regards,

Koen