I want to build an initramfs image unfortunately I get error "The recipe texas-image-initramfs is trying to install files into a shared area when those files already exist" every time. I tried the bitbake -c cleanall commands for both texas-image and texas-image-initramfs but it doesn't help. What is the reason for this error? How to solve it?
Is this due to using require texas-image.bb in the initramfs prescription? As a reference I looked into core-image-initramfs.bb
Recipe of initramfs:
require texas-image.bb
IMAGE_FSTYPES = "${INITRAMFS_FSTYPES}"
EXTRA_USERS_PARAMS = ""
ROOTFS_POSTPROCESS_COMMAND:remove = "modify_sudoers;"
IMAGE_ROOTFS_EXTRA_SPACE = "0"
IMAGE_ROOTFS_SIZE = "65536"
IMAGE_FEATURES = ""
IMAGE_LINGUAS = ""
EXTRA_IMAGE_FEATURES:remove = "ssh-server-openssh"
PACKAGE_INSTALL = "udev base-passwd ${ROOTFS_BOOTSTRAP_INSTALL}"
And in local.conf I have added:
INITRAMFS_IMAGE = "texas-image-initramfs"
INITRAMFS_IMAGE_BUNDLE = "1"
INITRAMFS_MAXSIZE = "250000"