[Pkg-libvirt-commits] [libguestfs] 04/35: v2v: Fix for 'grubby: bad argument --set-kernel: unknown option' (RHBZ#1141145).
Hilko Bengen
bengen at moszumanska.debian.org
Fri Oct 3 14:46:36 UTC 2014
This is an automated email from the git hooks/post-receive script.
bengen pushed a commit to annotated tag debian/1%1.27.49-1
in repository libguestfs.
commit d86016da8e5d9afd01c75067198aecad15d402c9
Author: Richard W.M. Jones <rjones at redhat.com>
Date: Tue Sep 16 15:49:34 2014 +0100
v2v: Fix for 'grubby: bad argument --set-kernel: unknown option' (RHBZ#1141145).
I made a mistake while translating the Perl conversion code and
transcribed --set-default as --set-kernel. grubby has no --set-kernel
option so it failed.
Thanks: Tingting Zheng
---
v2v/convert_linux.ml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/v2v/convert_linux.ml b/v2v/convert_linux.ml
index eb1b6cc..0e00686 100644
--- a/v2v/convert_linux.ml
+++ b/v2v/convert_linux.ml
@@ -757,7 +757,7 @@ let rec convert ~verbose ~keep_serial_console (g : G.guestfs) inspect source =
and grub_set_bootable kernel =
let cmd =
if g#exists "/sbin/grubby" then
- [| "grubby"; "--set-kernel"; kernel.ki_vmlinuz |]
+ [| "grubby"; "--set-default"; kernel.ki_vmlinuz |]
else
[| "/usr/bin/perl"; "-MBootloader::Tools"; "-e"; sprintf "
InitLibrary();
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libguestfs.git
More information about the Pkg-libvirt-commits
mailing list