[bitbake-devel] Multiple init script in bitbake file

Khem Raj raj.khem at gmail.com
Tue Aug 6 04:58:09 UTC 2013


On Aug 5, 2013, at 9:51 PM, Benix Vincent <benixvincent at yahoo.com> wrote:

> 
> 
> Hi
> 
> I need to launch multiple initscripts (2) for a single package, I tried the following;
> 
> 
> INITSCRIPT_NAME = "diag.sh"
> INITSCRIPT_PARAMS = "defaults 16"
> 
> INITSCRIPT_NAME = "drivers-init.sh "
> INITSCRIPT_PARAMS = "defaults 14"
> 
> But the second one overwrites the first and I see just one init script in my sandbox.
> 
> then I even tried this
> 
> 
> INITSCRIPT_NAME_diag1 = "diag.sh"
> INITSCRIPT_PARAMS_diag1 = "defaults 16"
> 
> INITSCRIPT_NAME_diag2 = "drivers-init.sh "
> INITSCRIPT_PARAMS_diag2 = "defaults 14"
> 
> 
> even this didn't work.


do you have diag1 and diag2 in PACKAGES  variable ? if not then it won't work. I would suggest to add additional
package to list of PACKAGES the recipe is generating and then use the above syntax.


> 
> Any help is greatly appreciated.
> 
> Benix.
> _______________________________________________
> bitbake-devel mailing list
> bitbake-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/bitbake-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20130805/12fd5aeb/attachment-0002.html>


More information about the bitbake-devel mailing list