[PATCH] deploy-image: add support for read-auto in md filtering

7 views
Skip to first unread message

Kasturi shekar

unread,
Jul 30, 2026, 1:39:21 AM (6 days ago) Jul 30
to isar-...@googlegroups.com, Kasturi Shekar
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

Zhihang Wei

unread,
4:38 AM (8 hours ago) 4:38 AM
to Kasturi shekar, isar-...@googlegroups.com
Applied to next, thanks.

Zhihang
Reply all
Reply to author
Forward
0 new messages