[yocto] IMAGE_INSTALL_append workflow

Aws Ismail aws.ismail at windriver.com
Mon Nov 26 13:25:31 PST 2012


On 11/26/2012 02:04 PM, Eren Türkay wrote:
> On Mon, Nov 26, 2012 at 10:47:31AM -0500, Trevor Woerner wrote:
>> I'm kinda surprised nobody jumped in on this one; either my question
>> is so silly it isn't worth anyone's time, or I'm the only one who
>> wants to add packages to an image after a full build. I know my
>> question has nothing to do with trace-cmd specifically, adding any
>> package after a full build results in the same problem.
> I don't think you are the first person who wants to add a package to image after
> the image has been built :)
>
> The obvious problem would have been leading spaces in IMAGE_INSTALL_append but
> you explicitly stated its correct. Normally, the class that's responsible for
> image creation (image.bbclass) depends on the packages defined in IMAGE_INSTALL
> so that the packages are built before the image creation begins.
>
> image.bbclass, line 9
> ---------------------
> RDEPENDS += "${IMAGE_INSTALL} ${LINGUAS_INSTALL} ${NORMAL_FEATURE_INSTALL}
> ${ROOTFS_BOOTSTRAP_INSTALL}"
>
> On irc (#oe), Eric Benard tried IMAGE_INSTALL_append = " trace-cmd" after a full
> build and reported that it built fine. I'm CCing him.
Have you also tried this?

IMAGE_INSTALL_append += "foo"

Aws\
>
> I believe that it will be better to include your <image> file and the files that
> you changed so that it will be easier to debug. Mentioning your layers,
> configuration, version of Yocto you use will also be helpful.
>
> Regards,
> Eren
>
>
>
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


-- 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20121126/2e9c8660/attachment.html>


More information about the yocto mailing list