* [PATCH] deploy-image: add support for read-auto in md filtering
@ 2026-07-30 5:32 'Kasturi shekar' via isar-users
2026-08-05 8:38 ` Zhihang Wei
0 siblings, 1 reply; 2+ messages in thread
From: 'Kasturi shekar' via isar-users @ 2026-07-30 5:32 UTC (permalink / raw)
To: isar-users; +Cc: Kasturi Shekar
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] deploy-image: add support for read-auto in md filtering
2026-07-30 5:32 [PATCH] deploy-image: add support for read-auto in md filtering 'Kasturi shekar' via isar-users
@ 2026-08-05 8:38 ` Zhihang Wei
0 siblings, 0 replies; 2+ messages in thread
From: Zhihang Wei @ 2026-08-05 8:38 UTC (permalink / raw)
To: Kasturi shekar, isar-users
Applied to next, thanks.
Zhihang
On 7/30/26 07:32, 'Kasturi shekar' via isar-users wrote:
> 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
--
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/f547588a-31fe-41ec-b65d-5305ffb2c7df%40ilbers.de.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-08-05 8:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-30 5:32 [PATCH] deploy-image: add support for read-auto in md filtering 'Kasturi shekar' via isar-users
2026-08-05 8:38 ` Zhihang Wei
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox