Skip to content

feat: Graceful shutdown#9

Merged
kroese merged 2 commits into
masterfrom
dev
May 30, 2026
Merged

feat: Graceful shutdown#9
kroese merged 2 commits into
masterfrom
dev

Conversation

@kroese
Copy link
Copy Markdown

@kroese kroese commented May 30, 2026

No description provided.

Copilot AI review requested due to automatic review settings May 30, 2026 22:55
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the container entry script to support graceful shutdown handling for the QEMU-backed ZimaOS runtime by keeping the shell process active instead of replacing it with QEMU.

Changes:

  • Sources power.sh to configure shutdown handling.
  • Runs QEMU in the foreground while capturing stdout/stderr and handling non-zero exits.
  • Adds post-QEMU terminal/log handling and calls finish 0 when shutdown completion has not already been marked.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@kroese kroese merged commit 4c11def into master May 30, 2026
2 checks passed
@kroese kroese deleted the dev branch May 30, 2026 22:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants