This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-users] RE: Build linux-image.deb via make-kpkg for xen

To: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Subject: Re: [Xen-users] RE: Build linux-image.deb via make-kpkg for xenified aka Suse
From: Richie <listmail@xxxxxxxxxxxx>
Date: Tue, 26 Oct 2010 08:51:08 -0400
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 26 Oct 2010 05:52:01 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <945458.24516.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <945458.24516.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100915 Thunderbird/3.0.8
On 10/26/2010 05:02 AM, Boris Derzhavets wrote:
> I could be wrong here but I think this is a matter of xen itself did not
> always support bzImage kernel boot until sometime later in version 3.X
> and make-kpkg hasn't been updated to allow for it.

Yes, you are wrong.  It has nothing to do with Xen.
make-kpkg requires presence arch/x86/boot/bzImage to be built , otherwise
it fails.
Patch applies to arch/x86/Makefile in the way which build required bzImage,
not vmlinuz , as happens without it.

BTW . I guess  Xen support bzImage starting with 3.4.0


I think you meant I'm wrong about having to do with make-kpkg.  If Xen did not support bzImage until 3.4.0 then I think that had plenty to do with why the Makefile is patched the way it is.  make-kpkg is able to build vmlinuz or bzImage as you want with a vanilla kernel, so why not with a Xenified kernel?

With andrew's patch applied it appears that the else condition would still allow for also building the bzImage target but that fails even when passing the --bzimage switch to make-kpkg.  Either something is wrong with the Makefile or maybe there are some arch Xen specific build rules coming in to play.

Xen-users mailing list