* Error while building a custom image @ 2013-09-12 11:22 Ashish Dalela 2013-09-12 13:52 ` Ashish Dalela 0 siblings, 1 reply; 6+ messages in thread From: Ashish Dalela @ 2013-09-12 11:22 UTC (permalink / raw) To: yocto [-- Attachment #1: Type: text/plain, Size: 789 bytes --] Hi, I am new to the Yocto project and trying to build a custom image (I have built the standard images - e.g. core-image-basic and run them). I added a meta-mylayer directory in the poky directory and added a recipe for a component "tpmc". Then I modified the core-image-basic recipe and added a packagegroup-tpmc. This packagegroup is defined to build and package my component "tpmc". The packagegroup is defined in the yocto:~/poky-dylan-9.0.2/meta/recipes-extended/packagegroups directory. When I build the core-image-basic, at the end (while executing do_rootfs) I see the below error: *| Computing transaction...error: Can't install packagegroup-tpmc-1.0-r6@all: no package provides tpmc* What am I doing wrong? Any hints anyone can give me? Thanks -Ashish [-- Attachment #2: Type: text/html, Size: 988 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Error while building a custom image 2013-09-12 11:22 Error while building a custom image Ashish Dalela @ 2013-09-12 13:52 ` Ashish Dalela 2013-09-12 13:57 ` Nicolas Dechesne 0 siblings, 1 reply; 6+ messages in thread From: Ashish Dalela @ 2013-09-12 13:52 UTC (permalink / raw) To: yocto [-- Attachment #1: Type: text/plain, Size: 1348 bytes --] I tried a small change. I removed the packagegroup entry and added the following to meta/recipes-extended/images/core-image-basic.bb IMAGE_INSTALL += "tpmc" Now, when I do a bitbake core-image-basic, I get this error: *Error: tpmc not found in the base feeds (qemux86 i586 i486 i386 x86 noarch any all).* * * Can someone please help? It's probably something quite simple but I'm not getting it. Thanks -Ashish On Thu, Sep 12, 2013 at 4:52 PM, Ashish Dalela <ashish.dalela@gmail.com>wrote: > Hi, > > I am new to the Yocto project and trying to build a custom image (I have > built the standard images - e.g. core-image-basic and run them). > > I added a meta-mylayer directory in the poky directory and added a recipe > for a component "tpmc". Then I modified the core-image-basic recipe and > added a packagegroup-tpmc. This packagegroup is defined to build and > package my component "tpmc". The packagegroup is defined in the > yocto:~/poky-dylan-9.0.2/meta/recipes-extended/packagegroups directory. > > When I build the core-image-basic, at the end (while executing do_rootfs) > I see the below error: > > *| Computing transaction...error: Can't install > packagegroup-tpmc-1.0-r6@all: no package provides tpmc* > > What am I doing wrong? Any hints anyone can give me? > > Thanks > -Ashish > [-- Attachment #2: Type: text/html, Size: 2121 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Error while building a custom image 2013-09-12 13:52 ` Ashish Dalela @ 2013-09-12 13:57 ` Nicolas Dechesne 2013-09-12 14:01 ` Ashish Dalela 0 siblings, 1 reply; 6+ messages in thread From: Nicolas Dechesne @ 2013-09-12 13:57 UTC (permalink / raw) To: Ashish Dalela; +Cc: Yocto list discussion [-- Attachment #1: Type: text/plain, Size: 635 bytes --] On Thu, Sep 12, 2013 at 3:52 PM, Ashish Dalela <ashish.dalela@gmail.com>wrote: > I tried a small change. I removed the packagegroup entry and added the > following to meta/recipes-extended/images/core-image-basic.bb > > IMAGE_INSTALL += "tpmc" > > Now, when I do a bitbake core-image-basic, I get this error: > > *Error: tpmc not found in the base feeds (qemux86 i586 i486 i386 x86 > noarch any all).* > * > * > Can someone please help? It's probably something quite simple but I'm not > getting it. > did you add your layer to BBLAYERS in conf/bblayer.conf file? does "bitbake tpmc" actually build your recipe? [-- Attachment #2: Type: text/html, Size: 1277 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Error while building a custom image 2013-09-12 13:57 ` Nicolas Dechesne @ 2013-09-12 14:01 ` Ashish Dalela 2013-09-12 15:12 ` Paul Eggleton 0 siblings, 1 reply; 6+ messages in thread From: Ashish Dalela @ 2013-09-12 14:01 UTC (permalink / raw) To: Nicolas Dechesne; +Cc: Yocto list discussion [-- Attachment #1: Type: text/plain, Size: 918 bytes --] Yes, bitbake tpmc is successful. Also, I added my layer to the BBLAYERS in the build/conf/bblayers.conf file. Thanks for responding -Ashish On Thu, Sep 12, 2013 at 7:27 PM, Nicolas Dechesne < nicolas.dechesne@linaro.org> wrote: > > On Thu, Sep 12, 2013 at 3:52 PM, Ashish Dalela <ashish.dalela@gmail.com>wrote: > >> I tried a small change. I removed the packagegroup entry and added the >> following to meta/recipes-extended/images/core-image-basic.bb >> >> IMAGE_INSTALL += "tpmc" >> >> Now, when I do a bitbake core-image-basic, I get this error: >> >> *Error: tpmc not found in the base feeds (qemux86 i586 i486 i386 x86 >> noarch any all).* >> * >> * >> Can someone please help? It's probably something quite simple but I'm not >> getting it. >> > > did you add your layer to BBLAYERS in conf/bblayer.conf file? > > does "bitbake tpmc" actually build your recipe? > > > [-- Attachment #2: Type: text/html, Size: 1958 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Error while building a custom image 2013-09-12 14:01 ` Ashish Dalela @ 2013-09-12 15:12 ` Paul Eggleton 2013-09-13 5:37 ` Ashish Dalela 0 siblings, 1 reply; 6+ messages in thread From: Paul Eggleton @ 2013-09-12 15:12 UTC (permalink / raw) To: Ashish Dalela; +Cc: yocto On Thursday 12 September 2013 19:31:59 Ashish Dalela wrote: > On Thu, Sep 12, 2013 at 7:27 PM, Nicolas Dechesne < > nicolas.dechesne@linaro.org> wrote: > > On Thu, Sep 12, 2013 at 3:52 PM, Ashish Dalela > > <ashish.dalela@gmail.com>wrote: > >> I tried a small change. I removed the packagegroup entry and added the > >> following to meta/recipes-extended/images/core-image-basic.bb > >> > >> IMAGE_INSTALL += "tpmc" > >> > >> Now, when I do a bitbake core-image-basic, I get this error: > >> > >> *Error: tpmc not found in the base feeds (qemux86 i586 i486 i386 x86 > >> noarch any all).* > >> * > >> * > >> Can someone please help? It's probably something quite simple but I'm not > >> getting it. > > > > did you add your layer to BBLAYERS in conf/bblayer.conf file? > > > > does "bitbake tpmc" actually build your recipe? > > Yes, bitbake tpmc is successful. > > Also, I added my layer to the BBLAYERS in the build/conf/bblayers.conf file. Without further details it sounds like a "tpmc" package is being provided by a recipe, but when it came to packaging for that recipe, the "tpmc" package was empty. Check that the "tpmc" recipe has appropriate PACKAGES / FILES values and that files are being installed into the correct paths within in do_install. Cheers, Paul -- Paul Eggleton Intel Open Source Technology Centre ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Error while building a custom image 2013-09-12 15:12 ` Paul Eggleton @ 2013-09-13 5:37 ` Ashish Dalela 0 siblings, 0 replies; 6+ messages in thread From: Ashish Dalela @ 2013-09-13 5:37 UTC (permalink / raw) To: Paul Eggleton; +Cc: Yocto list discussion [-- Attachment #1: Type: text/plain, Size: 1651 bytes --] Thanks! I was able to solve this. The problem was that I was missing the ${D} in the do_install. On Thu, Sep 12, 2013 at 8:42 PM, Paul Eggleton < paul.eggleton@linux.intel.com> wrote: > On Thursday 12 September 2013 19:31:59 Ashish Dalela wrote: > > On Thu, Sep 12, 2013 at 7:27 PM, Nicolas Dechesne < > > nicolas.dechesne@linaro.org> wrote: > > > On Thu, Sep 12, 2013 at 3:52 PM, Ashish Dalela > > > <ashish.dalela@gmail.com>wrote: > > >> I tried a small change. I removed the packagegroup entry and added the > > >> following to meta/recipes-extended/images/core-image-basic.bb > > >> > > >> IMAGE_INSTALL += "tpmc" > > >> > > >> Now, when I do a bitbake core-image-basic, I get this error: > > >> > > >> *Error: tpmc not found in the base feeds (qemux86 i586 i486 i386 x86 > > >> noarch any all).* > > >> * > > >> * > > >> Can someone please help? It's probably something quite simple but I'm > not > > >> getting it. > > > > > > did you add your layer to BBLAYERS in conf/bblayer.conf file? > > > > > > does "bitbake tpmc" actually build your recipe? > > > > Yes, bitbake tpmc is successful. > > > > Also, I added my layer to the BBLAYERS in the build/conf/bblayers.conf > file. > > Without further details it sounds like a "tpmc" package is being provided > by a > recipe, but when it came to packaging for that recipe, the "tpmc" package > was > empty. Check that the "tpmc" recipe has appropriate PACKAGES / FILES values > and that files are being installed into the correct paths within in > do_install. > > Cheers, > Paul > > -- > > Paul Eggleton > Intel Open Source Technology Centre > [-- Attachment #2: Type: text/html, Size: 2532 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-09-13 5:37 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2013-09-12 11:22 Error while building a custom image Ashish Dalela 2013-09-12 13:52 ` Ashish Dalela 2013-09-12 13:57 ` Nicolas Dechesne 2013-09-12 14:01 ` Ashish Dalela 2013-09-12 15:12 ` Paul Eggleton 2013-09-13 5:37 ` Ashish Dalela
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.