Skip to content

Conversation

@last-genius
Copy link
Contributor

Since c009651 ("pygrub: make sure /var/run/xend/boot exists before calling pygrub") added this safety measure, pygrub moved to using /var/run/xen/boot (see 63dcc68151 ("tools/pygrub: store kernels in /var/run/xen/pygrub") in upstream xen ) and started creating the directory itself (if it doesn't already exist).

It's time to drop this unnecessary workaround.

@robhoes robhoes requested a review from andyhhp September 25, 2025 12:25
Copy link
Contributor

@lindig lindig left a comment

Choose a reason for hiding this comment

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

I'd like to see this reviewed by @rosslagerwall . The code change in itself is trivial.

@robhoes
Copy link
Member

robhoes commented Oct 7, 2025

@rosslagerwall @andyhhp: any objection to this?

@robhoes
Copy link
Member

robhoes commented Oct 17, 2025

This needs a rebase to pick up CI changes.

Since c009651 ("pygrub: make sure /var/run/xend/boot exists before calling pygrub")
added this safety measure, pygrub moved to using /var/run/xen/boot
(see 63dcc68151 ("tools/pygrub: store kernels in /var/run/xen/pygrub") in upstream xen
https://xenbits.xen.org/gitweb/?p=xen.git;a=commit;h=63dcc681511356d42645ef2c78955864e3b3e6b9)
and started creating the directory itself (if it doesn't already exist).

It's time to drop this unnecessary workaround.

Signed-off-by: Andrii Sultanov <[email protected]>
Copy link
Collaborator

@andyhhp andyhhp left a comment

Choose a reason for hiding this comment

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

@last-genius One thing that I find helpful when citing commits is to give their year. In this case, the Xen change you cite is from 2014, so more than a decade old.

@last-genius last-genius enabled auto-merge October 17, 2025 11:21
@lindig
Copy link
Contributor

lindig commented Oct 17, 2025

@robhoes This was ok'ed by Andy - so would suggest you tick it and It will go in.

@last-genius last-genius added this pull request to the merge queue Oct 17, 2025
Merged via the queue into xapi-project:master with commit e2ba3d7 Oct 17, 2025
16 checks passed
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.

4 participants