From ed2af2e82dbcfccb7392e9fbc3f837de1594c103 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Tue, 4 Jan 2022 14:32:41 +0100 Subject: build system: detect if build host has no bzip2 Signed-off-by: Denys Vlasenko --- scripts/embedded_scripts | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'scripts/embedded_scripts') diff --git a/scripts/embedded_scripts b/scripts/embedded_scripts index aa7bf3e..205ac59 100755 --- a/scripts/embedded_scripts +++ b/scripts/embedded_scripts @@ -23,6 +23,12 @@ if test $? != 0; then exit 1 fi +bzip2 /dev/null +if test $? != 0; then + echo 'bzip2 is not installed' + exit 1 +fi + custom_scripts="" if [ -d "$custom_loc" ] then -- cgit v1.1