summaryrefslogtreecommitdiffstats
path: root/conf
diff options
context:
space:
mode:
authorFabio Berton <fabio.berton@ossystems.com.br>2018-02-28 10:48:53 -0300
committerOtavio Salvador <otavio@ossystems.com.br>2018-02-28 13:33:22 -0300
commit8feb8beca100ff07029759832d4dc51bb3e2573e (patch)
tree51bd2e99eb8a80caab19bcb723de52e974b6dc0c /conf
parent6a9cab6ace2c46fd91f73c5cf37082d38a7006c1 (diff)
downloadmeta-freescale-8feb8beca100ff07029759832d4dc51bb3e2573e.tar.gz
imx-base: Add wic option to not update fstab
>From Openembedded Core commit: commit 00420ec42140c1b752132bda190dede85756d157 Author: Fabio Berton <fabio.berton@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.berton@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@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.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'conf')
-rw-r--r--conf/machine/include/imx-base.inc3
1 files changed, 3 insertions, 0 deletions
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}"
237SOC_DEFAULT_IMAGE_FSTYPES = "wic.gz" 237SOC_DEFAULT_IMAGE_FSTYPES = "wic.gz"
238SOC_DEFAULT_IMAGE_FSTYPES_mxs = "uboot-mxsboot-sdcard wic.gz" 238SOC_DEFAULT_IMAGE_FSTYPES_mxs = "uboot-mxsboot-sdcard wic.gz"
239 239
240# Do not update fstab file when using wic images
241WIC_CREATE_EXTRA_ARGS ?= "--no-fstab-update"
242
240SDCARD_ROOTFS ?= "${IMGDEPLOYDIR}/${IMAGE_NAME}.rootfs.ext4" 243SDCARD_ROOTFS ?= "${IMGDEPLOYDIR}/${IMAGE_NAME}.rootfs.ext4"
241IMAGE_FSTYPES ?= "${SOC_DEFAULT_IMAGE_FSTYPES}" 244IMAGE_FSTYPES ?= "${SOC_DEFAULT_IMAGE_FSTYPES}"
242 245