方法1:
1、修改bitbake.conf
cd /home/yocto_build/axxia_support/yocto_build/poky/meta/conf/
vi bitbake.conf
修改倍数参数,1.3为5G,13为50G
IMAGE_OVERHEAD_FACTOR
修改这个参数容量,大于initramfs,不然会报错
INITRAMFS_MAXSIZE
2、编译
cd /home/yocto_build/axxia_support/yocto_build
make fs META_AXXIA_REL=snr_rdk_2106.02_t_419 INCLUDE_RDK=false INCLUDE_SIMICSFS=false
生成镜像目录
/home/yocto_build/axxia_support/yocto_build/axxia/tmp/deploy/images/axxiax86-64
方法2:
修改参数
IMAGE_ROOTFS_EXTRA_SPACE
官方文档:https://docs.yoctoproject.org/ref-manual/variables.html?highlight=image_overhead_factor#term-IMAGE_ROOTFS_EXTRA_SPACE