Integrate meta-seco-edgehog/updates
[FIX] Update sdimage-rauc-imx6.wks.in
[INITRAMFS] Add mounting of external partitions
Before to jump from ramfs image to the rootfs, the external partitions are mounted into the folder where the rootfs is mounted.
--
[WIC] Update disk layout with etc,var,home as exteral folder
In this layout, the rootfs partition doesn't have the follow folders:
EXTERNAL_ROOTFS_FOLDERS = "
var/
etc/
home/
"
With the follow partitions:
- datafs -> contains etc/ and var/ folder
- varfs -> contains var/ fodler
part / --source edgehog-system-partition --ondisk mmcblk --fstype=ext4 --label datafs --size 128M --align 4 part / --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/var --ondisk mmcblk --fstype=ext4 --label varfs --size 128M --align 4 part / --ondisk mmcblk --fstype=ext4 --label appfs --size 32M --align 4
Note: var/ is not used like the other because it doesn't work that way. From empirical evidence, we have a working rootfs if the content of the var folder is placed directly into the root folder of an external partition.
--
[BASEFILE] Remove automounting of datafs partition in fstat
This partition was mounted into /etc/edgehog/folder. Now etc is a folder external to the rootfs partition and is mounted by the init into ramfs image.
--
[WIC][CLASS] Add EgehogSystemPartitionPlugin class
Add a new WIC's class used as plugin. This class allows to export one or a set of folders from the rootfs and place them into an external partition that inherits that class.
To specify the folders to export this variable have to be populated:
EXTERNAL_ROOTFS_FOLDERS
An example of export of folders /etc, /home and /var:
EXTERNAL_ROOTFS_FOLDERS = "
var/
etc/
home/
"
The partition is setting is:
part / --source edgehog-system-partition --ondisk mmcblk --fstype=ext4 --label datafs --size 128M --align 4
Automatically, this partition will include the folders etc,var and home in its root folder.
--
[EDGEHOG][RUNTIME] Update to version v0.5.0