Hi,
I've managed to rebuild the Mandriva Xen package for the 3.0 release, from
http://tx.downloads.xensource.com/torrents/xen-3.0.0-src.tgz.torrent
(new spec and a patch used are attached)
The hypervisor boots well, however complains about different version
when it's about loading the kernel-xen0-2.6.12.12mdk. I would like to
rebuild the kernel rpms with the new xen patches, however I wasn't able
to figure out how did you created the XE01_2.6.12-050823.patch from the
official Xen kernel distribution, or patchset.
Thanks in advance
Geza Gemes
xen-3.0.0-fhs.patch.bz2
Description: application/bzip
# UNDER SVN - UNDER SVN - UNDER SVN - UNDER SVN
# https://cvs.mandriva.com/svn/mdv/cooker/xen/
# Please don't forget to set REL back to 1 when SOURCE_VER is increased
#%define source_ver 20050823
%define source_ver 3.0.0
%define rel 1
Name: xen
Version: 3.0
Release: %{rel}mdk
Summary: The basic tools for managing XEN virtual machines.
Summary(pt_BR): Ferramentas para gerenciamento das máquinas virtuais XEN.
Group: Utilities
Group(pt_BR): Utilitários
Group(es): Utilitarios
License: GPL
Source0: xen-%{source_ver}.tar.bz2
Patch0: xen-3.0.0-fhs.patch.bz2
#Patch1: xen-unstable-x86_64.patch.bz2
Requires: python-twisted-core
Requires: python
Requires: module-init-tools
Requires: iptables
Requires: bridge-utils
Requires: glibc-xen
BuildRequires: libpython-devel >= 2.4
BuildRequires: glibc-static-devel
BuildRequires: libext2fs-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
The basic tools for managing XEN virtual machines.
%description -l pt_BR
Ferramentas para gerenciamento das máquinas virtuais XEN.
%prep
#%setup -q -n %{name}-%{source_ver}
%setup -q -n %{name}-unstable
%patch0 -p0
#%patch1 -p1 -b .x86_64
%build
# clean all stuff
make clean
export CFLAGS="$CFLAGS -fno-strict-aliasing"
export HOSTCC="$HOSTCC -fno-strict-aliasing"
%make -C tools
%make -C xen
%install
make DESTDIR=%{buildroot} -C tools install
make DESTDIR=%{buildroot} -C xen install
# fix man pages
mkdir -p %{buildroot}%{_datadir}/man
#cp -adpR %{buildroot}/usr/man/* %{buildroot}%{_datadir}/man/
#rm -rf %{buildroot}/usr/man
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%clean
rm -rf %{buildroot}
%files
%defattr(0644,root,root,0755)
%doc README
%dir %{_sysconfdir}/xen
%dir %{_sysconfdir}/xen/auto
%config %{_sysconfdir}/xen/xend-config.sxp
%config %{_sysconfdir}/xen/xmexample1
%config %{_sysconfdir}/xen/xmexample2
%config %{_sysconfdir}/xen/xmexample.vmx
%config %{_sysconfdir}/xen/xmexample.vti
%attr(0755,root,root) %config %{_sysconfdir}/xen/scripts/vif-bridge
%attr(0755,root,root) %config %{_sysconfdir}/xen/scripts/block
%attr(0755,root,root) %config %{_sysconfdir}/xen/scripts/block-common.sh
%attr(0755,root,root) %config %{_sysconfdir}/xen/scripts/block-nbd
%attr(0755,root,root) %config %{_sysconfdir}/xen/scripts/block-enbd
#%attr(0755,root,root) %config %{_sysconfdir}/xen/scripts/block-file
%attr(0755,root,root) %config %{_sysconfdir}/xen/scripts/network-route
%attr(0755,root,root) %config %{_sysconfdir}/xen/scripts/network-bridge
%attr(0755,root,root) %config %{_sysconfdir}/xen/scripts/network-nat
%attr(0755,root,root) %config %{_sysconfdir}/xen/scripts/vif-common.sh
%attr(0755,root,root) %config %{_sysconfdir}/xen/scripts/vif-nat
%attr(0755,root,root) %config %{_sysconfdir}/xen/scripts/vif-route
%attr(0755,root,root) %config %{_sysconfdir}/xen/scripts/vtpm
%attr(0755,root,root) %config %{_sysconfdir}/xen/scripts/vtpm-common.sh
%attr(0755,root,root) %config %{_sysconfdir}/xen/scripts/xen-hotplug-common.sh
%attr(0755,root,root) %config %{_sysconfdir}/xen/scripts/xen-network-common.sh
%attr(0755,root,root) %config %{_sysconfdir}/xen/scripts/xen-script-common.sh
%attr(0755,root,root) %config %{_sysconfdir}/xen/qemu-ifup
%config %{_sysconfdir}/hotplug/xen-backend.agent
%config %{_sysconfdir}/sysconfig/xendomains
%config %{_sysconfdir}/udev/xen-backend.rules
%config %{_sysconfdir}/udev/rules.d/xen-backend.rules
%{_mandir}/man*/*
%dir %{_prefix}/lib/xen
%{_prefix}/lib/xen/*
%dir %{_libdir}/python/xen
%{_libdir}/python/xen/*
%{_libdir}/python/grub/GrubConf.*
%{_libdir}/python/grub/__init__.*
%{_libdir}/python/grub/fsys/__init__.*
%{_libdir}/python/grub/fsys/ext2/__init__.*
%{_libdir}/python/grub/fsys/ext2/_pyext2.so
%{_libdir}/python/grub/fsys/ext2/test.*
#%{_libdir}/python/grub/fsys/ext2/_pyext2.so
%{_libdir}/libxenstore*
%{_libdir}/libxenctrl*
%{_libdir}/libxenguest*
#%{_libdir}/libxc*
%{_includedir}/*.h
%dir %{_datadir}/xen
%{_datadir}/xen/*
%dir /var/lib/xenstored
%dir /var/run/xenstored
/boot/xen*
%dir /usr/include/xen
/usr/include/xen/*
%defattr(0755,root,root,0755)
%config %{_sysconfdir}/init.d/xend
%config %{_sysconfdir}/init.d/xendomains
%{_sbindir}/xenstored
%{_sbindir}/netfix
%{_sbindir}/xm
%{_sbindir}/xend
%{_sbindir}/xenperf
%{_sbindir}/setmask
%{_sbindir}/xenbaked
%{_sbindir}/xenmon.py
#%{_sbindir}/xcs
#%{_sbindir}/xcsdump
%{_sbindir}/xenconsoled
%{_sbindir}/xentop
%{_sbindir}/xen-bugtool
%{_bindir}/xenperf
%{_bindir}/xc_shadow
%{_bindir}/xencons
%{_bindir}/cpuperf-xen
%{_bindir}/cpuperf-perfcntr
%{_bindir}/lomount
%{_bindir}/xentrace
%{_bindir}/xentrace_format
%{_bindir}/pygrub
%{_bindir}/setsize
%{_bindir}/tbctl
%{_bindir}/xenstore-exists
%{_bindir}/xenstore-list
%{_bindir}/xenstore-read
%{_bindir}/xenstore-rm
%{_bindir}/xenstore-write
%{_bindir}/xsls
#%dir /usr/libexec/xen
#/usr/libexec/xen/*
%changelog
* Sun Jan 1 2006 Geza Gemes <geza@xxxxxxxxxxxxxxxxxxx> 3.0.0
- 3.0.0 release
* Thu Sep 8 2005 Gwenole Beauchesne <gbeauchesne@xxxxxxxxxxxx>
3.0-0.20050823.6mdk
- x86_64 fixes for binutils 2.16.9x
- requires glibc-xen for */nosegneg/ libs
* Thu Aug 11 2005 Flávio Bruno Leitner <fbl@xxxxxxxxxxxx> 3.0-0.20050823.5mdk
- updated to snapshot of 2005-08-23 (last know working)
* Thu Aug 11 2005 Flávio Bruno Leitner <fbl@xxxxxxxxxxxx> 3.0-0.20050829.4mdk
- updated to snapshot of 2005-08-29
* Thu Aug 11 2005 Flávio Bruno Leitner <fbl@xxxxxxxxxxxx> 3.0-0.20050811.3mdk
- updated to snapshot of 2005-08-19
* Thu Aug 11 2005 Flávio Bruno Leitner <fbl@xxxxxxxxxxxx> 3.0-0.20050811.2mdk
- updated to snapshot of 2005-08-11
* Fri Aug 05 2005 Flávio Bruno Leitner <fbl@xxxxxxxxxxxx> 3.0-0.20050801.1mdk
- created package.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|