search for: _install_config

Displaying 12 results from an estimated 12 matches for "_install_config".

2013 Oct 08
0
Re: [PATCH] virt-v2v: Convert RedHat.pm to Linux.pm - for SUSE support
...make $kernel a list, you just need to ensure it's always a > > list. The updates to the other installation methods should be trivial. > > Rather than doing that, I've added the -base kernel as an app dependency for > the kernel. (It seems appropriate anyway.) At the end of _install_config, I > catch this condition, and install the packages together. This approach > shouldn't impact any non-SUSE environments. _install_config should already install all dependencies in a single transaction for exactly this reason. If it doesn't, we should fix that. I take it zypper jus...
2013 Oct 03
2
Re: [PATCH] virt-v2v: Convert RedHat.pm to Linux.pm - for SUSE support
...o a list (of > lists), or see of -base can be added to the @install list or something > like that. Bear in mind, though, that in the former case you'd also > have to update _install_yum and _install_up2date. The problem with @install is that it is processed separately from $kernel in _install_config. This causes the two packages to be installed by separate rpm commands, and the dependencies cannot be satisfied. This is why I had to add the -base package to $kernel somehow... (Note - This doesn't effect zypper installs at all as it will satisfy dependencies automatically.) I'll thi...
2013 Oct 07
3
Re: [PATCH] virt-v2v: Convert RedHat.pm to Linux.pm - for SUSE support
...> You can still make $kernel a list, you just need to ensure it's always a > list. The updates to the other installation methods should be trivial. Rather than doing that, I've added the -base kernel as an app dependency for the kernel. (It seems appropriate anyway.) At the end of _install_config, I catch this condition, and install the packages together. This approach shouldn't impact any non-SUSE environments. > This is because there are 2 names here: the 'libvirt' name, which calls > ide devices hdX and is independent of the guest OS because it's at the > leve...
2013 Oct 12
0
Re: [PATCH] virt-v2v: Convert RedHat.pm to Linux.pm - for SUSE support
...$success = _install_up2date($kernel, $install, $upgrade, $g); + $success = _install_yum($kernel, $install, $upgrade, $g) + unless ($success); + } # Fall back to local config if the above didn't work $success = _install_config($kernel, $install, $upgrade, @@ -1648,6 +1811,9 @@ sub _install_any warn($@) if $@; }); + # Undo the previous workaround for SUSE bnc#836521 + _restore_perlBootloader($g) if ($pbl_fix == 1); + # Make augeas reload to pick up any altered configuration eval { $g->au...
2013 Oct 11
2
Re: [PATCH] virt-v2v: Convert RedHat.pm to Linux.pm - for SUSE support
...$success = _install_up2date($kernel, $install, $upgrade, $g); + $success = _install_yum($kernel, $install, $upgrade, $g) + unless ($success); + } # Fall back to local config if the above didn't work $success = _install_config($kernel, $install, $upgrade, @@ -1648,6 +1823,9 @@ sub _install_any warn($@) if $@; }); + # Undo the previous workaround for SUSE bnc#836521 + _restore_perlBootloader($g) if ($pbl_fix == 1); + # Make augeas reload to pick up any altered configuration eval { $g->au...
2013 Oct 04
0
Re: [PATCH] virt-v2v: Convert RedHat.pm to Linux.pm - for SUSE support
...or see of -base can be added to the @install list or something > > like that. Bear in mind, though, that in the former case you'd also > > have to update _install_yum and _install_up2date. > > The problem with @install is that it is processed separately from $kernel in > _install_config. This causes the two packages to be installed by separate rpm > commands, and the dependencies cannot be satisfied. This is why I had to add > the -base package to $kernel somehow... (Note - This doesn't effect zypper > installs at all as it will satisfy dependencies automatically....
2013 Nov 07
6
[PATCH 0/4] virt-v2v: Add support for SUSE guest conversions
The following series of patches adds support for converting SUSE guests through virt-v2v. These changes should not impact non-SUSE guest conversions. Mike Latimer (4): Add perl-Bootloader support to grub packages Add conversion support for SUSE guests Add SUSE to capabilities db and conf Add SUSE support documentation lib/Sys/VirtConvert/Converter/Linux.pm | 480
2010 May 26
1
[PATCH] Fix error in Converter::Windows when there is no transfer iso
...n File::Spec->catfile ($transfer_mount, $path); -} - =back =head1 COPYRIGHT diff --git a/lib/Sys/VirtV2V/GuestOS/RedHat.pm b/lib/Sys/VirtV2V/GuestOS/RedHat.pm index c46cbbe..1709733 100644 --- a/lib/Sys/VirtV2V/GuestOS/RedHat.pm +++ b/lib/Sys/VirtV2V/GuestOS/RedHat.pm @@ -889,7 +889,9 @@ sub _install_config } my @missing; - if (defined($kernel) && !$g->exists($self->_transfer_path($kernel))) { + if (defined($kernel) && + !$g->exists($self->{config}->get_transfer_path($g, $kernel))) + { push(@missing, $kernel); } @@ -1167,7 +116...
2013 Oct 03
2
[PATCH] virt-v2v: Convert RedHat.pm to Linux.pm - for SUSE support
...$success = _install_up2date($kernel, $install, $upgrade, $g); + $success = _install_yum($kernel, $install, $upgrade, $g) + unless ($success); + } + + # Fall back to local config if the above didn't work + $success = _install_config($kernel, $install, $upgrade, + $g, $root, $config) + unless ($success); + }; + warn($@) if $@; + }); + + # Undo the previous workaround for SUSE bnc#836521 + _restore_perlBootloader($g) if ($pbl_fix == 1); + + # Make aug...
2013 Sep 24
0
[PATCH 3/4] Add SUSE converter
...n($g, sub { + eval { + # Try to fetch these dependencies using the guest's native update + # tool + $success = _install_zypper($kernel, $install, $update, $g); + + # Fall back to local config if the above didn't work + $success = _install_config($kernel, $install, $update, + $g, $root, $config) + unless ($success); + }; + warn($@) if $@; + }); + + # Restore the previous bootloader file if previously fixed (to ensure + # future updates don't complain + _resto...
2010 May 19
8
RHN support and capabilities
This patch series includes a repost of Milan's unmodified RHN support patch because I haven't pushed it yet. On top of that patch, it includes the capabilities patch in as many bits as I could make it into. The big one is 7/8. I've tested all of the following guests both with and without RHN registration: Xen RHEL 54 PV Xen RHEL 51 PV Xen RHEL 48 PV ESX RHEL 54 FV
2013 Sep 24
5
[PATCH 0/4] Add SUSE guest converter to virt-v2v
This is a new conversion module to convert SUSE Linux and openSUSE guests. The converter is based on the RedHat module, and should offer the same functionality on both SUSE and RedHat hosts. There are a few additional messages in this module, such as reporting of packages when installing through zypper or the local virt-v2v repo. These messages don't necessarily flow unless verbose switches