Skip to content

Integrate meta-seco-edgehog/updates

Commit: yocto_ng/layers/seco/meta-seco-edgehog@c71a05c7

[FIX] Update sdimage-rauc-imx6.wks.in

Commit: yocto_ng/layers/seco/meta-seco-edgehog@0414ec99

[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.

--

Commit: yocto_ng/layers/seco/meta-seco-edgehog@c28d5033

[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.

--

Commit: yocto_ng/layers/seco/meta-seco-edgehog@6d0c4de6

[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.

--

Commit: yocto_ng/layers/seco/meta-seco-edgehog@4fa5ce9e

[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.

--

Commit: yocto_ng/layers/seco/meta-seco-edgehog@2e686440

[EDGEHOG][RUNTIME] Update to version v0.5.0

Merge request reports