search for: inspect_linux_kernel

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

Did you mean: _inspect_linux_kernel
2009 Aug 19
2
[PATCH] Export inspect_linux_kernel in Lib.pm
...ars qw(@EXPORT_OK @ISA); @ISA = qw(Exporter); @EXPORT_OK = qw(open_guest get_partitions resolve_windows_path inspect_all_partitions inspect_partition - inspect_operating_systems mount_operating_system inspect_in_detail); + inspect_operating_systems mount_operating_system inspect_in_detail + inspect_linux_kernel); =head2 open_guest @@ -1551,10 +1552,19 @@ sub _check_for_kernels } $config{cmdline} = join(' ', @args) if(scalar(@args) > 0); - my $kernel = _inspect_linux_kernel($g, $os, "$path"); + my $kernel = +...
2011 Mar 22
0
[PATCH] Remove dependency on deprecated Sys::Guestfs::Lib::inspect_linux_kernel.
...ml_on_red_hat_and_fedora -------------- next part -------------- >From 01d3291514098b5d716a763947a376d78118ac41 Mon Sep 17 00:00:00 2001 From: Richard W.M. Jones <rjones at redhat.com> Date: Tue, 22 Mar 2011 16:40:50 +0000 Subject: [PATCH] Remove dependency on deprecated Sys::Guestfs::Lib::inspect_linux_kernel. This commit copies this function out of Sys::Guestfs::Lib and makes small modifications appropriate to its use at the caller site. --- lib/Sys/VirtConvert/Converter/RedHat.pm | 79 ++++++++++++++++++++++++++++++- 1 files changed, 77 insertions(+), 2 deletions(-) diff --git a/lib/Sys/VirtConve...
2010 May 07
1
[PATCH] Warn instead of dying if grub refers to non-existent kernel
...ex b6c4a31..8ec487d 100644 --- a/perl/lib/Sys/Guestfs/Lib.pm +++ b/perl/lib/Sys/Guestfs/Lib.pm @@ -1643,8 +1643,14 @@ sub _check_for_kernels } $config{cmdline} = join(' ', @args) if(scalar(@args) > 0); - my $kernel = - inspect_linux_kernel($g, $path, $os->{package_format}); + my $kernel; + if ($g->exists($path)) { + $kernel = + inspect_linux_kernel($g, $path, $os->{package_format}); + } else { + warn __x("grub refer...
2010 May 07
1
[PATCH] Check a grub kernel exists before selecting it
...f->{desc}; - - # Get the grub filesystem - my $grub = $desc->{boot}->{grub_fs}; - - # Prepend the grub filesystem to the kernel path to get an absolute path - $kernel = "$grub$kernel" if(defined($grub)); - # Work out it's version number my $kernel_desc = inspect_linux_kernel ($g, $kernel, 'rpm'); -- 1.6.6.1
2010 Jul 28
3
Create new Sys::VirtV2V::Util
These 2 patches are mostly code motion. They were prompted by an apparent augeas error in BZ 613967 which didn't display useful error message. The error seems to happen in Converter::Linux. GuestOS::RedHat had a handy function which displayed verbose augeas error messages. This function moves into the new module where it can be used by both modules. The second patch is an consequential tidy
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
2010 Feb 09
5
[PATCH 1/6] Convert config file to XML, and translate networks/bridge for all connections
Previously, only the LibVirtXML connection translated network and bridge names in imported metadata. This change moves this functionality in Converter, making it available to LibVirt connections as well. At the same time, the format of the config file is switched to XML. The primary driver for this is that the allowable syntax of a foreign network/bridge name is not known. Rather than create a
2010 Feb 12
11
[PATCH 1/9] Convert config file to XML, and translate networks/bridge for all connections
Previously, only the LibVirtXML connection translated network and bridge names in imported metadata. This change moves this functionality in Converter, making it available to LibVirt connections as well. At the same time, the format of the config file is switched to XML. The primary driver for this is that the allowable syntax of a foreign network/bridge name is not known. Rather than create a