[yocto] Automatically include all recipes/packages in a custom layer

2015-03-14 Thread Padam Jeet Singh
Hello, I am trying to build a custom layer on top of core-image-full-cmdline. Basically I did this: 1. Created a new general layer using the yocto-layer command. This also generated a simple hello world recipe. 2. Added that layer in the conf/bblayers.conf BBLAYERS variable. Then I do a

[yocto] Bitbake recipe Post install script not executed once the package is installed

2015-03-14 Thread Bipnesh, Abhinav (Abhinav)
Hi All, I was trying to perform a post install activity as part of the recipe using pkg_postinst_PACKAGENAME() but seems it’s not working. Below is the sample function we have written as part of the recipe pkg_postinst_test (){ #!/bin/sh -xe echo we are calling post install for test

Re: [yocto] File in append recipe not installed

2015-03-14 Thread Paul Eggleton
On Friday 13 March 2015 23:16:30 p_j_r_m wrote: Thanks for your suggestionsThe problem was that my recipe files were taken from sstate directories, even when they were previously cleaned with bitbake -c clean. If I use -c cleansstate instead, all is ok . AFAIK the task signatures will

Re: [yocto] Automatically include all recipes/packages in a custom layer

2015-03-14 Thread Paul Eggleton
On Saturday 14 March 2015 12:51:31 Padam Jeet Singh wrote: I am trying to build a custom layer on top of core-image-full-cmdline. Basically I did this: 1. Created a new general layer using the yocto-layer command. This also generated a simple hello world recipe. 2. Added that layer in the

Re: [yocto] Bitbake recipe Post install script not executed once the package is installed

2015-03-14 Thread Paul Eggleton
On Saturday 14 March 2015 11:37:51 Bipnesh, Abhinav wrote: Paul Eggleton wrote: On Saturday 14 March 2015 10:39:59 Bipnesh, Abhinav wrote: I was trying to perform a post install activity as part of the recipe using pkg_postinst_PACKAGENAME() but seems it’s not working. Below is the

Re: [yocto] Automatically include all recipes/packages in a custom layer

2015-03-14 Thread Padam Jeet Singh
On 14-Mar-2015, at 5:05 pm, Paul Eggleton paul.eggle...@linux.intel.com wrote: On Saturday 14 March 2015 12:51:31 Padam Jeet Singh wrote: I am trying to build a custom layer on top of core-image-full-cmdline. Basically I did this: 1. Created a new general layer using the yocto-layer

Re: [yocto] Automatically include all recipes/packages in a custom layer

2015-03-14 Thread Paul Eggleton
On Saturday 14 March 2015 17:12:11 Padam Jeet Singh wrote: On 14-Mar-2015, at 5:05 pm, Paul Eggleton paul.eggle...@linux.intel.com wrote: On Saturday 14 March 2015 12:51:31 Padam Jeet Singh wrote: I am trying to build a custom layer on top of core-image-full-cmdline. Basically I did

Re: [yocto] Bitbake recipe Post install script not executed once the package is installed

2015-03-14 Thread Paul Eggleton
On Saturday 14 March 2015 10:39:59 Bipnesh, Abhinav wrote: I was trying to perform a post install activity as part of the recipe using pkg_postinst_PACKAGENAME() but seems it’s not working. Below is the sample function we have written as part of the recipe pkg_postinst_test (){

Re: [yocto] Bitbake recipe Post install script not executed once the package is installed

2015-03-14 Thread Bipnesh, Abhinav (Abhinav)
Yes, Basically I did install manually using below command rpm -i test.rpm One thing to add here is we are running Busybox on which I am trying to perform the installation. Cheers, Abhinav From: Paul Eggleton [paul.eggle...@linux.intel.com] Sent:

[yocto] Qt with X11 server

2015-03-14 Thread Parthiban Kandasamy
i built qt4e-demo-image without x11 server, i choose to build qt4 with x11, so what are modifications have to do for this build? -- thanks and regards, parthiban +919790329795 -- ___ yocto mailing list yocto@yoctoproject.org

[yocto] node-serialport recipe help

2015-03-14 Thread Caio
Hi folks! I'm writing a recipe to build the nodejs with node-serialport, but i'm having problem in the QA and in the do_package. This problem occurs when I try to copy all the npm packets to target path using the command cp -r. cp -r ${S}/build/*