自定义Linux发行版

自定义Linux发行版

本文介绍了自定义Linux发行版-找不到Mono运行时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将 mono 添加到core-image-minimal: //www.nxp.com/products/microcontrollers-and-processors/power-architecture-processors/qoriq-platforms/p-series/p2020-reference-design-board:P2020RDB"rel =" nofollow noreferrer> P202RDB 定制Linux发行版.这是我的bblayers.conf文件:

I am trying to add mono to core-image-minimal for P202RDB custom Linux distro. Here is my bblayers.conf file:

# LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
LCONF_VERSION = "6"

BBPATH = "${TOPDIR}"
BBFILES ?= ""

BBLAYERS ?= " \
  /home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/poky/meta \
  /home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/poky/meta-yocto \
  /home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/poky/meta-yocto-bsp \
  /home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/meta-freescale \
  /home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/meta-freescale-internal \
  /home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/meta-freescale-extra \
  /home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/meta-mono \
  "
BBLAYERS_NON_REMOVABLE ?= " \
  /home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/poky/meta \
  /home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/poky/meta-yocto \
  "

现在,当我尝试使用bitbake core-image-minimal构建图像时,我从中获得以下输出:

Now, when I try to build image using bitbake core-image-minimal, I get following output from it:

Loading cache: 100% |##############################################################################################################| ETA:  00:00:00
Loaded 1496 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = "1.26.0"
BUILD_SYS         = "x86_64-linux"
NATIVELSBSTRING   = "Debian-8.6"
TARGET_SYS        = "powerpc-fsl-linux-gnuspe"
MACHINE           = "p2020rdb"
DISTRO            = "fsl-qoriq"
DISTRO_VERSION    = "1.9"
TUNE_FEATURES     = "m32 spe ppce500v2"
TARGET_FPU        = "ppc-efd"
meta
meta-yocto
meta-yocto-bsp    = "(detachedfromb74ea96):ddf114933ccfc6e3ce51a10e8e8f95e514b73578"
meta-freescale    = "(detachedfrom7fb32a2):7fb32a20983a0ebd5503eb42e851550b0deb8679"
meta-freescale-internal = "(detachedfrom220bff8):220bff8b2030e5af7393b5870d74c6f0af0d76d1"
meta-freescale-extra = "(nobranch):ced26c806cb566b1400a2f4f26a94d8d44d13233"
meta-mono         = "daisy:f01b4f7a98d07abcf4c1f845c057199e112fb7d6"

NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 1248 tasks of which 1248 didn't need to be rerun and all succeeded.

似乎找到了单一存储库,然后我使用此映像准备了SD card,它可以在目标板上顺利启动,但是,mono命令不可用.我想念什么?

It seems mono repository is found, then I prepare SD card using this image and it boots without problems on target board, however, mono command is not available. What am I missing?

推荐答案

添加

 IMAGE_INSTALL_append = " mono"

到您的local.conf.只是添加一个图层不会在您的图像中添加任何包.

to your local.conf. Just adding a layer doesn't add any package to your image.

更好的是,创建自己的图像,然后在该食谱中将mono添加到IMAGE_INSTALL.

Even better, create your own image, and add mono to IMAGE_INSTALL in that recipe.

这篇关于自定义Linux发行版-找不到Mono运行时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-05 17:18