search for: iepoch

Displaying 8 results from an estimated 8 matches for "iepoch".

Did you mean: epoch
2010 Apr 23
2
[PATCH] Config: Change config to lookup dependencies by name
...=> join(' ', @$rpmcmd), error => $error))); } + my @installed; foreach my $installed (@output) { $installed =~ /^(\S+)\s+(\S+)\s+(\S+)$/ or die("Unexpected return from rpm command: $installed"); - my ($iepoch, $iversion, $irelease) = ($1, $2, $3); + my ($epoch, $version, $release) = ($1, $2, $3); # Ensure iepoch is always numeric - $iepoch = 0 if('(none)' eq $iepoch); + $epoch = 0 if('(none)' eq $epoch); + + push(@installed, [$epoch, $version, $rele...
2010 Feb 12
1
[PATCH] GuestOS: Fix _is_installed to return 0 if the package isn't installed
...command => join(' ', @$rpmcmd), + error => $error))); + } + + foreach my $installed (@output) { $installed =~ /^(\S+)\s+(\S+)\s+(\S+)$/ or die("Unexpected return from rpm command: $installed"); my ($iepoch, $iversion, $irelease) = ($1, $2, $3); -- 1.6.6
2013 Oct 31
0
[PATCH] virt-v2v: Add use augeas_error to GrubLegacy, plus typo fixup
...{ $kernel_release = $1; } @@ -2076,7 +2076,7 @@ sub _get_installed or die("Unexpected return from rpm command: $installed"); my ($epoch, $version, $release) = ($1, $2, $3); - # Ensure iepoch is always numeric + # Ensure epoch is always numeric $epoch = 0 if('(none)' eq $epoch); push(@installed, [$epoch, $version, $release]); -- 1.8.1.4
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 Oct 12
0
Re: [PATCH] virt-v2v: Convert RedHat.pm to Linux.pm - for SUSE support
...Fedora kernels in here # For other distros, be conservative and just return 'kernel' @@ -2076,7 +2411,7 @@ sub _get_installed or die("Unexpected return from rpm command: $installed"); my ($epoch, $version, $release) = ($1, $2, $3); - # Ensure iepoch is always numeric + # Ensure epoch is always numeric $epoch = 0 if('(none)' eq $epoch); push(@installed, [$epoch, $version, $release]); @@ -2203,7 +2538,7 @@ sub _rpmvercmp sub _remap_block_devices { - my ($meta, $virtio, $g, $root) = @_; + my ($meta, $v...
2013 Oct 11
2
Re: [PATCH] virt-v2v: Convert RedHat.pm to Linux.pm - for SUSE support
..., @$rpmcmd)."' 2>&1 ||:"); return () if ($error =~ /not installed/); @@ -2076,7 +2423,7 @@ sub _get_installed or die("Unexpected return from rpm command: $installed"); my ($epoch, $version, $release) = ($1, $2, $3); - # Ensure iepoch is always numeric + # Ensure epoch is always numeric $epoch = 0 if('(none)' eq $epoch); push(@installed, [$epoch, $version, $release]); @@ -2151,7 +2498,7 @@ sub _rpmvercmp # of $a. @$l = split(/(?<=[[:digit:]])(?=[[:alpha:]]) | # digit<&gt...
2013 Oct 07
3
Re: [PATCH] virt-v2v: Convert RedHat.pm to Linux.pm - for SUSE support
On Friday, October 04, 2013 09:38:58 AM Matthew Booth wrote: > It's specifically an error if we're attempting to configure virtio, and > there's no detected virtio kernel. It shouldn't have been possible to > get here in that state, hence it's a programmer error. The code below > attempts to install *any* kernel in the case that we aren't configuring >
2013 Oct 03
2
[PATCH] virt-v2v: Convert RedHat.pm to Linux.pm - for SUSE support
...rror => $error); - } - - my @installed = (); - foreach my $installed (@output) { - $installed =~ /^(\S+)\s+(\S+)\s+(\S+)$/ - or die("Unexpected return from rpm command: $installed"); - my ($epoch, $version, $release) = ($1, $2, $3); - - # Ensure iepoch is always numeric - $epoch = 0 if('(none)' eq $epoch); - - push(@installed, [$epoch, $version, $release]); - } - - return sort { _evr_cmp($a->[0], $a->[1], $a->[2], - $b->[0], $b->[1], $b->[2]) } @installed; -} - -sub _parse_ev...