Skip to content

Integrate yocto-install/handle-gpt-partition-layout

Commit: seco-ne/tools/yocto-install@09bc9c41

fnginstall-common: handle gpt partition table

This is a fix for issue with ID 746-001412 : "fng-install: Handle existing GPT partition layout."

Edgehog is distributed via WIC files which use a GPT partition table. But fngsystem-self-update scripts, which are used with SECO NE boards, do not work correctly with GPT partition table, so the installation of FNG System fails on boards, where Edgehog WIC is installed.

Added the handling of GPT partition table to fngsystem-self-update:

  • if "--fdisk|--force-repartition" argument is not specified, installation will stop immediately with error message;
  • if "--fdisk|--force-repartition" argument is specified, an existing partition table on storage device on SECO NE board will be erased, and the installation process will continue as if this storage device was unformatted.

Signed-off-by: Mikhail Vanyulin mikhail.vanyulin@rtsoft.de

Merge request reports

Loading