首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >将Crond "cronie“添加到yocto build时出错

将Crond "cronie“添加到yocto build时出错
EN

Stack Overflow用户
提问于 2020-08-06 04:09:09
回答 1查看 127关注 0票数 0

我正在尝试将crond添加到yocto构建中,我将以下代码行添加到local.conf中

代码语言:javascript
复制
IMAGE_INSTALL_append = "cronie "

并试图构建镜像,

错误消息如下:

代码语言:javascript
复制
ERROR: karo-image-userfs-1.0-r0 do_rootfs: Postinstall scriptlets of ['busybox'] have failed. If the intention is to defer them to first boot,
then please place them into pkg_postinst_ontarget_${PN} ().
Deferring to first boot via 'exit 1' is no longer supported.
Details of the failure are in /home/chadg/karo-new/build-txmp-1530/tmp/work/txmp_1530-poky-linux-gnueabi/karo-image-userfs/1.0-r0/temp/log.do_rootfs.
ERROR: Logfile of failure stored in: /home/chadg/karo-new/build-txmp-1530/tmp/work/txmp_1530-poky-linux-gnueabi/karo-image-userfs/1.0-r0/temp/log.do_rootfs.2691032
ERROR: Task (/home/chadg/karo-new/layers/meta-karo-distro/recipes-karo/images/karo-image-userfs.bb:do_rootfs) failed with exit code '1'

我用谷歌搜索了一下错误代码,但没有找到任何我可以尝试的具体内容。

EN

回答 1

Stack Overflow用户

发布于 2021-05-20 17:14:25

当我将LTP附加到根文件系统时,我就遇到了这个问题,我终于找出了根本原因。cronie bitbake会将crond二进制文件安装到/usr/sbin中,这会导致crond在do_rootfs阶段的busybox链接操作失败。

R BC

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/63272813

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档