[fedora-virt-maint] rpms/python-virtinst/F-10 virtinst-0.400.2-fix-file.patch, NONE, 1.1 python-virtinst.spec, 1.51, 1.52
Cole Robinson
crobinso at fedoraproject.org
Thu Mar 5 15:26:43 UTC 2009
- Previous message (by thread): [fedora-virt-maint] rpms/python-virtinst/F-9 virtinst-0.400.2-fix-file.patch, NONE, 1.1 python-virtinst.spec, 1.46, 1.47
- Next message (by thread): [fedora-virt-maint] rpms/kvm/devel dead.package, NONE, 1.1 kvm-62-block-rw-range-check.patch, 1.9, NONE kvm-83-compile-fixes.patch, 1.1, NONE kvm.modules, 1.1, NONE kvm.spec, 1.90, NONE sources, 1.43, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: crobinso
Update of /cvs/pkgs/rpms/python-virtinst/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30862
Modified Files:
python-virtinst.spec
Added Files:
virtinst-0.400.2-fix-file.patch
Log Message:
Fix virt-install --file option (bz 488731)
virtinst-0.400.2-fix-file.patch:
--- NEW FILE virtinst-0.400.2-fix-file.patch ---
# HG changeset patch
# User Cole Robinson <crobinso at redhat.com>
# Date 1236265193 18000
# Node ID eae3579380dd2112393e0011c1b3212243c39d94
# Parent 8a1d27ec3458e1639f01d05a5d5d691f7e83baeb
Fix using virt-install --file (it's outright broken)
diff -r 8a1d27ec3458 -r eae3579380dd virt-install
--- a/virt-install Thu Mar 05 09:58:15 2009 -0500
+++ b/virt-install Thu Mar 05 09:59:53 2009 -0500
@@ -168,7 +168,8 @@
if not devtype:
devtype = virtinst.VirtualDisk.DEVICE_DISK
- ret = (abspath, voltuple, volinst, devtype, bus, ro, shared, size, sparse, cache)
+ ret = (abspath, voltuple, volinst, devtype, bus, ro, shared, size, sparse,
+ cache)
logging.debug("parse_disk: returning %s" % str(ret))
return ret
@@ -178,9 +179,9 @@
# Get disk parameters
if is_file_path:
(path, voltuple, volinst, device, bus, readOnly, shared, size,
- sparse) = \
+ sparse, cache) = \
(disk, None, None, virtinst.VirtualDisk.DEVICE_DISK, None, False,
- False, size, sparse)
+ False, size, sparse, None)
else:
(path, voltuple, volinst,
device, bus, readOnly, shared,
Index: python-virtinst.spec
===================================================================
RCS file: /cvs/pkgs/rpms/python-virtinst/F-10/python-virtinst.spec,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- python-virtinst.spec 4 Mar 2009 16:28:31 -0000 1.51
+++ python-virtinst.spec 5 Mar 2009 15:26:13 -0000 1.52
@@ -11,9 +11,10 @@
Summary: Python modules and utilities for installing virtual machines
Name: python-%{appname}
Version: 0.400.2
-Release: 1%{_extra_release}
+Release: 2%{_extra_release}
Source0: http://virt-manager.org/download/sources/%{appname}/%{appname}-%{version}.tar.gz
Patch1: %{appname}-%{version}-update-polish-trans.patch
+Patch2: %{appname}-%{version}-fix-file.patch
License: GPLv2+
Group: Development/Libraries
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -40,6 +41,7 @@
%prep
%setup -q -n %{appname}-%{version}
%patch1 -p1
+%patch2 -p1
%build
python setup.py build
@@ -73,6 +75,9 @@
%{_bindir}/virt-convert
%changelog
+* Thu Mar 5 2009 Cole Robinson <crobinso at redhat.com> - 0.400.2-2.fc10
+- Fix virt-install --file option (bz 488731)
+
* Wed Mar 4 2009 Cole Robinson <crobinso at redhat.com> - 0.400.2-1.fc10
- Update to version 0.400.2
- virt-install --import option for creating a guest from an existing disk
- Previous message (by thread): [fedora-virt-maint] rpms/python-virtinst/F-9 virtinst-0.400.2-fix-file.patch, NONE, 1.1 python-virtinst.spec, 1.46, 1.47
- Next message (by thread): [fedora-virt-maint] rpms/kvm/devel dead.package, NONE, 1.1 kvm-62-block-rw-range-check.patch, 1.9, NONE kvm-83-compile-fixes.patch, 1.1, NONE kvm.modules, 1.1, NONE kvm.spec, 1.90, NONE sources, 1.43, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Fedora-virt-maint
mailing list