readonly: add default configuration for overlayfs_etc

When EXTRA_IMAGE_FEATURES += "overlayfs-etc" is added these
configurations are needed to compile. They are provided with
the default configuration to work with our software.

The user can modify them in their local.conf if needed.

https://onedigi.atlassian.net/browse/DEL-8552

Signed-off-by: Francisco Gil <francisco.gilmartinez@digi.com>
This commit is contained in:
Francisco Gil 2023-05-26 12:46:52 +02:00
parent 614c457139
commit 1fe0a0dfe0
8 changed files with 40 additions and 0 deletions

View File

@ -55,3 +55,8 @@ BOOTABLE_ARTIFACTS = " \
u-boot-ccimx6qpsbc1GB.imx \ u-boot-ccimx6qpsbc1GB.imx \
u-boot-ccimx6qpsbc2GB.imx \ u-boot-ccimx6qpsbc2GB.imx \
" "
# Default overlayfs_etc mount point and type
OVERLAYFS_ETC_MOUNT_POINT ?= "/mnt/data"
OVERLAYFS_ETC_DEVICE ?= "/dev/mmcblk0p7"
OVERLAYFS_ETC_FSTYPE ?= "ext4"

View File

@ -60,3 +60,8 @@ BOOTABLE_ARTIFACTS = " \
u-boot-ccimx6qsbc512MB.imx \ u-boot-ccimx6qsbc512MB.imx \
u-boot-ccimx6qsbc.imx \ u-boot-ccimx6qsbc.imx \
" "
# Default overlayfs_etc mount point and type
OVERLAYFS_ETC_MOUNT_POINT ?= "/mnt/data"
OVERLAYFS_ETC_DEVICE ?= "/dev/mmcblk0p7"
OVERLAYFS_ETC_FSTYPE ?= "ext4"

View File

@ -54,3 +54,8 @@ IMAGE_FSTYPES ?= '${@bb.utils.contains("IMAGE_FEATURES", "read-only-rootfs", \
# Boot artifacts to be copied from the deploy dir to the installer ZIP # Boot artifacts to be copied from the deploy dir to the installer ZIP
BOOTABLE_ARTIFACTS = "imx-boot-ccimx8mm-dvk.bin" BOOTABLE_ARTIFACTS = "imx-boot-ccimx8mm-dvk.bin"
# Default overlayfs_etc mount point and type
OVERLAYFS_ETC_MOUNT_POINT ?= "/mnt/data"
OVERLAYFS_ETC_DEVICE ?= "/dev/mmcblk0p7"
OVERLAYFS_ETC_FSTYPE ?= "ext4"

View File

@ -56,3 +56,8 @@ IMAGE_FSTYPES ?= '${@bb.utils.contains("IMAGE_FEATURES", "read-only-rootfs", \
# Boot artifacts to be copied from the deploy dir to the installer ZIP # Boot artifacts to be copied from the deploy dir to the installer ZIP
BOOTABLE_ARTIFACTS = "imx-boot-ccimx8mn-dvk.bin" BOOTABLE_ARTIFACTS = "imx-boot-ccimx8mn-dvk.bin"
# Default overlayfs_etc mount point and type
OVERLAYFS_ETC_MOUNT_POINT ?= "/mnt/data"
OVERLAYFS_ETC_DEVICE ?= "/dev/mmcblk0p7"
OVERLAYFS_ETC_FSTYPE ?= "ext4"

View File

@ -58,3 +58,8 @@ BOOTABLE_ARTIFACTS = " \
imx-boot-ccimx8x-sbc-pro-C0-2GB_32bit.bin \ imx-boot-ccimx8x-sbc-pro-C0-2GB_32bit.bin \
imx-boot-ccimx8x-sbc-pro-C0-512MB_16bit.bin \ imx-boot-ccimx8x-sbc-pro-C0-512MB_16bit.bin \
" "
# Default overlayfs_etc mount point and type
OVERLAYFS_ETC_MOUNT_POINT ?= "/mnt/data"
OVERLAYFS_ETC_DEVICE ?= "/dev/mmcblk0p7"
OVERLAYFS_ETC_FSTYPE ?= "ext4"

View File

@ -55,3 +55,8 @@ IMAGE_FSTYPES ?= '${@bb.utils.contains("IMAGE_FEATURES", "read-only-rootfs", \
# Boot artifacts to be copied from the deploy dir to the installer ZIP # Boot artifacts to be copied from the deploy dir to the installer ZIP
BOOTABLE_ARTIFACTS = "imx-boot-ccimx93-dvk.bin" BOOTABLE_ARTIFACTS = "imx-boot-ccimx93-dvk.bin"
# Default overlayfs_etc mount point and type
OVERLAYFS_ETC_MOUNT_POINT ?= "/mnt/data"
OVERLAYFS_ETC_DEVICE ?= "/dev/mmcblk0p7"
OVERLAYFS_ETC_FSTYPE ?= "ext4"

View File

@ -163,3 +163,8 @@ BOOTABLE_ARTIFACTS = " \
# TRUSTFENCE basic support # TRUSTFENCE basic support
# Alternatively, uncommment to enable the console with the specified GPIO # Alternatively, uncommment to enable the console with the specified GPIO
# TRUSTFENCE_CONSOLE_GPIO_ENABLE_NAME ?= "GPIOA5" # TRUSTFENCE_CONSOLE_GPIO_ENABLE_NAME ?= "GPIOA5"
# Default overlayfs_etc mount point and type
OVERLAYFS_ETC_MOUNT_POINT ?= "/mnt/data"
OVERLAYFS_ETC_DEVICE ?= "ubi0:data"
OVERLAYFS_ETC_FSTYPE ?= "ubifs"

View File

@ -167,3 +167,8 @@ BOOTABLE_ARTIFACTS = " \
# TRUSTFENCE basic support # TRUSTFENCE basic support
# Alternatively, uncommment to enable the console with the specified GPIO # Alternatively, uncommment to enable the console with the specified GPIO
# TRUSTFENCE_CONSOLE_GPIO_ENABLE_NAME ?= "GPIOB6" # TRUSTFENCE_CONSOLE_GPIO_ENABLE_NAME ?= "GPIOB6"
# Default overlayfs_etc mount point and type
OVERLAYFS_ETC_MOUNT_POINT ?= "/mnt/data"
OVERLAYFS_ETC_DEVICE ?= "ubi0:data"
OVERLAYFS_ETC_FSTYPE ?= "ubifs"