Display "check your connection" in red color in IP field in
case no IPv4 address is assigned, otherwise display IP/PORT.
Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
Rerender the entire header in the loop. Ask to press ENTER at the
end of each part, so logs won't be immediately overwritten by the
header.
Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
The header was inspired by Chromebox.
Add more hardware nad firmware information into the header.
Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
This variable is initialized with value from dmiedecode -s
system-manufacturer, so SYSTEM_VENDOR name is more appropriate.
Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
Reason: ignore "variable appears unsued" beacause scripts in this
directory are being sourced by other scripts in the repo, and,
therefore, so not use self declared variables.
Solutions I have also tried:
- adding "# shellcheck source=../include/dts-functions.sh" and "# shellcheck
source=../include/dts-environment.sh" to all scripts under path
./scripts/;
- adding "# shellcheck source=SCRIPTDIR/../include/dts-functions.sh" and "#
shellcheck source=SCRIPTDIR/../include/dts-environment.sh" to all scripts
under path ./scripts/;
- adding "source-path=./include" and "source-path=SCRIPTDIR/../include" to
".shellcheckrc" as well as via command line arguments and comments in shell
scriptfiles;
- mixing above solutions in different ways;
All above solutions did not work.
References:
https://www.shellcheck.net/wiki/Directivehttps://www.shellcheck.net/wiki/SC2034https://www.shellcheck.net/wiki/SC1090https://pre-commit.com/#config-args
Signed-off-by: Daniil Klimuk <daniil.klimuk@3mdeb.com>
Use check_blobs_in_binary and set_intel_regions_update_params functions
to determine correctly which flashrom flags should be used when flashing
with FLASHROM_ADD_OPT_UPDATE_OVERRIDE flag.
Signed-off-by: Tomasz Żyjewski <tomasz.zyjewski@3mdeb.com>