Displaying 7 results from an estimated 7 matches for "get_application_own".
Did you mean:
get_application_owner
2010 Feb 16
1
[PATCH] GuestOS: Reload augeas after rpm installation and removal
...rtV2V/GuestOS/RedHat.pm
+++ b/lib/Sys/VirtV2V/GuestOS/RedHat.pm
@@ -862,6 +862,9 @@ sub remove_application
$g->command(['rpm', '-e', $name]);
};
die($@) if($@);
+
+ # Make augeas reload in case the removal changed anything
+ $g->aug_load();
}
=item get_application_owner(file)
@@ -902,6 +905,9 @@ sub _install_rpms
# Propagate command failure
die($@) if($@);
+
+ # Reload augeas in case the rpm installation changed anything
+ $g->aug_load();
}
# Get full, local path of a file on the transfer mount
--
1.6.6
2010 May 13
1
[PATCH] Improve augeas error reporting
...removal changed anything
eval {
- $g->command(['rpm', '-e', $name]);
+ $g->aug_load();
};
- die($@) if($@);
- # Make augeas reload in case the removal changed anything
- $g->aug_load();
+ $self->_augeas_error($@) if ($@);
}
=item get_application_owner(file)
@@ -969,15 +1034,14 @@ sub _install_rpms
@rpms = map { $_ = $self->_transfer_path($_) } @rpms;
my $g = $self->{g};
+ $g->command(['rpm', $upgrade == 1 ? '-U' : '-i', @rpms]);
+
+ # Reload augeas in case the rpm installation changed anything...
2009 Dec 21
4
Refactor virt-v2v to be more like a 'big script'
These patches combine HVSource and HVTarget into a single Converter. This should
make it more obvious where to hack without losing any practical flexibility.
GuestOS remains separate. GuestOS is now a misnomer, because it's really only a
Linux distro abstraction. It will be useless for Windows, for example. Functions
which you'd expect to be different on a non-RH distro should live in
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 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 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 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