From 837cec3861bd4d5c4723cdb85b3f7a0b16ecfba0 Mon Sep 17 00:00:00 2001 From: Alejandro Vallejo Date: Fri, 10 May 2024 17:43:55 +0100 Subject: [PATCH] xenopsd/scripts: Make pygrub wrapper use the libexec path 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 --- ocaml/xenopsd/scripts/pygrub-wrapper | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ocaml/xenopsd/scripts/pygrub-wrapper b/ocaml/xenopsd/scripts/pygrub-wrapper index 0a3c78964dd..e55121745bf 100644 --- a/ocaml/xenopsd/scripts/pygrub-wrapper +++ b/ocaml/xenopsd/scripts/pygrub-wrapper @@ -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]