From: "'Kasturi shekar' via isar-users" <isar-users@googlegroups.com>
To: isar-users@googlegroups.com
Cc: Kasturi Shekar <kasturi.shekar@siemens.com>
Subject: [PATCH] deploy-image: add support for read-auto in md filtering
Date: Thu, 30 Jul 2026 11:02:33 +0530 [thread overview]
Message-ID: <20260730053233.2527374-1-kasturi.shekar@siemens.com> (raw)
From: Kasturi Shekar <kasturi.shekar@siemens.com>
Signed-off-by: Kasturi Shekar <kasturi.shekar@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
--
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/20260730053233.2527374-1-kasturi.shekar%40siemens.com.
next reply other threads:[~2026-07-30 5:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-30 5:32 'Kasturi shekar' via isar-users [this message]
2026-08-05 8:38 ` Zhihang Wei
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260730053233.2527374-1-kasturi.shekar@siemens.com \
--to=isar-users@googlegroups.com \
--cc=kasturi.shekar@siemens.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox