[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] Xen build - Debian vs Redhat layout patch options
Hi Stefano I was encouraged by Bruce to forward my patches upstream to make Xen sources buildable from debian makefile debian/rules and for debian based target systems. I tried to make my 3 of 4 (5) patches to xen40-testing.hg as non intrusive as possible - backport-StdGNU.mk.diff (from xen-devel, already here) - debian-sysconfig-default.diff (conditional Makefile expansion) - tools-blktap2-libs.patch (from debian Xen-4.0 sources) - debian-python-2.6.diff (conditional Makefile expansion) - debian-stubdom.Makefile.diff (conditional Makefile expansion) Config.mk gets patched with the line: DEBIANBASE ?= \ $(shell test ! -d /etc/sysconfig && test -d /etc/default && echo y || echo n) ... and three other patches depend on it. tools-blktap2-libs.patch is non conditional but it seems quite reasonable (only moves FLAGS definitions closer to the sources requiring them) and comes from a respected source. If these are applied Xen sources build without errors from superior debian build makefile "debian/rules", bringing updating Xen through debian package management. See for example of debian packager: http://virtualusr.wordpress.com/2011/01/03/xen-4-0-packager-for-ubuntu/ Original 4.0.1 source builds on Ubuntu Lenny 10.04 with make dist and produces similar result as pached 4.0.1 source builds with make dist DEBIANBASE=n Patched source runs with make dist DEBIANBASE=y same as with simple make dist and builds debian-based version without errors. I hope you will find this useful and apply it upstream. Best regards PS: I find the last xend.patch useful here if init.d/xend is run before xenfs kernel module is loaded. Mount attempt autoloads the module. Otherwise mount is never attempted. Is it ok to load xenfs module so late in the boot process? If so, the last patch might also be interesting for upload, right? On Mon, Jul 12, 2010 at 4:08 AM, Bruce Edge <bruce.edge@xxxxxxxxx> wrote: FYI - Attachment:
backport-StdGNU.mk.diff Attachment:
debian-sysconfig-default.diff Attachment:
tools-blktap2-libs.patch Attachment:
debian-python-2.6.diff Attachment:
debian-stubdom.Makefile.diff Attachment:
xend.patch _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |