public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
From: Anton Mikanovich <amikan@ilbers.de>
To: isar-users@googlegroups.com
Cc: Anton Mikanovich <amikan@ilbers.de>
Subject: [PATCH 7/7] Revert "Revert "devshell: Use different termination test to avoid warnings""
Date: Fri, 19 Jun 2026 09:21:35 +0200	[thread overview]
Message-ID: <20260619072238.52120-8-amikan@ilbers.de> (raw)
In-Reply-To: <20260619072238.52120-1-amikan@ilbers.de>

Reapply the patch because we still need it.

This reverts commit 865d0f4daae9be5ee48e96229a9cc6382db2eb58.
---
 meta/lib/oe/terminal.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/lib/oe/terminal.py b/meta/lib/oe/terminal.py
index 4412bc14..f1010c11 100644
--- a/meta/lib/oe/terminal.py
+++ b/meta/lib/oe/terminal.py
@@ -257,9 +257,11 @@ def spawn(name, sh_cmd, title=None, env=None, d=None):
     finally:
         os.unlink(pidfile)
 
+    # Test for /proc entry so that target pid can also be privileged
+    procpid = "/proc/%d" % pid
     while True:
         try:
-            os.kill(pid, 0)
+            os.stat(procpid)
             time.sleep(0.1)
         except OSError:
            return
-- 
2.43.0

-- 
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/20260619072238.52120-8-amikan%40ilbers.de.

      parent reply	other threads:[~2026-06-19  7:22 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-19  7:21 [PATCH 0/7] Update OE-core libs WIC to v5.0.3 Anton Mikanovich
2026-06-19  7:21 ` [PATCH 1/7] wic: Update libs " Anton Mikanovich
2026-06-19  7:21 ` [PATCH 2/7] pybootchartgui: Update " Anton Mikanovich
2026-06-19  7:21 ` [PATCH 3/7] Revert "patch: Set dummy credentials for git notes" Anton Mikanovich
2026-06-19  7:21 ` [PATCH 4/7] Revert "devshell: Use different termination test to avoid warnings" Anton Mikanovich
2026-06-19  7:21 ` [PATCH 5/7] meta: Update OE-libs to v5.0.3 Anton Mikanovich
2026-06-19  7:21 ` [PATCH 6/7] Revert "Revert "patch: Set dummy credentials for git notes"" Anton Mikanovich
2026-06-19  7:21 ` Anton Mikanovich [this message]

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=20260619072238.52120-8-amikan@ilbers.de \
    --to=amikan@ilbers.de \
    --cc=isar-users@googlegroups.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