Kernel 2.6.29 make-kpkg issue

Mihai Tanasescu mihai at duras.ro
Mon Apr 6 23:20:58 UTC 2009


Hi  all,


Has anyone successfully generated a .deb package for the 2.6.29 kernel ?

I'm trying to build one on my current Ubuntu 8.10 and I'm getting this:

/usr/src/linux-2.6.29.1# make-kpkg --initrd --revision=386 --subarch 386 
kernel_image kernel_headers modules_image

exec debian/rules  DEBIAN_REVISION=386  KPKG_SUBARCH=386  INITRD=YES  
kernel_image kernel_headers modules_image
[: 1: 2: unexpected operator
[: 1: 2: unexpected operator
[: 1: 3: unexpected operator
[: 1: 2: unexpected operator
[: 1: 2: unexpected operator
[: 1: 2: unexpected operator
[: 1: 2: unexpected operator
[: 1: 2: unexpected operator
[: 1: 2: unexpected operator
[: 1: 2: unexpected operator
[: 1: 2: unexpected operator
[: 1: 2: unexpected operator
[: 1: 2: unexpected operator
[: 1: 2: unexpected operator
[: 1: 2: unexpected operator

====== making target CONFIG-common [new prereqs: testdir]======

====== making target CONFIG-common [new prereqs: stamp-conf]======
This is kernel package version 11.001-0.1.
====== making stamp-arch-conf because of  ======

====== making target CONFIG-arch [new prereqs: stamp-arch-conf]======
====== making target conf.vars [new prereqs: Makefile .config]======

Makefile:529: /usr/src/linux-2.6.29.1/arch/xen/Makefile: No such file or 
directory
make[1]: *** No rule to make target 
`/usr/src/linux-2.6.29.1/arch/xen/Makefile'.  Stop.
make: *** [conf.vars] Error 2

The Xen part seems the most troubling.

Did anyone else run into this and has a potential solve ?

(Removing Xen does the job..but I would like to also have support for it)

P.S. Making the kernel by hand with make bzImage also doesn't give any 
errors.


Thanks,
Mihai




More information about the ubuntu-users mailing list