当我指定压缩.wic
kickstart文件中的文件系统类型。星期文件):
part /boot --source bootimg-partition --ondisk mmcblk0 --fstype=ext4 --label bootfs --uuid 69AE36A5-1C24-412C-89F4-5E8D9123376C --fixed-size 32M
part --source bootimg-partition --ondisk mmcblk0 --fstype=ext4 --label bootfs_2 --uuid AD4023AC-6F63-4598-A32B-7B7864BA6796 --fixed-size 32M
part / --source rootfs --ondisk mmcblk0 --fstype=squashfs --uuid 3C51A271-215E-49B7-824F-4CF56F8BEE0D --fixed-size 176M
part --source rootfs --ondisk mmcblk0 --fstype=squashfs --uuid 8B9C88D2-3CC6-4B2E-A8A0-20AEF87D06DA --fixed-size 176M
part --ondisk mmcblk0 --fstype=ext4 --label fdb --uuid 6D7EEEDA-CD5E-4A8F-94DC-8670DDF887FA --fixed-size 8M
bootloader --ptable gpt
bitbake
以以下错误结束:
DEBUG: Python函数extend_recipe_sysroot finished
DEBUG:执行shell函数do_image_wic
INFO: Creating image(s)…错误:没有找到构建映像所需的本机程序mksquashfs(参见上面的详细信息)。
请确保wic-tools的DEPENDS中有squash -tools-native,使用'bitbake wic-tools'构建后再试一次。
如何指定依赖关系
依赖项可以通过WKS_FILE_DEPENDS
变量放在机器配置文件中。例如:
[...]
WKS_FILE = "my_wic_conf.wks"
WKS_FILE_DEPENDS += "squashfs-tools-native"