[英]bitbake rootfs large for core image minimal
First, I generated a core-image-sato
target image using bitbake. 首先,我使用bitbake生成了
core-image-sato
目标图像。 Then after that I generated core-image-minimal
target. 然后,我生成了
core-image-minimal
目标。 The root file system generated still contains the contents/packages of the existing target. 生成的根文件系统仍然包含现有目标的内容/包。
How can I avoid this and have a minimal root file system 如何避免这种情况并拥有最小的根文件系统
I think core-image-sato is build with X11
and core-image-minimal is without X11
. 我认为core-image-sato是使用
X11
构建的,而core-image-minimal是without X11
。 both are fully deferent images. 两者都是完全不同的图像。
so in your deploy/images/your-board/
. 因此在您的
deploy/images/your-board/
。 should have core-image-sato-*-rootfs-*
will present also core-image-minimal-*-rootfs*
present. 应该有
core-image-sato-*-rootfs-*
也将存在core-image-minimal-*-rootfs*
。
Those things you can not delete if you delete core-image-sato- -rootfs- next time you can not able to compile core-image-sato. 如果您下次删除core-image-sato- -rootfs-,则无法删除那些不能编译core-image-sato的东西。 it will give errors.
它会给出错误。
Did this in latest Poky 2.6 - Try to use poky > 2.1 在最新的Poky 2.6中进行了此操作-尝试使用poky> 2.1
bitbake core-image-minimal & bitbake core-image-sato generates different set of images. 最小位烤核心图像和位烤核心图像sato生成不同的图像集。
Just a suggestion, not that you have to do it: 只是一个建议,而不是必须这样做:
If you are bitbaking for the first time use default /build/conf/local.config and /build/conf/bblayers.conf (uncommenting DL_DIR, SSTATE_DIR, TMPDIR will be beneficial though) 如果您是第一次进行位烘烤,请使用默认的/build/conf/local.config和/build/conf/bblayers.conf(取消注释DL_DIR,SSTATE_DIR,TMPDIR会有所帮助)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.