Skip to content

qubes-rpc: add qubes.PostUpdate hook for every update run - #676

Open
andreasglashauser wants to merge 1 commit into
QubesOS:mainfrom
andreasglashauser:post-update-hook
Open

qubes-rpc: add qubes.PostUpdate hook for every update run#676
andreasglashauser wants to merge 1 commit into
QubesOS:mainfrom
andreasglashauser:post-update-hook

Conversation

@andreasglashauser

@andreasglashauser andreasglashauser commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

This adds /etc/qubes-rpc/qubes.PostUpdate, which runs every executable script in /etc/qubes/post-update.d, plus the directory and a README describing the contract. scripts run as root after qubes-vm-update finished the package manager in a template or standalone VM, whether or not any package was installed. A failing script does not stop the others, but the exit status is non-zero so the agent can report it.

AI disclosure: I used a local LLM for writing commit messages. I have written each line of code myself, but I used Claude Fable 5 to brainstorm an implementation plan and review my code. Also the README was written by Fable.

Relates to QubesOS/qubes-issues#10389

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.

1 participant