Hello All, Has anyone built xen0 and xenU kernel RPMs from the xen.spec file? If so, how did you do it? I know that in the xen source code one can change the Makefile to read KERNELS ?= linux-2.6-xen0 linux-2.6-xenU which builds the two kernels. How do you do that if rebuilding with the source RPM? I''ve tried changing the Makefile and then running rpmbuild -bb --target i686 xen.spec, but I still only got the unified xen kernel. Any tips/pointers appreciated. Regards, Ranbir -- Kanwar Ranbir Sandhu Linux 2.6.17-1.2141_FC4 i686 GNU/Linux 22:30:13 up 23:44, 3 users, load average: 0.40, 0.38, 0.25 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
On Mon, Jul 24, 2006 at 10:34:47PM -0400, Kanwar Ranbir Sandhu wrote:> Hello All, > > Has anyone built xen0 and xenU kernel RPMs from the xen.spec file? If > so, how did you do it? I know that in the xen source code one can > change the Makefile to read > > KERNELS ?= linux-2.6-xen0 linux-2.6-xenU > > which builds the two kernels. How do you do that if rebuilding with the > source RPM? I''ve tried changing the Makefile and then running > rpmbuild -bb --target i686 xen.spec, but I still only got the unified > xen kernel. > > Any tips/pointers appreciated.I don''t have a xen.spec file here but I suspect there is a line like: make world You should be able to change that to: make KERNELS="linux-2.6-xen0 linux-2.6-xenU" world or similar to achieve the same as editing the Makefile. Yours Tony linux.conf.au http://linux.conf.au/ || http://lca2007.linux.org.au/ Jan 15-20 2007 The Australian Linux Technical Conference! _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Kanwar Ranbir Sandhu
2006-Jul-25 04:02 UTC
Re: [Xen-users] Build xen0 and xenU from xen.spec
On Tue, 2006-25-07 at 13:28 +1000, Tony Breeds wrote:> I don''t have a xen.spec file here but I suspect there is a line like: > make world > > You should be able to change that to: > make KERNELS="linux-2.6-xen0 linux-2.6-xenU" world > > or similar to achieve the same as editing the Makefile.I actually read through the spec file instead of wildly jumping around, and I think it''s been hard coded to only build the unified xen kernel - crud. I''ve attached the xen.spec here if you''re interested in looking at it. I''m going to try adding in build options for xen0/xenU kernels, though just going with the xen source is looking good at the moment. Thanks for your help. Regards, Ranbir -- Kanwar Ranbir Sandhu Linux 2.6.17-1.2141_FC4 i686 GNU/Linux 23:57:27 up 1 day, 1:11, 3 users, load average: 0.10, 0.11, 0.16 _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users