[bitbake-devel] Multiple init script in bitbake file

Benix Vincent benixvincent at yahoo.com
Tue Aug 6 05:20:35 UTC 2013



NO diag1 & diag2 aren't part of package variables. Hence it didn't work.

But this is a single package, and has two init scripts. One option is to combine these two init scripts. But I am looking if any posssibility 

to launch two init scripts in one single package.

Benix.


________________________________
 From: Khem Raj <raj.khem at gmail.com>
To: Benix Vincent <benixvincent at yahoo.com> 
Cc: "bitbake-devel at lists.openembedded.org" <bitbake-devel at lists.openembedded.org> 
Sent: Tuesday, August 6, 2013 10:28 AM
Subject: Re: [bitbake-devel] Multiple init script in bitbake file
 




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/c8ac6662/attachment-0002.html>


More information about the bitbake-devel mailing list