[yocto] FW: strange explanation of how to add a package to an existing recipe

Rifenbark, Scott M scott.m.rifenbark at intel.com
Thu Nov 21 10:35:40 PST 2013


Robert, 

Moving this to the discussion group as there is likely issues involved here beyond me. 

Scott

>-----Original Message-----
>From: Robert P. J. Day [mailto:rpjday at crashcourse.ca]
>Sent: Thursday, November 21, 2013 10:32 AM
>To: Rifenbark, Scott M
>Subject: strange explanation of how to add a package to an existing recipe
>
>
>  dev manual here:
>
>http://www.yoctoproject.org/docs/latest/dev-manual/dev-
>manual.html#usingpoky-extend-customimage-custombb
>
>suggests that, to customize an image, you should copy the existing .bb file for
>that image to another name and add a line like:
>
>  IMAGE_INSTALL += "strace"
>
>but rather than *copy* the entire image file, isn't it easier to use what's
>already being used; that is, just "include" or "require" the existing .bb file.
>example: core-image-minimal-mtdutils.bb contains:
>
>
>
>require core-image-minimal.bb
>
>DESCRIPTION = "Small image capable of booting a device with support for the
>\ Minimal MTD Utilities, which let the user interact with the MTD subsystem in
>\ the kernel to perform operations on flash devices."
>
>IMAGE_INSTALL += "mtd-utils"
>
>
>no copying involved -- just "require" the existing image file, and add a
>package. or am i misreading something?
>
>rday



More information about the yocto mailing list