I am trying to copy a folder to a custom partition using wic cp
command. The file size is 5.1gb,
after copying it into partition, when I boot the image and check, it shows only 1GB. So, my question is: Is there any limit to the file size we can copy using wic cp
command?
In local.conf I have:
IMAGE_FSTYPE = "wic"
WKS_FILE ?="systemd-bootdiskcustom.wks"
command in wks file where I have created the partition (this is the 5th partition in my image):
part custom_part --ondisk sda --fstype=ext4 --label custom_part --align 1024 --use-uuid --size 10000M
Command I use once the image is created to copy the 5.1gb file which is stored in my "meta-mylayer" is:
$ cd poky
$ source oe-build-env
build$ cd tmp/deploy/images/qemux86-64
qemux86-64$ wic cp ../../../../../meta-mylayer/recipes-example/customfile/files/system.img core-image-custom-qemux86-64.wic:5