Skip to content

Integrate yocto-install/restore-mounted-partititons

Commit: seco-ne/tools/yocto-install@d874f392

fng-install: mount back everything that was mounted before script started

This is a fix for issue [746-001533] Error: /etc/shared isn't mounted after fng-install was run.

This adds two new common functions to fng-install.sh.in. "store_mount" will save the content of /proc/mounts. It will be run before umount_emmc is called the first time; "restore_mount" will check that all partitions listed by store_mount are still mounted. And, if not, it will remount missing partitions. This routine will be called at the end of the cleanup function.

Signed-off-by: Dmitry Petrov dmitry.petrov@rtsoft.de

Merge request reports

Loading