您的位置:首页 > 其它

i.MX Yocto Project: How do I add an existing package to an image?

2013-08-27 14:38 507 查看

i.MX Yocto Project: How do I add an existing package to an image?

There are two ways:

1. BitBake. Append the package into the IMAGE_INSTALL variable. But

In case you want the package in every image, add a line to your
conf/local.conf file

IMAGE_INSTALL_append = " package"

Make sure to include the space BEFORE the package name. You can add other packages, just place spaces in-between.

In case you want the package in a particular image, e.g. fsl-image-gui,, add it on
meta-fsl-demos/recipes-fsl/images/fsl-image-gui.bb

IMAGE_INSTALL += " \

${SOC_IMAGE_INSTALL} \

cpufrequtils \

nano \

packagegroup-fsl-gstreamer \

packagegroup-fsl-tools-testapps \

packagegroup-fsl-tools-benchmark \

packagegroup-qt-in-use-demos \

qt4-plugin-phonon-backend-gstreamer \

qt4-demos \

qt4-examples \

fsl-gui-extrafiles \

package \

"

2. Hob. Due to its graphical nature, adding more packages to a base image is easier than the
bitbake way. Run the hob app under the build folder, select your machine and image, then edit the later (click on the
Edit image button)

In case the package is not available, you need to create it. As a starting point take a look at this

example. In case you consider is good enough to be present on the mainstream
repos, send the patch to the
meta-freescale mailing list.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: