将 systemd-analyze 添加到 yocto 构建

将 systemd-analyze 添加到 yocto 构建

我正在为树莓派 3 型构建 yocto 映像,为了分析并稍后优化启动过程,我想添加 systemd-analyze 包。

所以我添加了

IMAGE_INSTALL_append = " systemd-analyze" 

但当local.conf我构建图像时,bitbake 对我大喊大叫

ERROR: Nothing RPROVIDES 'systemd-analyze' (but /home/mtech/Workspace/rpi-yocto/poky-dunfell/meta/recipes-core/images/core-image-base.bb RDEPENDS on or otherwise requires it)

我需要添加额外的层才能使用吗systemd-analyze

  /home/mtech/Workspace/rpi-yocto/poky-dunfell/meta \
  /home/mtech/Workspace/rpi-yocto/poky-dunfell/meta-poky \
  /home/mtech/Workspace/rpi-yocto/poky-dunfell/meta-yocto-bsp \
  /home/mtech/Workspace/rpi-yocto/poky-dunfell/meta-openembedded/meta-oe \
  /home/mtech/Workspace/rpi-yocto/poky-dunfell/meta-openembedded/meta-python \
  /home/mtech/Workspace/rpi-yocto/poky-dunfell/meta-openembedded/meta-multimedia \
  /home/mtech/Workspace/rpi-yocto/poky-dunfell/meta-openembedded/meta-networking \
  /home/mtech/Workspace/rpi-yocto/poky-dunfell/meta-raspberrypi \

相关内容