Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:13.1:Update
virt-v2v
fix_redhat_dup_grub_entries.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File fix_redhat_dup_grub_entries.patch of Package virt-v2v
Change an integer comparison to a string comparison to prevent duplicate grub entries from being created. --- RedHat.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/lib/Sys/VirtConvert/Converter/RedHat.pm 2013-08-28 10:47:12.704576442 -0600 +++ b/lib/Sys/VirtConvert/Converter/RedHat.pm 2013-08-28 10:47:38.254508340 -0600 @@ -247,7 +247,7 @@ sub check my $grub_path = $1; # Nothing to do if the kernel already has a grub entry - return if $g->aug_match("/files$grub_conf/title/kernel[. = '$grub_path']") > 0; + return if $g->aug_match("/files$grub_conf/title/kernel[. = '$grub_path']") ne ''; my $kernel = Sys::VirtConvert::Converter::RedHat::_inspect_linux_kernel($g, $path);
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor