I used digi-yocto 2.6 to build a embedded system for connect core imx6ulsbc board.
I want to this build have READ-ONLY-ROOTFS, so i do:
-Step1: Add EXTRA_IMAGE_FEATURES += “read-only-rootfs” to conf/local.conf
-Step2: Add this line to /meta/classes/core-image.bbclass:
FEATURE_PACKAGES_read-only-rootfs = "packagegroup-core-read-only-rootfs"
-> and core-image.bbclass like bellow
FEATURE_PACKAGES_x11 = “packagegroup-core-x11”
FEATURE_PACKAGES_x11-base = “packagegroup-core-x11-base”
FEATURE_PACKAGES_x11-sato = “packagegroup-core-x11-sato”
FEATURE_PACKAGES_tools-debug = “packagegroup-core-tools-debug”
FEATURE_PACKAGES_eclipse-debug = “packagegroup-core-eclipse-debug”
FEATURE_PACKAGES_tools-profile = “packagegroup-core-tools-profile”
FEATURE_PACKAGES_tools-testapps = “packagegroup-core-tools-testapps”
FEATURE_PACKAGES_tools-sdk = “packagegroup-core-sdk packagegroup-core-standalone-sdk-target”
FEATURE_PACKAGES_nfs-server = “packagegroup-core-nfs-server”
FEATURE_PACKAGES_nfs-client = “packagegroup-core-nfs-client”
FEATURE_PACKAGES_ssh-server-dropbear = “packagegroup-core-ssh-dropbear”
FEATURE_PACKAGES_ssh-server-openssh = “packagegroup-core-ssh-openssh”
FEATURE_PACKAGES_hwcodecs = “${MACHINE_HWCODECS}”
FEATURE_PACKAGES_read-only-rootfs = “packagegroup-core-read-only-rootfs”
-> But if i build by bitbake this file wrong
-Step3: If i remove step2, and i build by: bitbake dey-image-qt, this is my error:
ERROR: dey-image-qt-1.0-r0 do_rootfs: The following packages could not be configured offline and rootfs is read-only: [‘103-u-boot-fw-utils’, ‘100-base-files’, ‘102-hostapd’, ‘101-init-ifupdown’]
ERROR: dey-image-qt-1.0-r0 do_rootfs: Function failed: do_rootfs
ERROR: Logfile of failure stored in: /tmp/work/ccimx6ulsbc-dey-linux-gnueabi/dey-image-qt/1.0-r0/temp/log.do_rootfs.20079
ERROR: Task (/sources/meta-digi/meta-digi-dey/recipes-core/images/dey-image-qt.bb:do_rootfs) failed with exit code ‘1’
NOTE: Tasks Summary: Attempted 4331 tasks of which 10 didn’t need to be rerun and 1 failed.
Summary: 1 task failed:
/sources/meta-digi/meta-digi-dey/recipes-core/images/dey-image-qt.bb:do_rootfs
So, i check this error on google and forum but nothing.
Somebody can help me this error, or how to build read-only-rootfs by digi-yocto?
Thanks so much!