Displaying 3 results from an estimated 3 matches for "_die_missing".
2010 May 07
1
[PATCH] List all missing dependencies at once
...+ return undef if ($self->_newer_installed($app));
+ }
my $user_arch = $kernel_arch eq 'i686' ? 'i386' : $kernel_arch;
+ my @deps = $self->_get_deppaths(\@missing, $user_arch, @$depnames);
+
+ # We can't proceed if there are any files missing
+ _die_missing(@missing) if (@missing > 0);
+
# Install any required kernel dependencies
- $self->_install_rpms(1, $self->_get_deppaths($user_arch, @$depnames));
+ $self->_install_rpms(1, @deps);
# Inspect the rpm to work out what kernel version it contains
my $version;
@@ -514,...
2010 May 14
1
[PATCH] Use RHN to retrieve replacement packages
...$self->{config}->match_app($desc, $kernel_pkg, $kernel_arch);
+ };
+ # Return undef if we didn't find a kernel
+ if ($@) {
+ print STDERR $@;
+ return undef;
+ }
- # We can't proceed if there are any files missing
- _die_missing(@missing) if (@missing > 0);
+ my @missing;
+ if (!$self->{g}->exists($self->_transfer_path($app))) {
+ push(@missing, $app);
+ } else {
+ return undef if ($self->_newer_installed($app));
+ }
- # Install any required kernel depen...
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