[yocto] easiest way to add opkg and all .ipk data to core-image-minimal?

Robert P. J. Day rpjday at crashcourse.ca
Mon Aug 5 14:20:55 PDT 2013


On Mon, 5 Aug 2013, Chris Larson wrote:

>
> On Mon, Aug 5, 2013 at 1:19 PM, Robert P. J. Day <rpjday at crashcourse.ca> wrote:
>         i should know this but, if i don't want to define a new image, what
>       is the canonical way to add "opkg" and full ipk data to a stock build
>       of, say, core-image-minimal? i can see that what i'll want is to
>       inherit rootfs_ipk in some way, but i'm not sure of the correct way.
>
>
> You should never have to inherit rootfs_ipk. image.bbclass inherits
> the appropriate rootfs class based on the packaging class(es) you
> have inherited and a variable.
>
> From what I can recall, you'd need to add "package-management" to
> its IMAGE_FEATURES, or copy and modify its IMAGE_INSTALL to include
> ${ROOTFS_PKGMANAGE} rather than ${ROOTFS_PKGMANGE_BOOTSTRAP}. --
> Christopher Larson

  yes, it was adding the "package-management" to IMAGE_FEATURES that i
saw as one option -- just wasn't sure that that was the "proper" way
to do it. for now, as long as it works, i'll go with that.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================


More information about the yocto mailing list