Manoj Srivastava wrote:
> On Tue, Dec 09 2008, Stefan Goebel wrote:
>> I'm trying to build a custom Xen (DomU for now) kernel using the Debian
>> sources (i.e. linux-source-2.6.26 (2.6.26-11) with Debian's Xen patches
>> from linux-patch-debian-2.6.26 (2.6.26-11)) and kernel-package (11.015),
>> on an i386 system running Lenny.
>> Applying the Xen patches with "../kernel-patches/all/2.6.26/apply/debian
>> -a i386 -f xen" works, running "make-kpkg --revision='1.0'
>> --append-to-version='-foo' kernel_image" does not work, apparently
>> make-kpkg tries to run "make bzImage" on the kernel sources and there is
>> "Nothing to be done for 'bzImage'". A "make deb-pkg" on the sources
>> works, however, I would prefer make-kpkg. Any hints?
> Try rm -rf ./debian; and then run make-kpkg again.
No luck, I already tried it dozens of times with different options,
always from a clean source tree (i.e. freshly untarred and then patched,
so there is no debian/ directory). The problem seems to be that once Xen
is enabled the bzImage target doesn't work (and neither does zImage when
using the --zimage option), but this target is called by make-kpkg. I
also tried using the --arch=xen option (it was mentioned on the Xen
mailing list IIRC), but this results in some "unary operator expected"
messages, similar to those in bug #446879 (which is closed). I tried
setting --arch and --subarch to different values, IIRC this solved some
problems with Xen kernels some time ago. Well, it doesn't anymore
Manoj, should I file a bug report for this or is there something else I
can try first?
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact email@example.com