我正在构建 Yocto(重击)图像,但在执行过程中出现错误do_rootfs:
update-alternatives:错误:自 xxx/tmp/work/cc 起未将 xxx/tmp/work/cc-dey-linux/dey-image/1.0-r0/rootfs/usr/sbin/rtcwake 链接到 /bin/busybox.nosuid -dey-linux/dey-image/1.0-r0/rootfs/usr/sbin/rtcwake 存在且不是链接
然后是详细的错误:
ERROR: dey-image-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 xxx/tmp/work/cc-dey-linux/dey-image/1.0-r0/temp/log.do_rootfs.
ERROR: dey-image-1.0-r0 do_rootfs: Function failed: do_rootfs
ERROR: Logfile of failure stored in: xxx/tmp/work/cc-dey-linux/dey-image/1.0-r0/temp/log.do_rootfs.835055
Run Code Online (Sandbox Code Playgroud)
在 的文件中log.do_rootfs.835055,它具有与上面相同的错误日志。
我想我有3个选择:
update-alternatives,但是实在不知道怎么更新pkg_postinst_ontarget_${PN} ()但是“将它们放入 pkg_postinst_ontarget_${PN} ()”中是什么?
rtcwake禁用busybox其他一些文章说这个错误是因为 busybox 重复造成的,这个选项有什么副作用吗?
有什么例子可以展示如何使用pkg_postinst_ontarget_${PN} ()吗?
谢谢。
| 归档时间: |
|
| 查看次数: |
2365 次 |
| 最近记录: |