You've already forked dts-scripts
mirror of
https://github.com/Dasharo/dts-scripts.git
synced 2026-03-06 15:01:22 -08:00
4bdeee0787
Othrwise we need to determine whether to display this option or not.
To make a transition, at least three things should be checked:
1. Check, what firmware and platform we are running DTS on.
2. Check, whether the current combination of platform x firmware has
available transitions.
3. Check, whether the firmware is available for download.
The first point is done by sourcing dts-nevironment.sh. The second is
done inside check_for_transition and requires running board_config. But
we cannot run board config every time we want, because it mey overwrite
some global variable or cause asking to choose your platform (for some
NovaCustom laptops). The third is not a problem.
Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>