]> git.ipfire.org Git - thirdparty/libvirt.git/commit
libxl: Allow libxl to find pygrub binary.
authorIan Campbell <Ian.Campbell@citrix.com>
Fri, 21 Nov 2014 14:32:53 +0000 (14:32 +0000)
committerJim Fehlig <jfehlig@suse.com>
Fri, 21 Nov 2014 19:34:22 +0000 (12:34 -0700)
commitd70a51d5ea0b9aecb429334714e8331f44fb9df7
treec4d97e415f2ef46da37dc1087aac4d799b2f7e5b
parentb7d1bee2b9a8d7ed76456447b090702223da39f5
libxl: Allow libxl to find pygrub binary.

Specifying an explicit path to pygrub (e.g. BINDIR "/pygrub") only works if
Xen and libvirt happen to be installed to the same prefix. A more flexible
approach is to simply specify "pygrub" which will cause libxl to use the
correct path which it knows (since it is built with the same prefix as pygrub).

This is particular problematic in the Debian packaging, since the Debian Xen
package relocates pygrub into a libexec dir, however I think this change makes
sense upstream.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Jim Fehlig <jfehlig@suse.com>
src/libxl/libxl_conf.h