向 IMX6 图像添加 rc.local 特征

Adding rc.local features to IMX6 image

我想将 rc.local 插入我的魔杖板。 rc.local 位于 meta-fsl-demos/recipes-fsl/fsl-rc-local 层,在 .bb 文件中 INITSCRIPTNAME 是 "rc.local" 所以我将 rc.local 应用到 CORE_IMAGE_INSTALL_..... += "rc.local" 但是我遇到了

这样的问题

错误:没有 RPROVIDES "rc.local" ...... 错误:必需的构建目标 'core-image-base' 没有可构建的提供程序。

有什么方法可以将此功能附加到我在 yocto 中的图像到我的 Wandboard 或者我们可以向 core-image-base 提供 rc.local 功能吗?

谢谢

最好的问候 Must_ba

您已使用如下方法添加包装方法。

CORE_IMAGE_INSTALL_..... += "fsl-rc-local"