mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
libxl: Warn that /usr/bin/pygrub is deprecated
Signed-off-by: George Dunlap <george.dunlap@eu.citrix.com> Acked-by: Ian Campbell <ian.campbell@citrix.com> Committed-by: Ian Campbell <ian.campbell@citrix.com>
This commit is contained in:
1 parent
10c88f1c18
commit
c31d6a7ee2
1 file changed
+4
@@ -338,6 +338,10 @@ void libxl__bootloader_run(libxl__egc *egc, libxl__bootloader_state *bl)
|
||||
|
||||
LOG(DEBUG, "Config bootloader value: %s", info->u.pv.bootloader);
|
||||
|
||||
if ( !strcmp(info->u.pv.bootloader, "/usr/bin/pygrub") )
|
||||
LOG(WARN, "bootloader='/usr/bin/pygrub' is deprecated; use " \
|
||||
"bootloader='pygrub' instead");
|
||||
|
||||
/* If the full path is not specified, check in the libexec path */
|
||||
if ( info->u.pv.bootloader[0] != '/' ) {
|
||||
char *bootloader;
|
||||
|
||||