|
From: <mgf...@us...> - 2009-04-02 18:37:26
|
Revision: 1171
http://omc.svn.sourceforge.net/omc/?rev=1171&view=rev
Author: mgfritch
Date: 2009-04-02 18:37:19 +0000 (Thu, 02 Apr 2009)
Log Message:
-----------
- Added patch for extending the OSTypes available on SUSE11
Modified Paths:
--------------
contrib/xen-vm-builder/trunk/sblim-cmpi-xenvm-builder.spec
Added Paths:
-----------
contrib/xen-vm-builder/trunk/suse11_ostypes.patch
Modified: contrib/xen-vm-builder/trunk/sblim-cmpi-xenvm-builder.spec
===================================================================
--- contrib/xen-vm-builder/trunk/sblim-cmpi-xenvm-builder.spec 2009-04-01 16:17:49 UTC (rev 1170)
+++ contrib/xen-vm-builder/trunk/sblim-cmpi-xenvm-builder.spec 2009-04-02 18:37:19 UTC (rev 1171)
@@ -16,7 +16,7 @@
%define tarname sblim-cmpi-xenvm-builder
Url: http://www.omc-project.org
# Increment the version every time the source code changes.
-Version: 1.0.1
+Version: 1.0.3
Release: 0.2
Group: System/Management
Summary: Linux CIM providers for CMPI instrumentation of virtual machine creation
@@ -31,7 +31,11 @@
Obsoletes: novell-zenworks-vmbuilder-cimproviders novell-zenworks-vmbuilder-cli novell-zenworks-vmbuilder-zosjob
Source0: %{tarname}-%{version}.tar.gz
#Source1: %{tarname}-mof.tar.bz2
+%if 0%{?suse_version} >= 1100 || 0%{?sles_version} >= 11
+Patch0: suse11_ostypes.patch
+%endif
+
%description
Linux CIM providers for CMPI instrumentation of XEN virtual machine
creation.
@@ -45,6 +49,9 @@
%prep
# Untar the sources.
%setup -n %{tarname}-%{version}
+%if 0%{?suse_version} >= 1100 || 0%{?sles_version} >= 11
+%patch0 -p0
+%endif
%build
# If the LD_RUN_PATH environment variable is set at link time,
Added: contrib/xen-vm-builder/trunk/suse11_ostypes.patch
===================================================================
--- contrib/xen-vm-builder/trunk/suse11_ostypes.patch (rev 0)
+++ contrib/xen-vm-builder/trunk/suse11_ostypes.patch 2009-04-02 18:37:19 UTC (rev 1171)
@@ -0,0 +1,37 @@
+Index: mof/XEN_VMBuilderVirtualSystemCreationData.mof
+===================================================================
+--- mof/XEN_VMBuilderVirtualSystemCreationData.mof (revision 1169)
++++ mof/XEN_VMBuilderVirtualSystemCreationData.mof (working copy)
+@@ -110,13 +110,13 @@
+ " provides bootstrap capability. "),
+ ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10",
+ "11", "12", "13", "14", "15", "16", "17", "18", "19", "20", "21",
+- "22", "23", "24"},
++ "22", "23", "24", "25", "26", "27", "28"},
+ Values { "other", "suse", "sles8", "sles9", "sles10", "sled10",
+ "oes2l", "oes2nw", "netware", "redhat", "rhel3", "rhel4",
+ "rhel5", "solaris9", "solaris10", "windows", "windowsx64",
+ "windowsnt", "windowsxp", "windowsxpx64", "windowsvista",
+ "windowsvistax64", "opensuse", "winserver2008",
+- "winserver2008x64" }]
++ "winserver2008x64", "opensuse11", "pxe", "sled11", "sles11" }]
+ uint32 OSType;
+
+ [Description("Behaviour of a domain when it is powered off. "
+Index: src/providers/vm-builder/builder-service.c
+===================================================================
+--- src/providers/vm-builder/builder-service.c (revision 1169)
++++ src/providers/vm-builder/builder-service.c (working copy)
+@@ -93,7 +93,11 @@
+ "windowsvistax64",
+ "opensuse",
+ "winserver2008",
+- "winserver2008x64"
++ "winserver2008x64",
++ "opensuse11",
++ "pxe",
++ "sled11",
++ "sles11"
+ };
+ size_t NumOsTypes = sizeof(OSTypes) / sizeof(char*);
+
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|