Skip to content

FNGSytem: Add fngsystem distro and image

Tobias Kahlki requested to merge add-fngsystem-to-dunfell into dunfell

Integrate fngsystem from rocko. Create an own distro inside the meta-guf-distro layer (for now, may be move to seperate layer later). The distro is has stripped Distrofeature to create smaller images. The image is created as initramfs. Kernel is used as in the normal guf distro.

All needed files are combined to are tarball used for installation. * initramfs * kernel * device-trees * bootscript

Some compatiblity steps are already included, it is possible to install itself inside this fngsystem, as well as the rocko based fngsystem 16. Other install scripts are not yet completly supported.

The gfxml2dto and fng-install-postinstallation is used during installation to adapt the devicetree as in the guf distro. fng-install-postinstallation is now used by both install scripts. To make this more clear it no longer is put into the same directory as the fng-install recipe.

fng-system: Install script, wrapper for sfdisk fng-install is able to run in fngsystem 16 and the new dunfell fngsystem. Fngsystem 16 can be installed from the dunfell fngsystem (going back)

To achive this there are two compatibility things.

  1. The new fng-install script checks the sfdisk version and adapts the call accordingly.
  2. There is a wrapper script in the dunfell fngsystem to modify the calls from older fnginstall scripts using the -uM parameter, which is adapted to a working format. This way the old sfdisk version is not needed anymore. We should continously change all install scripts and remove the wraper later.

BCS 746-000268 BCS 746-000271

Edited by Tobias Kahlki

Merge request reports

Loading