>From Openembedded Core commit: commit 00420ec42140c1b752132bda190dede85756d157 Author: Fabio Berton <fabio.ber...@ossystems.com.br> Date: Wed Apr 19 13:42:47 2017 -0300
wic: Add option to not change fstab Create an option to wic doesn't change fstab file, the final fstab file will be same that in rootfs and wic doesn't update file, e.g adding a new mount point. Users can control the fstab file content in base-files recipe. This is useful if you want to only create an partition but not add fstab mount point or add new mount point using label e.g: LABEL=recovery /recovery auto defaults 0 1 Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br> Signed-off-by: Richard Purdie <richard.pur...@linuxfoundation.org> This change is useful to avoid duplicate entries on final image fstab, and system will not mount partitions that doesn't exist. Signed-off-by: Fabio Berton <fabio.ber...@ossystems.com.br> --- conf/machine/include/imx-base.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc index a19106b3..831dc7a6 100644 --- a/conf/machine/include/imx-base.inc +++ b/conf/machine/include/imx-base.inc @@ -237,6 +237,9 @@ PREFERRED_PROVIDER_virtual/kernel ??= "${IMX_DEFAULT_KERNEL}" SOC_DEFAULT_IMAGE_FSTYPES = "wic.gz" SOC_DEFAULT_IMAGE_FSTYPES_mxs = "uboot-mxsboot-sdcard wic.gz" +# Do not update fstab file when using wic images +WIC_CREATE_EXTRA_ARGS ?= "--no-fstab-update" + SDCARD_ROOTFS ?= "${IMGDEPLOYDIR}/${IMAGE_NAME}.rootfs.ext4" IMAGE_FSTYPES ?= "${SOC_DEFAULT_IMAGE_FSTYPES}" -- 2.14.2 -- _______________________________________________ meta-freescale mailing list meta-freescale@yoctoproject.org https://lists.yoctoproject.org/listinfo/meta-freescale