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:
George Dunlap committed 2012-05-15 16:28:11 +01:00
1 parent 10c88f1c18
commit c31d6a7ee2
1 file changed
+4
+4
View File
@@ -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;
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.