Start building the KMPs for os11.2
- Modify the mkbuildtree script so the KMPs will build. mkbuildtree.patch hv_win7_eoi_bug.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=11
This commit is contained in:
committed by
Git OBS Bridge
parent
12bd2215f3
commit
718a89eb6b
27
xen.spec
27
xen.spec
@@ -24,7 +24,7 @@ ExclusiveArch: %ix86 x86_64
|
||||
%define xvermaj 3
|
||||
%define changeset 19718
|
||||
%define xen_build_dir xen-3.4.1-testing
|
||||
%define with_kmp 0
|
||||
%define with_kmp 1
|
||||
BuildRequires: LibVNCServer-devel SDL-devel automake bin86 curl-devel dev86 graphviz latex2html libjpeg-devel libxml2-devel ncurses-devel openssl openssl-devel pciutils-devel python-devel texinfo transfig
|
||||
%if %suse_version >= 1030
|
||||
BuildRequires: texlive texlive-latex
|
||||
@@ -121,6 +121,7 @@ Patch163: checkpoint-rename.patch
|
||||
Patch164: network-nat.patch
|
||||
Patch165: ioemu-debuginfo.patch
|
||||
Patch166: xm-save-check-file.patch
|
||||
Patch167: mkbuildtree.patch
|
||||
# Patches for snapshot support
|
||||
Patch200: snapshot-ioemu-save.patch
|
||||
Patch201: snapshot-ioemu-restore.patch
|
||||
@@ -167,11 +168,12 @@ Patch450: disable_emulated_device.diff
|
||||
Patch500: hv_tools.patch
|
||||
Patch501: hv_xen_base.patch
|
||||
Patch502: hv_xen_extension.patch
|
||||
Patch503: hv_win7_eoi_bug.patch
|
||||
Patch503: hv_win7_eoi_bug.patch
|
||||
Patch999: tmp_build.patch
|
||||
Url: http://www.cl.cam.ac.uk/Research/SRG/netos/xen/
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%define pysite %(python -c "import distutils.sysconfig; print distutils.sysconfig.get_python_lib()")
|
||||
#%define pysite %(python -c "import distutils.sysconfig; print distutils.sysconfig.get_python_lib()")
|
||||
%define pyver %(python -c "import sys; print sys.version[:3]")
|
||||
%if %{?with_kmp}0
|
||||
%suse_kernel_module_package -n xen um xen -f kmp_filelist
|
||||
%endif
|
||||
@@ -548,6 +550,7 @@ Authors:
|
||||
%patch164 -p1
|
||||
%patch165 -p1
|
||||
%patch166 -p1
|
||||
%patch167 -p1
|
||||
%patch200 -p1
|
||||
%patch201 -p1
|
||||
%patch202 -p1
|
||||
@@ -755,7 +758,8 @@ rm -f $RPM_BUILD_ROOT/usr/share/xen/qemu/openbios-sparc32
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/xen/qemu/openbios-sparc64
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/xen/qemu/openbios-ppc
|
||||
rm -f $RPM_BUILD_ROOT/usr/sbin/netfix
|
||||
rm -f $RPM_BUILD_ROOT/%pysite/*.egg-info
|
||||
#rm -f $RPM_BUILD_ROOT/%pysite/*.egg-info
|
||||
rm -f $RPM_BUILD_ROOT/%{_libdir}/python%{pyver}/site-packages/*.egg-info
|
||||
rm -rf $RPM_BUILD_ROOT/html
|
||||
rm -rf $RPM_BUILD_ROOT/usr/share/doc/xen/README.*
|
||||
rm -f $RPM_BUILD_ROOT/usr/share/doc/xen/create.dtd
|
||||
@@ -863,8 +867,10 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug
|
||||
%{_defaultdocdir}/xen/boot.local.xenU
|
||||
%{_defaultdocdir}/xen/boot.xen
|
||||
%{_defaultdocdir}/xen/misc
|
||||
%dir %pysite/xen
|
||||
%dir %pysite/grub
|
||||
#%dir %pysite/xen
|
||||
%dir %{_libdir}/python%{pyver}/site-packages/xen
|
||||
#%dir %pysite/grub
|
||||
%dir %{_libdir}/python%{pyver}/site-packages/grub
|
||||
# formerly tools-ioemu
|
||||
%dir %{_datadir}/xen
|
||||
%dir %{_datadir}/xen/man
|
||||
@@ -883,10 +889,13 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/xen/bin/qemu-dm.debug
|
||||
/usr/lib/xen/bin/xc_kexec
|
||||
%endif
|
||||
/usr/lib/xen/boot/hvmloader
|
||||
%pysite/xen/*
|
||||
#%pysite/xen/*
|
||||
%{_libdir}/python%{pyver}/site-packages/xen/*
|
||||
/usr/lib/xen/boot/domUloader.py
|
||||
%pysite/grub/*
|
||||
%pysite/fsimage.so
|
||||
#%pysite/grub/*
|
||||
%{_libdir}/python%{pyver}/site-packages/grub/*
|
||||
#%pysite/fsimage.so
|
||||
%{_libdir}/python%{pyver}/site-packages/fsimage.so
|
||||
|
||||
%files tools-domU
|
||||
%defattr(-,root,root)
|
||||
|
Reference in New Issue
Block a user