Jeremy Bouse
2006-Feb-28 23:57 UTC
[Pkg-xen-changes] r64 - in trunk: . xen-3.0 xen-3.0/debian xen-3.0/debian/patches
Author: jbouse Date: 2006-02-28 23:56:31 +0000 (Tue, 28 Feb 2006) New Revision: 64 Added: trunk/xen-3.0/ trunk/xen-3.0/debian/ trunk/xen-3.0/debian/NEWS.Debian trunk/xen-3.0/debian/README.Debian trunk/xen-3.0/debian/changelog trunk/xen-3.0/debian/compat trunk/xen-3.0/debian/control trunk/xen-3.0/debian/copyright trunk/xen-3.0/debian/libxen-dev.install trunk/xen-3.0/debian/libxen-python.install trunk/xen-3.0/debian/libxen3.0.install trunk/xen-3.0/debian/patches/ trunk/xen-3.0/debian/patches/00list trunk/xen-3.0/debian/patches/10sysconfig.dpatch trunk/xen-3.0/debian/patches/20lib64.dpatch trunk/xen-3.0/debian/patches/30missingobject.dpatch trunk/xen-3.0/debian/patches/40force-reload.dpatch trunk/xen-3.0/debian/rules trunk/xen-3.0/debian/xen-docs.install trunk/xen-3.0/debian/xen-hypervisor-3.0-i386-pae.install trunk/xen-3.0/debian/xen-hypervisor-3.0.install trunk/xen-3.0/debian/xen-utils-3.0.install trunk/xen-3.0/debian/xen-utils-3.0.manpages trunk/xen-3.0/debian/xen-utils-3.0.postinst trunk/xen-3.0/debian/xen-utils-3.0.postrm trunk/xen-3.0/debian/xen-utils-3.0.prerm Removed: trunk/debian/ Log: Moved trunk/debian -> trunk/xen-3.0/debian Renamed xen-hypervisor, xen-hypervisor-pae & xen-utils as per suggestions made from Bastian Added: trunk/xen-3.0/debian/NEWS.Debian ==================================================================--- trunk/xen-3.0/debian/NEWS.Debian 2006-02-28 09:35:25 UTC (rev 63) +++ trunk/xen-3.0/debian/NEWS.Debian 2006-02-28 23:56:31 UTC (rev 64) @@ -0,0 +1,26 @@ +xen (3.0.1+hg8743-0+1) unstable; urgency=low + + If you are upgrading from official xen 2.0.6 packages (or unofficial 2.0.7 + ones) be careful: manual intervention is needed before you can boot into your + new Xen 3.0 system. In particular you *must* upgrade both your Domain 0 + kernel and your unprivileged domains ones with a xen-flavored version of + Linux 2.6.12. Instructions for how to do so are provided in the + README.Debian file, as they are useful for new users of Xen too. + + Also please note that Xen 2.0.6 has a bug and before getting removed doesn''t + shutdown your domains. This, together with the fact that xen-utils for Xen + 3.0 is incompatible with the 2.0 hypervisor means that you won''t be able to + control your domains after upgrading, other than through the network. So + please shut them all down before upgrading to this packages. + + If you want to be really sure that nothing will go wrong please reboot into + a normal Linux system before upgrading, upgrade from there, build the new + kernels, and only then start your new Xen 3.0 system. + + On the good news side: Xen 3.0 is able to automatically baloon down your + Domain 0 to the falue specified in /etc/xen/xend-config.sxp . For it to be + able to do so, just remove your dom0_mem= option from the xen kernel line in + your grub.conf, and also the mem= option from your linux module line. + + -- Guido Trotter <ultrotter@debian.org> Tue, 21 Feb 2006 09:07:26 +0100 + Added: trunk/xen-3.0/debian/README.Debian ==================================================================--- trunk/xen-3.0/debian/README.Debian 2006-02-28 09:35:25 UTC (rev 63) +++ trunk/xen-3.0/debian/README.Debian 2006-02-28 23:56:31 UTC (rev 64) @@ -0,0 +1,60 @@ +Xen for Debian +-------------- + +* About /lib/tls: + + Since Xen guest machines have to work in non-contiguous areas of memory, + they cannot support a segmented glibc efficiently. If your glibc is + segmented Xen will have to emulate the support, with a high performance + penalty. To solve this problem you just have to execute this command: + + mv /lib/tls /lib/tls.disabled + + Unfortunately we cannot do this ourselves when you install Xen or at any + other time, without breaking the Debian Policy and thus provoke the Wrath of + the Gods. We know that this solution is not optimal, especially because + every time you upgrade the glibc package /lib/tls will be restored, and + you''ll have to + + rm -rf /lib/tls.disabled + mv /lib/tls /lib/tls.disabled + + again. We''ll be working towards a better solution, but for now this is it. + Please remember to always keep your system tls disabled. + + +* About the kernel: + + Unfortunately for now we cannot provide precompiled Linux Kernels with the + xen patch applied and configured to work in a Domain 0 or in an unprivileged + domain. The only thing we can give you is the patch, which is included in + the linux-patch-xen package. You are expected to install this package, + download a 2.6.12 kernel from kernel.org (this is the version supported by + xen right now. The patch will make it a 2.6.12.6+xen kernel) and roll your + own kernel. + + After you''ve done so you can add a section similar to this one to your + /boot/grub/menu.lst file in order to boot your xen system. (Only grub is + supported on Xen systems, if you''re a LILO fan we''re sorry, there''s no way + you can use Xen without switching, and probably there will never be) + + title Debian Xen+GNU/Linux + root (hd0,0) + kernel /boot/xen.gz + module /boot/xen-linux-2.6.12.6xeno003 root=/dev/sda1 ro console=tty0 + boot + + Of course you have this example supplying your own kernel path and root + device in the module line in order to have a working Xen system after a + reboot. + + We will provide a "roll your own xen kernel" manual and example config files + later on. We also hope to be able to provide complete Xen kernels, sooner or + later, so don''t despair! (Well, do, since in the meantime you have to do it + yourself anyway, if you want to try Xen... But don''t give up now, compiling + a kernel is not hard, and trying Xen is worth learning how to do it!) + +Kindly yours, + +Guido Trotter, for the Debian Xen Team. +(with a litte help from Ralph Passgang) Added: trunk/xen-3.0/debian/changelog ==================================================================--- trunk/xen-3.0/debian/changelog 2006-02-28 09:35:25 UTC (rev 63) +++ trunk/xen-3.0/debian/changelog 2006-02-28 23:56:31 UTC (rev 64) @@ -0,0 +1,450 @@ +xen (3.0.1+hg8746-0+1) unstable; urgency=low + + [ Guido Trotter ] + * The "preserve our homes" release + * Now cooperatively maintained by the Debian Xen Team + * New upstream release (closes: #32749, #342249) + * Build depend on transfig (closes: #321157) + * Use gcc rather than gcc-3.4 to compile (closes: #323698) + * Split xen-hypervisor and xen-utils + * Build both xen-hypervisor and xen-hypervisor-pae packages + * Julien Danjou <acid@debian.org> + - Change maintainer and add uploaders field + - Add force-reload support for init script xendomains + - Remove dependancy against bash + - Bump standards version to 3.6.2.2 + - Remove COPYING file from libxen-dev + * Guido Trotter <ultrotter@debian.org> + - Add dpatch structure to the package + - Remove build-dependency on gcc (it''s build essential anyway) + - Suggest xen-tools in the xen metapackage + - Make debian/rules policy compliant + - Make SrvServer.py not executable + - Make bugtool.py executable + - Create NEWS.Debian file with important upgrade notices + - Update copyright file + - Remove the linux-patch-xen package + * Ralph Passgang <ralph@debianbase.de> + - Added changes from 3.0.1-0tha3 + - Removed patch generation from kernel sources in debian/rules + - added the static file debian/linux-2.6.12-xen.patch (which + patches a vanilla 2.6.12 to 2.6.12.6-xen, but still with the + extraversion stripped off). use make-kpkg with "--arch xen" & + "--append-to-version .6-xen" to add the extraversion again. + - Changed debian/linux-patch-xen.kpatches + - removed useless build-dependencies: libncurses5-dev, wget. + - changed xendomains config path to /etc/default. + * Jeremy T. Bouse <jbouse@debian.org> + - Renamed xen-hypervisor -> xen-hypervisor-3.0 + - Renamed xen-hypervisor-pae -> xen-hypervisor-3.0-i386-pae + - Renamed xen-utils -> xen-utils-3.0 + - Added "Provides: xen-hypervisor-3.0" to + xen-hypervisor-3.0-i386-pae + - Set dependency for hypervisor in xen-utils-3.0 to + xen-hypervisor-3.0 rather than "xen-hypervisor | + xen-hypervisor-pae" + + -- Jeremy T. Bouse <jbouse@debian.org> Tue, 28 Feb 2006 15:36:01 -0800 + +xen (3.0.1-0tha3) unstable; urgency=low + + * updated to testing changeset 8743 (xen 3.0.1 + some patches) + * added bash to dependencies, because some scripts actually needs it + (even if only "/bin/sh" is set as interpreter in those scripts, so a + better solution would be if upstream removes the bashisms at all). + thx for the report by Paul Wagland <xen+paul@kungfoocoder.org>. + * changed hotplug/udev dependency to: "hotplug | udev (>=0.059)", because + older udev versions doesn''t work with xen and then hotplug is needed. + * changed debian/libxen3.0.install a bit, so that it will install + the svmloader (for amd''s pacifica) in future. so when svm support is + available in the stable xen upstream (most likely in 3.0.2) it will gets + installed without further changes needed in the install-file. + * xendomains should get stopped before xend, even in a .prerm file ;-P + (but maybe there is a better solution, because the domUs doesn''t really + needed to be stopped on an upgrade). + + -- Ralph Passgang <ralph@debianbase.de> Wed, 15 Feb 2006 22:00:00 +0100 + +xen (3.0.1-0tha2) unstable; urgency=low + + * added bcc to build-dependencies.it''s needed for VMX, otherwise + the vmxloader will not be compiled. The few people that are already + happy VT-owners will like that ;) + + -- Ralph Passgang <ralph@debianbase.de> Wed, 01 Feb 2006 23:55:00 -0100 + +xen (3.0.1-0tha1) unstable; urgency=low + + * NEW UPSTREAM: xen-3.0.1 (in fact testing changeset 8738) + * changed all python2.3 dependencies to just python, + because this should help ubuntu users to use this package. + * removed /usr/local/sbin from xen.install, because now all binaries + are installed in /usr/sbin & /usr/bin instead (thx to upstream). + * added /usr/include/xen/linux/*.h in libxen-dev.install + + -- Ralph Passgang <ralph@debianbase.de> Wed, 01 Feb 2006 18:45:00 -0100 + +xen (3.0.0-0tha13) unstable; urgency=low + + * NEW UPSTREAM: xen-3.0.0 + testing (changeset 8270) + * fixed a critical bug in this package for amd64. libraries are not + supposed to exist in /lib64 or /usr/lib64. Installing them in /lib or + /usr/lib is the correct location, even on amd64 machines. + Before -tha13 a libc6 upgrade will fail because of libraries in the + wrong location. This is a xen package issue as well as an libc6 issue, + but I can only fix the xen related ;-) + * removed the useless "sarge is not allowed to use udev" dependency, + because even if udev is too old in sarge, not allowing an installation + of udev will make xen not installable with for example gnome at the same + time. If udev is too old, xen will automaticly use hotplug, so this + dependency can safely be removed. + + -- Ralph Passgang <ralph@debianbase.de> Sun, 22 Jan 2006 14:35:00 -0100 + +xen (3.0.0-0tha12) unstable; urgency=low + + * The "hmm, there is always something to fix" release... + * changed the depends for udev to udev (>=0.059), because udev on + sarge is too old for xen and if udev is installed it makes hotplug + not working as fallback. So on sarge udev is not allowed to be installed + when xen is going to be installed anyway. (thx to Alvaro del Castillo for + the report!) + * Change the year in the changelog from 2005->2006 for entries from now on. + * changed the kernel mirror from http://www.kernel.org to + ftp://ftp.de.kernel.org, because the main mirror is sometimes really slow + for european users. If someone want''s to change that again, please edit + Config.mk + * removed debian/TODO, because it was very old and not up-to-date... + + -- Ralph Passgang <ralph@debianbase.de> Thu, 17 Jan 2006 01:12:00 -0100 + +xen (3.0.0-0tha11) unstable; urgency=low + + * NEW UPSTREAM: xen-3.0.0 + testing (changeset 8269) + This should fix some minor problem of the 3.0.0 release, see upsream + changelog for details. Xen''s project leader (Ian Pratt) advises to use + testing for production systems at the moment, so I switched my + xen3-stable release to testing for now. + If you have build your own kernels for xen, then please rebuild it + with the new linux-patch-xen to have the testing fixes in your kernel + and so that hypervisor and dom0/domU kernel matches the changeset. + * NEW: Binary images are available for dom0/domU kernels. + You don''t have to (but still can) compile your own kernel. + Just install "linux-xen0-2.6" with apt-get from the same repository you + got this package from and follow the instructions that will get shown. + The kernel images are available for i386, i386-pae and amd64. They are + available at least in sid and sarge. etch might have a not working + "make-kpkg" at the moment, so there is probably no kernel image for etch + at the moment (should change in future of course). + The kernel images are not tested as well as the xen packages, so please + let me know if you have any problems with the new kernel images at all. + * xen now suggests: linux-xen0-2.6 + + -- Ralph Passgang <ralph@debianbase.de> Sat, 14 Jan 2005 14:00:00 -0100 + +xen (3.0.0-0tha10) unstable; urgency=low + + * /etc/udev & /etc/hotplug stuff is now installed. Hotplug works at + least on sarge & sid without problems, but maybe someone wants to + use udev instead of hotplug, so from now on udev config is + available as well. + * changed xen''s depencies to "hotplug | udev". + + -- Ralph Passgang <ralph@debianbase.de> Thu, 12 Jan 2005 01:30:00 -0100 + +xen (3.0.0-0tha9) unstable; urgency=low + + * moved all python libraries from xen to libxen-python.install, because + otherwise they will be installed in the wrong version since the last + change on debhelper/dh_install in sid/unstable. d''oh! + * added bash to build-depencies, because of some bashisms in configure + scripts in upstream (thx to Saku Ytti) + * changed the handling of excludes for amd64 a bit to include all python + files for amd64. + * bridge-utils is now recommend not only suggested. + * added libncurses5-dev to depencies as suggested by dpkg-shlibdeps + (needed for xenmon.py ?) + * the kernel-patch now will create a amd64 and i386 subdir and patch + script. the diff is the same for both architectures (thx to Saku Ytti + for pointing me on this). + * NEXT TARGET: PROVIDING KERNEL IMAGES VIA PACKAGES.DEBIANBASE.DE FOR + AT LEAST I386, I386-PAE AND AMD64 ON SARGE/SID/WOODY. + + -- Ralph Passgang <ralph@debianbase.de> Mon, 09 Jan 2005 23:40:00 -0100 + +xen (3.0.0-0tha8) unstable; urgency=low + + * xen.postinst now creates /var/lock/subsys and /var/lib/xen/save (if not + already existing), because the xendomains init script tries to suspend + running domainUs in /var/lib/xen/save/. without this the xendomains + script is forced to shutdown each domainU when "xendomains stop" is + executed. + + -- Ralph Passgang <ralph@debianbase.de> Wed, 21 Dec 2005 13:15:00 -0100 + +xen (3.0.0-0tha7) unstable; urgency=low + + * the linux-patch-xen package is now useable. The upstream version for + creating kernel-patches doesn''t work, so I had to find my own solution. + The EXTRAVERSION (currently ".6-xen") gets stripped off, because + dh_installkpatches doesn''t like to handle kernel-patches with EXTRAVERSIONS. + But the linux-patch-xen patch patches a vanilla 2.6.12 kernel to 2.6.12.6-xen, + even if EXTRAVERSION doesn''t reflect that correctly. + With make-kpkg you can add the EXTRAVERSION again with the flag: + --append-to-version .6-xen + * make "XEN_TARGET_X86_PAE" an option in debian/rules, for easier switching + between both compile options. + + -- Ralph Passgang <ralph@debianbase.de> Sun, 19 Dec 2005 23:30:00 -0100 + +xen (3.0.0-0tha6) unstable; urgency=low + + * suggests "bridge-utils", because most people need it (bridge mode is std.) + + -- Ralph Passgang <ralph@debianbase.de> Sun, 18 Dec 2005 23:30:00 -0100 + +xen (3.0.0-0tha5) unstable; urgency=low + + * The "AMD64"-Release + * updated control file for amd64 (works now with i386 & amd64). + * updated .install files (for new amd64 arch) + * updated rules file (for new amd64 arch) + * added manpages (they never were installed before) + * added qemu keytabs (I forgot them on the update for xen3) + + -- Ralph Passgang <ralph@debianbase.de> Sun, 18 Dec 2005 16:30:00 -0100 + +xen (3.0.0-0tha4) unstable; urgency=low + + * updated to gcc as default cc, because gcc-3.4 is not longer needed + + -- Ralph Passgang <ralph@debianbase.de> Fri, 16 Dec 2005 23:59:00 -0100 + +xen (3.0.0-0tha3) unstable; urgency=low + + * new, a pae version is also available! + see: http://packages.debianbase.de/<distro>/i386/xen3-pae + * libxen3.0 now conflicts with libxen2.0, that was obviously although :) + + -- Ralph Passgang <ralph@debianbase.de> Fri, 16 Dec 2005 23:30:00 -0100 + +xen (3.0.0-0tha2) unstable; urgency=low + + * added hotplug to depencies + + -- Ralph Passgang <ralph@debianbase.de> Mon, 15 Dec 2005 20:20:50 -0100 + +xen (3.0.0-0tha1) unstable; urgency=low + + * the first really useable release... + + -- Ralph Passgang <ralph@debianbase.de> Mon, 12 Dec 2005 23:20:50 -0100 + +xen (2.99.1-3) unstable; urgency=low + + * "the lost files" + "damn, I need some empty directories"-release + + -- Ralph Passgang <ralph@debianbase.de> Mon, 12 Dec 2005 22:20:50 -0100 + +xen (2.99.1-2) unstable; urgency=low + + * added bzip2 to build-depencies + + -- Ralph Passgang <ralph@debianbase.de> Mon, 12 Dec 2005 22:20:50 -0100 + +xen (2.99.1-1) unstable; urgency=low + + * fixed rules file, we don''t need the debian kernel source package anymore + + -- Ralph Passgang <ralph@debianbase.de> Mon, 12 Dec 2005 20:40:50 -0100 + +xen (2.99.1-0) unstable; urgency=low + + * fixed .install files (to catch all new 3.0 files) + * removed the depency for debian''s linux-source package + + -- Ralph Passgang <ralph@debianbase.de> Mon, 12 Dec 2005 20:40:50 -0100 + +xen (2.99.0-1) unstable; urgency=low + + * added linux-source-2.6.12 as Build-Depends. + + -- Ralph Passgang <ralph@debianbase.de> Wed, 07 Dec 2005 11:50:50 -0100 + +xen (2.99.0-0) unstable; urgency=low + + * new upstream release: Xen 3.0 (07/12/2005) + * first test package, not for production use! + * added linux-2.6.12-xen-sparse directory handling + + -- Ralph Passgang <ralph@debianbase.de> Wed, 07 Dec 2005 00:50:50 -0100 + +xen (2.90.0+daily20051001-0) unstable; urgency=low + + * new upstream release: Xen Unstable (01/10/2005) + * added libsdl1.2-dev, libvncserver-dev, libjpeg-dev + to the build-depencies + + -- Ralph Passgang <ralph@debianbase.de> Thu, 01 Oct 2005 22:25:50 -0100 + +xen (2.0.7-0) unstable; urgency=low + + * new upstream release: Xen 2.0.7 (04/08/2005) + - this release should fix some minor issues (for example save/restore) + + -- Ralph Passgang <ralph@debianbase.de> Thu, 04 Aug 2005 10:05:50 -0100 + +xen (2.0.6-1.1) unstable; urgency=low + + * patched the xen package, so that it downloads the kernel from + ftp://ftp.de.kernel.org/... + * added patch to have xensv work correctly + (see: http://lists.xensource.com/archives/html/xen-users/ + 2005-05/msg00342.html) + + -- Ralph Passgang <ralph@debianbase.de> Wed, 27 Jul 2005 19:05:50 -0100 + +xen (2.0.6-1) unstable; urgency=low + + * Patches applied upstream: non-xen-init-exit.patch, add-build.patch, + python-install.patch, disable-html-docs.patch. + * New upstream released. Closes: #311336. + * Remove comparison to UML from xen short description. Closes: #317066. + * Make packages conflicts with 1.2 doc debs. Closes: #304285. + * Add iproute to xen depends, as it uses /bin/ip. Closes: #300488, + #317468. + + -- Adam Heath <doogie@brainfood.com> Wed, 06 Jul 2005 12:35:50 -0500 + +xen (2.0.5-3) experimental; urgency=low + + * Change priority/section to match the overrides file. + + -- Adam Heath <doogie@brainfood.com> Fri, 18 Mar 2005 12:43:50 -0600 + +xen (2.0.5-2) experimental; urgency=low + + * Mike McCallister <mike+debian@metalogue.com>, + Tommi Virtanen <tv@debian.org>, Tom Hibbert <tom@nsp.co.nz>: + Fix missing ''.'' in update-rc.d call in xen.postinst. Closes: #299384 + + -- Adam Heath <doogie@brainfood.com> Fri, 18 Mar 2005 11:39:56 -0600 + +xen (2.0.5-1) experimental; urgency=low + + * New upstream. + * Remove pic-lib.patch, tools-misc-TARGETS.patch, and clean-mttr.patch + as they have been applied upstream(in various forms). + * xend now starts at priority 20, stops at 21, while xendomains starts + at 21, and stops at 20. + + -- Adam Heath <doogie@brainfood.com> Fri, 11 Mar 2005 14:33:33 -0600 + +xen (2.0.4-4) experimental; urgency=low + + * Bah, major booboo. Add /boot to debian/xen.install, so xen.gz will + get shipped. Reported by Clint Adams <schizo@debian.org>. + + -- Adam Heath <doogie@brainfood.com> Tue, 15 Feb 2005 13:00:57 -0600 + +xen (2.0.4-3) experimental; urgency=low + + * Fix file overlap(/usr/share/doc/xen/examples/*) between xen and + xen-docs. Reported by Tupshin Harper <tupshin@tupshin.com>. + + -- Adam Heath <doogie@brainfood.com> Sun, 06 Feb 2005 01:22:45 -0600 + +xen (2.0.4-2) experimental; urgency=low + + * Fix kernel patch generation. It was broken when I integrated with + debian''s kernel source. I used a symlink, and diff doesn''t follow + those. + + -- Adam Heath <doogie@brainfood.com> Sat, 05 Feb 2005 18:16:35 -0600 + +xen (2.0.4-1) experimental; urgency=low + + * New upstream. + * xen.deb can now install on a plain kernel; that is, the init scripts + exit successfully if /proc/xen/privcmd doesn''t exist. This allows + for dual-boot setups. + * Manpages do not yet exist xend, xenperf, xensv, xfrd, nor xm. xend + xfrd are daemons, and take little if any options. I''ve not had a need + to use xenperf nor xensv yet. xm has nice built in help(xm help). + * Upstream now requires either linux 2.4.29, or 2.6.10. Since 2.4.29 is + not yet in debian, disable the 2.4 patch generation. Closes: #271245. + * Not certain how the kernel-patch-xen was empty. It''s not now, with + the repackaging. Closes: #272299. + * Xen no longer produces kernel images, so problems about missing features + are no longer valid. Closes: #253924. + * Acknowledge nmu bugs: + * No longer build-depend on gcc 3.3, as the default gcc works. Closes: + #243048. + + -- Adam Heath <doogie@brainfood.com> Sat, 05 Feb 2005 18:04:27 -0600 + +xen (2.0.3-0.1) unstable; urgency=low + + * Changes from Tommi Virtanen: + * Added dh-kpatches and libcurl3-dev to Build-Depends. + * Add /etc/xen/sv/params.py and /etc/xen/xend/params.py. + * Add xmexample1 and xmexample2 to xen/doc/examples. + + -- Adam Heath <doogie@brainfood.com> Wed, 26 Jan 2005 10:55:07 -0600 + +xen (2.0.3-0) unstable; urgency=low + + * New upstream. Closes: #280733. + * Repackaged from scratch. + * Using unreleased patch management system. See debian/README.build. + * After extracting the .dsc, there are no special steps needed + * Those wanting to change the source, use the normal procedures for + any package, including using interdiff(or other tool) to send a + patch to me or the bts. + * No longer try to do anything fancy with regard to the layout of the + built kernels. Now, only patches are distributed. Please make use of + the xen support in kernel-package. + * Early preview release to #debian-devel. + + -- Adam Heath <doogie@brainfood.com> Tue, 25 Jan 2005 13:24:54 -0600 + +xen (1.2-4.1) unstable; urgency=high + + * NMU + * Remove gcc-3.2 from Build-Depends as isn''t used during build + (Closes: #243048) + + -- Frank Lichtenheld <djpig@debian.org> Sat, 21 Aug 2004 17:42:28 +0200 + +xen (1.2-4) unstable; urgency=low + + * Added xen-docs.README.Debian, which explains the kernel image layout, + and contains references on the locations differ from what is mentioned + by the upstream documentation. Closes: #230345. + + -- Adam Heath <doogie@brainfood.com> Fri, 26 Mar 2004 17:36:41 -0600 + +xen (1.2-3) unstable; urgency=low + + * Add kernel-source-2.4.25 and kernel-patch-debian-2.4.25 to + Build-Depends-Indep. + + -- Adam Heath <doogie@brainfood.com> Tue, 23 Mar 2004 20:14:39 -0600 + +xen (1.2-2) unstable; urgency=low + + * xen: moved /boot/xen.gz to /usr/lib/kernels/xen-i386/images/vmlinuz + * kernel-image, kernel-modules: swapped i386/xeno to xeno/i386 in + /usr/lib/kernels. + * Add kernel-patch-nfs-swap deb. + * Apply additional patches to kernel-image-xen: + * nfs-group + * nfs-swap + + -- Adam Heath <doogie@brainfood.com> Thu, 04 Mar 2004 12:47:47 -0600 + +xen (1.2-1) unstable; urgency=low + + * Initial version. + + -- Adam Heath <doogie@brainfood.com> Tue, 02 Mar 2004 13:21:52 -0600 Added: trunk/xen-3.0/debian/compat ==================================================================--- trunk/xen-3.0/debian/compat 2006-02-28 09:35:25 UTC (rev 63) +++ trunk/xen-3.0/debian/compat 2006-02-28 23:56:31 UTC (rev 64) @@ -0,0 +1 @@ +4 Added: trunk/xen-3.0/debian/control ==================================================================--- trunk/xen-3.0/debian/control 2006-02-28 09:35:25 UTC (rev 63) +++ trunk/xen-3.0/debian/control 2006-02-28 23:56:31 UTC (rev 64) @@ -0,0 +1,105 @@ +Source: xen +Maintainer: Debian Xen Team <pkg-xen-devel@lists.alioth.debian.org> +Uploaders: Julien Danjou <acid@debian.org>, Jeremy T. Bouse <jbouse@debian.org>, Guido Trotter <ultrotter@debian.org>, Bastian Blank <waldi@debian.org> +Section: misc +Priority: extra +Standards-Version: 3.6.2.2 +Build-Depends: tetex-bin, tetex-extra, gs-common, debhelper (>= 4), libcurl3-dev | libcurl-dev, dh-kpatches, python-dev, python (>= 2.2), transfig, libsdl1.2-dev, libvncserver-dev, libjpeg-dev, bzip2, bcc, dpatch + +Package: xen +Section: misc +Architecture: i386 amd64 +Depends: xen-utils, xen-hypervisor | xen-hypervisor-pae +Suggests: xen-tools +Description: a Virtual Machine Monitor like VMWare or plex86 + XEN is a Virtual Machine Monitor (VMM) originally developed by the + Systems Research Group of the University of Cambridge Computer + Laboratory, as part of the UK-EPSRC funded XenoServers project. + . + Xen enables multiple operating system images to execute concurrently + on the same hardware with very low performance overhead --- much lower + than commercial offerings for the same x86 platform. + +Package: xen-hypervisor-3.0 +Section: misc +Architecture: i386 amd64 +Depends: ${shlibs:Depends} +Suggests: linux-xen0-2.6 | kernel-xen0-2.6 +Recommends: grub +Description: The Xen Hypervisor + The hypervisor is the "core" for XEN itself. It gets booted by the boot loader + and controls cpu and memory, sharing them between your administrative domain + (Domain 0) and the virtual guest systems. + . + In order to boot a XEN system along with this package you also need a kernel + specifically crafted to work as the Domain 0, mediating hardware access for + XEN itself. An example config file for this kernel and documentation on how + to build it can be found in the xen-docs package. + . + If you have an i386 system with more than 4GB of memory you should choose the + xen-hypervisor-pae package + +Package: xen-hypervisor-3.0-i386-pae +Section: misc +Architecture: i386 +Depends: ${shlibs:Depends} +Suggests: linux-xen0-2.6 | kernel-xen0-2.6 +Provides: xen-hypervisor-3.0 +Recommends: grub +Description: The Xen Hypervisor (pae enabled version) + The hypervisor is the "core" for XEN itself. It gets booted by the boot loader + and controls cpu and memory, sharing them between your administrative domain + (Domain 0) and the virtual guest systems. + . + In order to boot a XEN system along with this package you also need a kernel + specifically crafted to work as the Domain 0, mediating hardware access for + XEN itself. An example config file for this kernel and documentation on how + to build it can be found in the xen-docs package. + . + This version of the hypervisor is built for i386 systems with more than 4GB of + memory. + + +Package: xen-utils-3.0 +Section: misc +Architecture: i386 amd64 +Depends: xen-hypervisor-3.0, python-twisted, python, libxen-python, iproute, hotplug | udev, ${shlibs:Depends} +Recommends: bridge-utils +Description: XEN administrative tools + The userspace tools to manage a system virtualized through the XEN virtual + machine monitor. + +Package: libxen3.0 +Section: libs +Architecture: i386 amd64 +Depends: ${shlibs:Depends} +Conflicts: xen-docs (<= 1.2), libxen2.0 +Description: control library for XEN, a Virtual Machine Monitor + Library to control the XEN microkernel. Contains functions for creating, + starting, stopping, saving, virtual instances. + +Package: libxen-dev +Section: libdevel +Architecture: i386 amd64 +Depends: libxen3.0 (= ${Source-Version}) +Description: development files for the control library for XEN + Users wishing to develop their own tools for interfaces to the underlying + XEN kernel should install this package. + +Package: xen-docs +Section: misc +Architecture: all +Description: documentation for XEN, a Virtual Machine Monitor + This package contains all the large documentation files for XEN. This + includes a description interface(both the api, and a nice explanation of + how XEN works). It also contains the VBD and Xeno howtos. + +Package: libxen-python +Section: python +Architecture: i386 amd64 +Depends: ${shlibs:Depends}, ${python:Depends} +Description: python wrapper around libxc, the control library for XEN + This python library wraps the C library, and provides a nice OO interface + to the low-level system calls. It also provides some higher-level config + file parsing. + Added: trunk/xen-3.0/debian/copyright ==================================================================--- trunk/xen-3.0/debian/copyright 2006-02-28 09:35:25 UTC (rev 63) +++ trunk/xen-3.0/debian/copyright 2006-02-28 23:56:31 UTC (rev 64) @@ -0,0 +1,120 @@ +Xen was initially debianized by Adam Heath <doogie@brainfood.com> + +It was downloaded from http://www.cl.cam.ac.uk/netos/xen + +The project is partially hosted on sourceforge. It''s homepage on sf redirects +to the above url. Part of the development is carried on at http://www.xensource.com + +Copyright: + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 dated June, 1991. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +This is the header of Xen 3.0 upstream COPYING file which clarifies a bit how +the licence is meant to be applied. The file continues with the complete text +of the GNU General Public Licence version 2, which is not included here as it +can be found on Debian GNU/Linux systems in `/usr/share/common-licenses/GPL-2''. + +<file "COPYING"> + XEN NOTICE + =========+ +This license does *not* cover guest operating systems that use +Xen services via normal hypercalls - this is merely considered normal +use of Xen, and does *not* fall under the heading of "derived work". +Also note that the GPL below is copyrighted by the Free Software +Foundation, but the instance of code that it refers to (the Xen +virtual machine monitor) is copyrighted by me and others who actually +wrote it. + +Further note that the guest-OS interfacing header files, which +includes all files within the subdirectory include/public, are +*not* covered by the GPL but by a much weaker license: + include/public/COPYING + +Also note that the only valid version of the GPL as far as Xen is +concerned is _this_ particular version of the license (i.e., *only* +v2, not v2.2 or v3.x or whatever), unless explicitly otherwise +stated. + + -- Keir Fraser (on behalf of the Xen team) + +====================================================================+</file> + +As an exception, for the convenience of users who want to port other operating +systems to Xen, some files are licensed under a BSD-style licence. This licence +applies to all the files under the xen/include/public directory inside the +upstream tarball. This is the content of the COPYING file in that directory: + +<file "xen/include/public/COPYING"> +XEN NOTICE +=========+ +This copyright applies to all files within this subdirectory. All +other files in the Xen source distribution are covered by version 2 of +the GNU General Public License. + + -- Keir Fraser (on behalf of the Xen team) + +====================================================================+ +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to +deal in the Software without restriction, including without limitation the +rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +sell copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in +all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER +DEALINGS IN THE SOFTWARE. +</file> + +And this, for reference, is the list of the files it applies to: + +xen/include/public/acm.h +xen/include/public/acm_ops.h +xen/include/public/arch-ia64.h +xen/include/public/arch-x86_32.h +xen/include/public/arch-x86_64.h +xen/include/public/dom0_ops.h +xen/include/public/event_channel.h +xen/include/public/grant_table.h +xen/include/public/hvm/hvm_info_table.h +xen/include/public/hvm/ioreq.h +xen/include/public/hvm/vmx_assist.h +xen/include/public/io/blkif.h +xen/include/public/io/console.h +xen/include/public/io/netif.h +xen/include/public/io/ring.h +xen/include/public/io/tpmif.h +xen/include/public/io/xenbus.h +xen/include/public/io/xs_wire.h +xen/include/public/memory.h +xen/include/public/nmi.h +xen/include/public/physdev.h +xen/include/public/sched.h +xen/include/public/sched_ctl.h +xen/include/public/trace.h +xen/include/public/vcpu.h +xen/include/public/version.h +xen/include/public/xen.h + Added: trunk/xen-3.0/debian/libxen-dev.install ==================================================================--- trunk/xen-3.0/debian/libxen-dev.install 2006-02-28 09:35:25 UTC (rev 63) +++ trunk/xen-3.0/debian/libxen-dev.install 2006-02-28 23:56:31 UTC (rev 64) @@ -0,0 +1,7 @@ +usr/include/*.h +usr/include/xen/*.h +usr/include/xen/io/*.h +usr/include/xen/linux/*.h +usr/lib/*.a +usr/lib/libxenctrl.so +usr/lib/libxenguest.so Added: trunk/xen-3.0/debian/libxen-python.install ==================================================================--- trunk/xen-3.0/debian/libxen-python.install 2006-02-28 09:35:25 UTC (rev 63) +++ trunk/xen-3.0/debian/libxen-python.install 2006-02-28 23:56:31 UTC (rev 64) @@ -0,0 +1,8 @@ +usr/lib/python2.3/site-packages/xen/__init__.py +usr/lib/python2.3/site-packages/xen/lowlevel +usr/lib/python2.3/site-packages/xen/web +usr/lib/python2.3/site-packages/grub +usr/lib/python2.3/site-packages/xen/xend +usr/lib/python2.3/site-packages/xen/sv +usr/lib/python2.3/site-packages/xen/xm +usr/lib/python2.3/site-packages/xen/util Added: trunk/xen-3.0/debian/libxen3.0.install ==================================================================--- trunk/xen-3.0/debian/libxen3.0.install 2006-02-28 09:35:25 UTC (rev 63) +++ trunk/xen-3.0/debian/libxen3.0.install 2006-02-28 23:56:31 UTC (rev 64) @@ -0,0 +1,5 @@ +usr/lib/*.so.3.0 +usr/lib/*.so.3.0.0 +usr/lib/libxenstore.so +usr/lib/xen/bin +usr/lib/xen/boot Added: trunk/xen-3.0/debian/patches/00list ==================================================================--- trunk/xen-3.0/debian/patches/00list 2006-02-28 09:35:25 UTC (rev 63) +++ trunk/xen-3.0/debian/patches/00list 2006-02-28 23:56:31 UTC (rev 64) @@ -0,0 +1,4 @@ +10sysconfig +20lib64 +30missingobject +40force-reload Added: trunk/xen-3.0/debian/patches/10sysconfig.dpatch ==================================================================--- trunk/xen-3.0/debian/patches/10sysconfig.dpatch 2006-02-28 09:35:25 UTC (rev 63) +++ trunk/xen-3.0/debian/patches/10sysconfig.dpatch 2006-02-28 23:56:31 UTC (rev 64) @@ -0,0 +1,53 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 10sysconfig.dpatch by Ralph Passgang <ralph@debianbase.de> +## +## All lines beginning with `## DP:'' are a description of the patch. +## DP: Move xendomains init script config file from /etc/sysconfig to /etc/default + +@DPATCH@ +diff -Naur a/Makefile b/Makefile +--- a/Makefile 2006-02-16 23:44:08.000000000 +0100 ++++ b/Makefile 2006-02-18 01:34:35.659936303 +0100 +@@ -173,7 +173,6 @@ + rm -rf $(D)/etc/hotplug/xen-backend.agent + rm -f $(D)/etc/udev/rules.d/xen-backend.rules + rm -f $(D)/etc/udev/xen-backend.rules +- rm -f $(D)/etc/sysconfig/xendomains + rm -rf $(D)/var/run/xen* $(D)/var/lib/xen* + rm -rf $(D)/boot/*xen* + rm -rf $(D)/lib/modules/*xen* +diff -Naur a/tools/examples/init.d/xendomains b/tools/examples/init.d/xendomains +--- a/tools/examples/init.d/xendomains 2006-02-16 23:44:08.000000000 +0100 ++++ b/tools/examples/init.d/xendomains 2006-02-18 01:34:35.659936303 +0100 +@@ -35,7 +35,7 @@ + fi + + LOCKFILE=/var/lock/subsys/xendomains +-XENDOM_CONFIG=/etc/sysconfig/xendomains ++XENDOM_CONFIG=/etc/default/xendomains + + test -r $XENDOM_CONFIG || { echo "$XENDOM_CONFIG not existing"; + if [ "$1" = "stop" ]; then exit 0; +diff -Naur a/tools/examples/Makefile b/tools/examples/Makefile +--- a/tools/examples/Makefile 2006-02-16 23:44:08.000000000 +0100 ++++ b/tools/examples/Makefile 2006-02-18 01:35:13.225266374 +0100 +@@ -56,10 +56,8 @@ + + install-initd: + [ -d $(DESTDIR)/etc/init.d ] || $(INSTALL_DIR) $(DESTDIR)/etc/init.d +- [ -d $(DESTDIR)/etc/sysconfig ] || $(INSTALL_DIR) $(DESTDIR)/etc/sysconfig + $(INSTALL_PROG) $(XEND_INITD) $(DESTDIR)/etc/init.d + $(INSTALL_PROG) $(XENDOMAINS_INITD) $(DESTDIR)/etc/init.d +- $(INSTALL_PROG) $(XENDOMAINS_SYSCONFIG) $(DESTDIR)/etc/sysconfig/xendomains + + install-configs: $(XEN_CONFIGS) + [ -d $(DESTDIR)$(XEN_CONFIG_DIR) ] || \ +@@ -70,6 +68,8 @@ + do [ -e $(DESTDIR)$(XEN_CONFIG_DIR)/$$i ] || \ + $(INSTALL_DATA) $$i $(DESTDIR)$(XEN_CONFIG_DIR); \ + done ++ [ -d $(DESTDIR)/etc/default ] || $(INSTALL_DIR) $(DESTDIR)/etc/default ++ $(INSTALL_DATA) $(XENDOMAINS_SYSCONFIG) $(DESTDIR)/etc/default/xendomains + + install-scripts: + [ -d $(DESTDIR)$(XEN_SCRIPT_DIR) ] || \ Property changes on: trunk/xen-3.0/debian/patches/10sysconfig.dpatch ___________________________________________________________________ Name: svn:executable + * Added: trunk/xen-3.0/debian/patches/20lib64.dpatch ==================================================================--- trunk/xen-3.0/debian/patches/20lib64.dpatch 2006-02-28 09:35:25 UTC (rev 63) +++ trunk/xen-3.0/debian/patches/20lib64.dpatch 2006-02-28 23:56:31 UTC (rev 64) @@ -0,0 +1,23 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 20-lib64.dpatch by <root@xeno.tixteam.net> +## +## All lines beginning with `## DP:'' are a description of the patch. +## DP: Install under lib, rather than lib64, on amd64 + +@DPATCH@ +diff -urNad xen-3.0.1+hg8743/Config.mk /tmp/dpep.2asBvw/xen-3.0.1+hg8743/Config.mk +--- xen-3.0.1+hg8743/Config.mk 2006-02-17 11:07:17.000000000 +0100 ++++ /tmp/dpep.2asBvw/xen-3.0.1+hg8743/Config.mk 2006-02-18 10:42:35.000000000 +0100 +@@ -27,11 +27,7 @@ + INSTALL_DATA = $(INSTALL) -m0644 + INSTALL_PROG = $(INSTALL) -m0755 + +-ifeq ($(XEN_TARGET_ARCH),x86_64) +-LIBDIR = lib64 +-else + LIBDIR = lib +-endif + + ifneq ($(EXTRA_PREFIX),) + EXTRA_INCLUDES += $(EXTRA_PREFIX)/include + Property changes on: trunk/xen-3.0/debian/patches/20lib64.dpatch ___________________________________________________________________ Name: svn:executable + * Added: trunk/xen-3.0/debian/patches/30missingobject.dpatch ==================================================================--- trunk/xen-3.0/debian/patches/30missingobject.dpatch 2006-02-28 09:35:25 UTC (rev 63) +++ trunk/xen-3.0/debian/patches/30missingobject.dpatch 2006-02-28 23:56:31 UTC (rev 64) @@ -0,0 +1,16 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 30missingobject.dpatch by Guido Trotter <ultrotter@debian.org> +## +## All lines beginning with `## DP:'' are a description of the patch. +## DP: Remove an upstream leftover that prevents successive compilations + +@DPATCH@ +diff -urNad xen-3.0-1+hg8743/tools/firmware/vmxassist/Makefile /tmp/dpep.C8i9Ax/xen-3.0-1+hg8743/tools/firmware/vmxassist/Makefile +--- xen-3.0-1+hg8743/tools/firmware/vmxassist/Makefile 2006-02-20 10:54:29.034345216 +0100 ++++ /tmp/dpep.C8i9Ax/xen-3.0-1+hg8743/tools/firmware/vmxassist/Makefile 2006-02-20 11:14:26.000000000 +0100 +@@ -87,4 +87,5 @@ + rm -f vmxassist vmxassist.tmp vmxassist.bin vmxassist.run vmxassist.sym head.s roms.h acpi.h + rm -f vmxloader vmxloader.tmp vmxloader.o $(OBJECTS) + rm -f gen gen.o offsets.h ++ rm -f acpi_madt.o + Property changes on: trunk/xen-3.0/debian/patches/30missingobject.dpatch ___________________________________________________________________ Name: svn:executable + * Added: trunk/xen-3.0/debian/patches/40force-reload.dpatch ==================================================================--- trunk/xen-3.0/debian/patches/40force-reload.dpatch 2006-02-28 09:35:25 UTC (rev 63) +++ trunk/xen-3.0/debian/patches/40force-reload.dpatch 2006-02-28 23:56:31 UTC (rev 64) @@ -0,0 +1,28 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## force-reload.dpatch by Julien Danjou <acid@debian.org> +## +## All lines beginning with `## DP:'' are a description of the patch. +## DP: add force-reload supports to xendomains init script + +@DPATCH@ +diff -Naur xen-3.0.1.orig xen-3.0.1 +--- xen-3.0.1.orig/tools/examples/init.d/xendomains 2006-01-31 17:09:20.000000000 +0100 ++++ xen-3.0.1/tools/examples/init.d/xendomains 2006-02-20 14:05:23.000000000 +0100 +@@ -474,7 +474,7 @@ + restart) + restart + ;; +- reload) ++ reload|force-reload) + reload + ;; + +@@ -492,7 +492,7 @@ + ;; + + *) +- echo "Usage: $0 {start|stop|restart|reload|status}" ++ echo "Usage: $0 {start|stop|restart|reload|force-reload|status}" + rc_failed 3 + rc_status -v + ;; Property changes on: trunk/xen-3.0/debian/patches/40force-reload.dpatch ___________________________________________________________________ Name: svn:executable + * Added: trunk/xen-3.0/debian/rules ==================================================================--- trunk/xen-3.0/debian/rules 2006-02-28 09:35:25 UTC (rev 63) +++ trunk/xen-3.0/debian/rules 2006-02-28 23:56:31 UTC (rev 64) @@ -0,0 +1,119 @@ +#!/usr/bin/make -f + +CC := gcc +CFLAGS := -Wall -g +#DH_VERBOSE := -v + +DEB_VERSION := $(shell dpkg-parsechangelog | sed -n ''s/^Version: //p'') +DEB_REVISION := $(shell echo "$(DEB_VERSION)" | sed ''s/.*-//'') +UP_VERSION := $(shell echo "$(DEB_VERSION)" | sed ''s/-[^-]*$$//'') +DEB_BUILD_ARCH := $(shell dpkg-architecture -qDEB_BUILD_ARCH) + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +export DH_VERBOSE +export CC CFLAGS + +include /usr/share/dpatch/dpatch.make + +clean: really-clean unpatch + +really-clean: + dh_testdir + dh_testroot + $(MAKE) distclean + rm -f build-arch-stamp build-indep-stamp + rm -rf debian/install + dh_clean + +build: patch-stamp build-indep build-arch + +build-arch: build-arch-stamp +build-arch-stamp: +ifeq ($(DEB_BUILD_ARCH),i386) + # This actually installs the PAE hypervisor rather than just building it! + # Unfortunately it''s the only way to build it without losing it later on, when cleaning for the real thing! + $(MAKE) install-xen XEN_TARGET_X86_PAE=y TARGET=$(CURDIR)/xen/xen_pae DESTDIR=$(CURDIR)/dist + $(MAKE) -C xen clean +endif + $(MAKE) -C xen build + $(MAKE) -C tools all XEN_PYTHON_NATIVE_INSTALL=1 + $(MAKE) -C docs man-pages # Needed, otherwise dpkg-buildpackage -B fails + touch build-arch-stamp + +build-indep: build-indep-stamp +build-indep-stamp: + $(MAKE) -C docs all + touch build-indep-stamp + +install: install-indep install-arch +install-indep: + dh_testdir + dh_testroot + dh_clean -k -i + dh_installdirs -i + + $(MAKE) install-docs DESTDIR=$(CURDIR)/debian/install + + dh_install -i --sourcedir=$(CURDIR)/debian/install + +install-arch: + dh_testdir + dh_testroot + dh_clean -k -s + dh_installdirs -s + $(MAKE) install-tools XEN_PYTHON_NATIVE_INSTALL=1 DESTDIR=$(CURDIR)/debian/install + $(MAKE) install-xen DESTDIR=$(CURDIR)/debian/install +ifeq ($(DEB_BUILD_ARCH),i386) + cp -dR $(CURDIR)/dist/boot/* $(CURDIR)/debian/install/boot/ +endif + $(MAKE) -C tools/examples install-udev DESTDIR=$(CURDIR)/debian/install + $(MAKE) -C tools/examples install-hotplug DESTDIR=$(CURDIR)/debian/install + cp -dR $(CURDIR)/docs/man1 $(CURDIR)/debian/install/usr/share/man # Needed, otherwise dpkg-buildpackage -B fails + cp -dR $(CURDIR)/docs/man5 $(CURDIR)/debian/install/usr/share/man # Needed, otherwise dpkg-buildpackage -B fails + find $(CURDIR)/debian/install -name ''*.pyc'' | xargs rm + mkdir -p debian/install/etc/xen/xend/server + mv debian/install/usr/lib/python2.3/site-packages/xen/xend/server/params.py debian/install/etc/xen/xend/params.py + ln -s /etc/xen/xend/params.py debian/install/usr/lib/python2.3/site-packages/xen/xend/server/params.py + mkdir -p debian/install/usr/share/doc/xen/examples + mv debian/install/etc/xen/xmexample* debian/install/usr/share/doc/xen/examples + chmod +x \ + debian/install/usr/lib/python2.3/site-packages/xen/xend/XendClient.py \ + debian/install/usr/lib/python2.3/site-packages/xen/util/bugtool.py \ + debian/install/usr/lib/python2.3/site-packages/xen/xend/sxp.py + + dh_install -s --sourcedir=$(CURDIR)/debian/install + +binary-common: + @echo "DEB_VERSION=''$(DEB_VERSION)'' DEB_REVISION=''$(DEB_REVISION)'' UP_VERSION=''$(UP_VERSION)'' DEB_BUILD_ARCH=''$(DEB_BUILD_ARCH)''" + dh_testdir + dh_testroot + dh_installdocs + dh_installchangelogs + dh_installman + dh_python + dh_strip + dh_compress + dh_makeshlibs -V ''libxen3.0 (>= $(UP_VERSION))'' + dh_shlibdeps -l$(CURDIR)/debian/install/usr/lib -Llibxen3.0 ; \ + dh_fixperms + dh_md5sums + dh_installdeb + dh_gencontrol + dh_builddeb + +# Build architecture independant packages using the common target. +binary-indep: build-indep install-indep + $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common + +# Build architecture dependant packages using the common target. +binary-arch: build-arch install-arch + $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch configure + Property changes on: trunk/xen-3.0/debian/rules ___________________________________________________________________ Name: svn:executable + * Added: trunk/xen-3.0/debian/xen-docs.install ==================================================================--- trunk/xen-3.0/debian/xen-docs.install 2006-02-28 09:35:25 UTC (rev 63) +++ trunk/xen-3.0/debian/xen-docs.install 2006-02-28 23:56:31 UTC (rev 64) @@ -0,0 +1 @@ +usr/share/doc/xen Added: trunk/xen-3.0/debian/xen-hypervisor-3.0-i386-pae.install ==================================================================--- trunk/xen-3.0/debian/xen-hypervisor-3.0-i386-pae.install 2006-02-28 09:35:25 UTC (rev 63) +++ trunk/xen-3.0/debian/xen-hypervisor-3.0-i386-pae.install 2006-02-28 23:56:31 UTC (rev 64) @@ -0,0 +1,3 @@ +boot/xen_pae-syms* +boot/xen_pae-* +boot/xen_pae.gz Added: trunk/xen-3.0/debian/xen-hypervisor-3.0.install ==================================================================--- trunk/xen-3.0/debian/xen-hypervisor-3.0.install 2006-02-28 09:35:25 UTC (rev 63) +++ trunk/xen-3.0/debian/xen-hypervisor-3.0.install 2006-02-28 23:56:31 UTC (rev 64) @@ -0,0 +1,3 @@ +boot/xen-syms* +boot/xen-* +boot/xen.gz Added: trunk/xen-3.0/debian/xen-utils-3.0.install ==================================================================--- trunk/xen-3.0/debian/xen-utils-3.0.install 2006-02-28 09:35:25 UTC (rev 63) +++ trunk/xen-3.0/debian/xen-utils-3.0.install 2006-02-28 23:56:31 UTC (rev 64) @@ -0,0 +1,5 @@ +usr/bin +usr/sbin +usr/share/xen/qemu/keymaps +usr/share/doc/xen/examples +etc Added: trunk/xen-3.0/debian/xen-utils-3.0.manpages ==================================================================--- trunk/xen-3.0/debian/xen-utils-3.0.manpages 2006-02-28 09:35:25 UTC (rev 63) +++ trunk/xen-3.0/debian/xen-utils-3.0.manpages 2006-02-28 23:56:31 UTC (rev 64) @@ -0,0 +1,7 @@ +debian/install/usr/share/man/man1/xm.1 +debian/install/usr/share/man/man1/xentop.1 +debian/install/usr/share/man/man1/xentrace_format.1 +debian/install/usr/share/man/man5/xmdomain.cfg.5 +debian/install/usr/share/man/man5/xend-config.sxp.5 +debian/install/usr/share/man/man8/xentrace.8 + Added: trunk/xen-3.0/debian/xen-utils-3.0.postinst ==================================================================--- trunk/xen-3.0/debian/xen-utils-3.0.postinst 2006-02-28 09:35:25 UTC (rev 63) +++ trunk/xen-3.0/debian/xen-utils-3.0.postinst 2006-02-28 23:56:31 UTC (rev 64) @@ -0,0 +1,25 @@ +#!/bin/sh +set -e + +mkdir -p /var/lib/xenstored /var/run/xenstored /var/lib/xen/save /var/lock/subsys + +if [ -x /usr/sbin/invoke-rc.d ]; then + invoke() { + script=$1 + shift + invoke-rc.d $script "$@" + } +else + invoke() { + script=$1 + shift + /etc/init.d/$script "$@" + } +fi + +update-rc.d xend start 20 2 3 4 5 . stop 21 0 1 6 . +invoke xend start +update-rc.d xendomains start 21 2 3 4 5 . stop 20 0 1 6 . +invoke xendomains start + +#DEBHELPER# Added: trunk/xen-3.0/debian/xen-utils-3.0.postrm ==================================================================--- trunk/xen-3.0/debian/xen-utils-3.0.postrm 2006-02-28 09:35:25 UTC (rev 63) +++ trunk/xen-3.0/debian/xen-utils-3.0.postrm 2006-02-28 23:56:31 UTC (rev 64) @@ -0,0 +1,8 @@ +#!/bin/sh +set -e +if [ "$1" = purge ]; then + update-rc.d xend remove + update-rc.d xendomains remove +fi + +#DEBHELPER# Added: trunk/xen-3.0/debian/xen-utils-3.0.prerm ==================================================================--- trunk/xen-3.0/debian/xen-utils-3.0.prerm 2006-02-28 09:35:25 UTC (rev 63) +++ trunk/xen-3.0/debian/xen-utils-3.0.prerm 2006-02-28 23:56:31 UTC (rev 64) @@ -0,0 +1,20 @@ +#!/bin/sh +set -e +if [ -x /usr/sbin/invoke-rc.d ]; then + invoke() { + script=$1 + shift + invoke-rc.d $script "$@" + } +else + invoke() { + script=$1 + shift + /etc/init.d/$script "$@" + } +fi + +invoke xendomains stop +invoke xend stop + +#DEBHELPER#