meta-arm.lists.yoctoproject.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/6] runfvp: reset the process group on startup
@ 2021-10-18 15:40 Ross Burton
  2021-10-18 15:40 ` [PATCH 2/6] arm/oeqa: add FVP testimage controller target Ross Burton
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Ross Burton @ 2021-10-18 15:40 UTC (permalink / raw)
  To: meta-arm

So that it is easy to kill runfvp and everything it starts (such as
telnet or the FVP itself), reset the process group on startup.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 scripts/runfvp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/scripts/runfvp b/scripts/runfvp
index a5a436e8..97836726 100755
--- a/scripts/runfvp
+++ b/scripts/runfvp
@@ -217,6 +217,9 @@ def runfvp(cli_args):
 
 if __name__ == "__main__":
     try:
+        # Set the process group so that it's possible to kill runfvp and
+        # everything it spawns easily.
+        os.setpgid(0, 0)
         runfvp(sys.argv[1:])
     except KeyboardInterrupt:
         pass
-- 
2.25.1



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-10-18 15:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-18 15:40 [PATCH 1/6] runfvp: reset the process group on startup Ross Burton
2021-10-18 15:40 ` [PATCH 2/6] arm/oeqa: add FVP testimage controller target Ross Burton
2021-10-18 15:40 ` [PATCH 3/6] arm-bsp/fvp: enable virtio drivers Ross Burton
2021-10-18 15:40 ` [PATCH 4/6] arm-bsp/fvp-common: set TEST_TARGET to OEFVPTarget Ross Burton
2021-10-18 15:40 ` [PATCH 5/6] CI: install telnet into the images Ross Burton
2021-10-18 15:40 ` [PATCH 6/6] CI: enable testimage for fvp-base Ross Burton

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).