Skip to content

Commit c87c85f

Browse files
committed
lib.sh: remove temporary jq installation
jq package will be installed with device setup script. env-check.sh will provide a warning if jq is not installed. Signed-off-by: Fred Oh <fred.oh@linux.intel.com>
1 parent 520f144 commit c87c85f

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

case-lib/lib.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -390,10 +390,6 @@ disable_kernel_check_point()
390390

391391
is_zephyr()
392392
{
393-
# check if jq is installed, will remove this part
394-
# after all DUTs have jq installed.
395-
type -p jq || sudo apt install jq -y
396-
397393
local manifest=/etc/sof/manifest.txt
398394
test -e "$manifest" || return 1
399395
jq '.version.firmwareType' "$manifest" | grep "zephyr"

env-check.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ printf "Checking for some OS packages:\t\t"
5050
func_check_pkg expect
5151
func_check_pkg aplay
5252
func_check_pkg python3
53+
# jq is command-line json parser
54+
func_check_pkg jq
5355
func_check_python_pkg graphviz
5456
func_check_python_pkg numpy
5557
func_check_python_pkg scipy

0 commit comments

Comments
 (0)