Check that strings exists, suggest installing binutils

This commit is contained in:
Pavel Djundik
2023-12-18 18:05:46 +02:00
committed by Phil Elwell
parent 745eabf90e
commit ef0cfffced

View File

@@ -450,6 +450,10 @@ checkDependencies() {
die "lspci not found. Try installing the pciutils package." die "lspci not found. Try installing the pciutils package."
fi fi
if ! command -v strings > /dev/null; then
die "strings not found. Try installing the binutils package."
fi
# vcgencmd bootloader_version is deprecated. Use device-tree if available to # vcgencmd bootloader_version is deprecated. Use device-tree if available to
# reduce the number of dependencies on VCHI. # reduce the number of dependencies on VCHI.
if ! [ -f "${DT_BOOTLOADER_TS}" ]; then if ! [ -f "${DT_BOOTLOADER_TS}" ]; then