yocto 有一个叫做 realpath 的包吗
does yocto have a package called realpath
我需要将 realpath
添加到 **.bbapend
文件中的 RDEPENDS_${PN}
变量,但出现此错误:
Nothing RPROVIDES 'realpath' (but /home/.../recipes-xxx/images/xxx-image-xx.bb RDEPENDS on or otherwise requires it)
是包名错误还是什么?真的不知道。
realpath
实用程序由 coreutils
或 busybox
软件包提供。如果你想使用 coreutils 然后添加
IMAGE_INSTALL += "coreutils"
添加到您的图像配方中,或者您也可以通过 RDEPENDS_${PN}
添加它
对于 busybox,您需要确保在 defconfig
中为 busybox 设置了 CONFIG_REALPATH=y
。
这也可以通过 busybox_%.bbappend 定义
SRC_URI_append = " file://custom.cfg "
其中 custom.cfg
有
CONFIG_REALPATH=y
并放置在 busybox_%.bbappend
旁边的 busybox
文件夹中
我需要将 realpath
添加到 **.bbapend
文件中的 RDEPENDS_${PN}
变量,但出现此错误:
Nothing RPROVIDES 'realpath' (but /home/.../recipes-xxx/images/xxx-image-xx.bb RDEPENDS on or otherwise requires it)
是包名错误还是什么?真的不知道。
realpath
实用程序由 coreutils
或 busybox
软件包提供。如果你想使用 coreutils 然后添加
IMAGE_INSTALL += "coreutils"
添加到您的图像配方中,或者您也可以通过 RDEPENDS_${PN}
对于 busybox,您需要确保在 defconfig
中为 busybox 设置了 CONFIG_REALPATH=y
。
这也可以通过 busybox_%.bbappend 定义
SRC_URI_append = " file://custom.cfg "
其中 custom.cfg
有
CONFIG_REALPATH=y
并放置在 busybox_%.bbappend
busybox
文件夹中