Displaying 2 results from an estimated 2 matches for "d8f9141".
Did you mean:
d81911
2011 Jan 20
1
[PATCH] Fix detection of an existing grub entry
...urn from inside eval{} to exit the function, when in
fact it only exits the eval.
---
lib/Sys/VirtV2V/Converter/RedHat.pm | 16 +++++++---------
1 files changed, 7 insertions(+), 9 deletions(-)
diff --git a/lib/Sys/VirtV2V/Converter/RedHat.pm b/lib/Sys/VirtV2V/Converter/RedHat.pm
index 0a4f829..d8f9141 100644
--- a/lib/Sys/VirtV2V/Converter/RedHat.pm
+++ b/lib/Sys/VirtV2V/Converter/RedHat.pm
@@ -1500,23 +1500,21 @@ sub _check_grub
{
my ($version, $kernel, $g, $desc) = @_;
+ my $grubfs = $desc->{boot}->{grub_fs};
+ my $prefix = $grubfs eq '/boot' ? '' : '/bo...
2011 Jan 20
1
[PATCH] Don't remove foreign kernels during conversion
...this change simply stops
attempting to remove them.
Fixes RHBZ#643867
---
lib/Sys/VirtV2V/Converter/RedHat.pm | 66 +++++------------------------------
1 files changed, 9 insertions(+), 57 deletions(-)
diff --git a/lib/Sys/VirtV2V/Converter/RedHat.pm b/lib/Sys/VirtV2V/Converter/RedHat.pm
index d8f9141..61e81dc 100644
--- a/lib/Sys/VirtV2V/Converter/RedHat.pm
+++ b/lib/Sys/VirtV2V/Converter/RedHat.pm
@@ -538,21 +538,11 @@ sub _configure_kernel
{
my ($virtio, $g, $config, $desc, $dom) = @_;
- my @remove_kernels = ();
-
- # Remove foreign hypervisor specific kernels from the list of a...