Skip to content

Commit

Permalink
xenopsd/scripts: Make pygrub wrapper use the libexec path
Browse files Browse the repository at this point in the history
From Xen 4.19 onwards the legacy paths disappeared and the only valid path for
pygrub is /usr/libexec/xen/bin/pygrub. This path has always been preferred, but
now it's mandatory.

Signed-off-by: Alejandro Vallejo <[email protected]>
  • Loading branch information
Alejandro Vallejo authored and lindig committed May 13, 2024
1 parent 812097d commit 837cec3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ocaml/xenopsd/scripts/pygrub-wrapper
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

import pwd, subprocess, sys

cmd = ["pygrub"]
cmd = ["/usr/libexec/xen/bin/pygrub"]

# Get the usage string. We can't use check_output() because the exit status isn't 0
pygrub_usage = subprocess.Popen(cmd, stdout=subprocess.PIPE, stderr=subprocess.PIPE, universal_newlines=True).communicate()[1]
Expand Down

0 comments on commit 837cec3

Please sign in to comment.