From: Kasturi Shekar <
kasturi...@siemens.com>
Signed-off-by: Kasturi Shekar <
kasturi...@siemens.com>
---
.../recipes-installer/deploy-image/files/usr/bin/sys_api.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-isar/recipes-installer/deploy-image/files/usr/bin/sys_api.sh b/meta-isar/recipes-installer/deploy-image/files/usr/bin/sys_api.sh
index 9c9c5840..5f591745 100644
--- a/meta-isar/recipes-installer/deploy-image/files/usr/bin/sys_api.sh
+++ b/meta-isar/recipes-installer/deploy-image/files/usr/bin/sys_api.sh
@@ -184,7 +184,7 @@ sys_discover_target_devices() {
# Accept only active or clean md arrays, reject degraded/inactive RAID sets.
if [ -f "/sys/block/$device/md/array_state" ]; then
state=$(cat /sys/block/$device/md/array_state | tr -d '\n' | tr -d ' ')
- if [ "$state" != "active" ] && [ "$state" != "clean" ]; then
+ if [ "$state" != "active" ] && [ "$state" != "clean" ] && [ "$state" != "read-auto" ]; then
echo "Skipping RAID device $device: state='$state'" >&2
continue
fi
--
2.47.3