From 77e30407fd3bdcb7e7bc91a274f5ebc7bd48d131 Mon Sep 17 00:00:00 2001 From: Arturo Buzarra Date: Tue, 6 Oct 2020 15:22:45 +0200 Subject: [PATCH] sysinfo: fix security status section for ConnectCore 8M platforms Commit c24d1d96 ("sysinfo: adapt script after removal of deprecated fsl_otp driver") introduced support to determine if a device is closed by checking a new boolean property on the DT for the CC8X platforms, however the CC8M platforms use the same mechanism. This commit modifies the sysinfo script to check also the DT for the CC8M platforms. https://jira.digi.com/browse/DEL-7263 Signed-off-by: Arturo Buzarra --- meta-digi-dey/recipes-digi/sysinfo/sysinfo/sysinfo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta-digi-dey/recipes-digi/sysinfo/sysinfo/sysinfo b/meta-digi-dey/recipes-digi/sysinfo/sysinfo/sysinfo index 956d09aee..36151a8ed 100755 --- a/meta-digi-dey/recipes-digi/sysinfo/sysinfo/sysinfo +++ b/meta-digi-dey/recipes-digi/sysinfo/sysinfo/sysinfo @@ -254,7 +254,7 @@ make_report(){ echo "--------------------------------------" echo "" - if grep -qs '\' /proc/device-tree/compatible; then + if grep -qs '\' /proc/device-tree/compatible; then if [ -f "/proc/device-tree/digi,tf-closed" ]; then echo "Security status: [CLOSED]" elif [ -f "/proc/device-tree/digi,tf-open" ]; then