Author: ultrotter Date: 2006-02-20 18:38:40 +0000 (Mon, 20 Feb 2006) New Revision: 41 Modified: trunk/debian/rules Log: put the pae hypervisor in a temporary place, and then copy it other to debian/install at install time, thus going a bit more towards policy compliance... Modified: trunk/debian/rules ==================================================================--- trunk/debian/rules 2006-02-20 18:22:11 UTC (rev 40) +++ trunk/debian/rules 2006-02-20 18:38:40 UTC (rev 41) @@ -37,7 +37,7 @@ 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)/debian/install + $(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 @@ -68,6 +68,9 @@ 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