Skip to content

Integrate yocto-install/fnginstall_fix_update_status

Commit: seco-ne/tools/yocto-install@29c7a97d

prepare-logo.sh: fix typo in argument name

--

Commit: seco-ne/tools/yocto-install@6e9c7525

install-scripts: fix shellcheck SC2002

[SC2002] Useless cat. Consider cmd < file | .. or cmd file | .. instead. https://www.shellcheck.net/wiki/SC2002

--

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

install-scripts: fix shellcheck SC2268

[SC2268] Avoid x-prefix in comparisons as it no longer serves a purpose. https://www.shellcheck.net/wiki/SC2268

--

Commit: seco-ne/tools/yocto-install@6ee00926

install-scripts: fix shellcheck SC2295

[SC2295] Expansions inside ${..} need to be quoted separately, otherwise they will match as a pattern. https://www.shellcheck.net/wiki/SC2295

--

Commit: seco-ne/tools/yocto-install@090fa36d

install-scripts: fix shellcheck SC2086

[SC2086] Double quote to prevent globbing and word splitting. https://www.shellcheck.net/wiki/SC2086

--

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

yocto-postinstallation: format with shfmt

Fix style using https://github.com/mvdan/sh Used command arguments: -s -i 4 -ci -sr -kp -fn

--

Commit: seco-ne/tools/yocto-install@6011f0e0

fnginstall: rework postinstall script

During the installation, the postinstallation script may fail, but the final result will still be "Update successful".

The commit fixes the fnginstall part calling the postinstallation scripts, to make sure the update is not reported as successful, still try to continue all postinstallation scripts as changes to disk are already done anyway at this state.

Save postinstall script exit code to file and check it at the end of fng-install.sh to report correct status.

Merge request reports