make-kpkg --initrd debian [or] kernel_image does not work on 2.6.29

Bug #350361 reported by Tim Kornhammar
2
Affects Status Importance Assigned to Milestone
kernel-package (Ubuntu)
Invalid
Medium
Chase Douglas

Bug Description

Binary package hint: kernel-package

Distribution: Ubuntu Jaunty 9.04
Sources: linux-source-2.6.29 (git)

# Prepare
$ make-kpkg --initrd --rootcmd fakeroot -us -uc debian
$ echo > debian/official
$ dch

# Now it should only be to build ...
$ make-pkg
or whatever ...
$ debuild
$ pdebuild

# It produces a linux-image with a /boot/vmlinux-2.6.29 but no initrd.
./lib/modules/2.6.29/modules.order
./boot/
./boot/config-2.6.29
./boot/vmlinux-2.6.29
./boot/System.map-2.6.29
./usr/

# I try to build with this:
$ make-kpkg --initrd --rootcmd fakeroot -us -uc kernel_image

# Same result

I have tried to set do_initird = "yes" in debian/pkg/config and INITRD = "yes" in debian/rules but without success.

What variable is it that sets to build an initrd.img file and why does not make-kpkg work?

Revision history for this message
Linux Is Pure Pwnage (nospam5555) wrote :

Yeah I've noticed --initrd does nothing. I have initramfs support compiled in the kernel though. SO ANNOYING!

Revision history for this message
Andrew M (andrew-miniatureworldmaker) wrote :

I am having this issue with 2.6.31 as well.

Revision history for this message
Chase Douglas (chasedouglas) wrote :

The debian control scripts (specifically the postinst script) need to be pulled from the current kernel packages. Unfortunately it's not quite that easy as there needs to be some initrd version string fixups, but hopefully they wouldn't be too difficult. I'll be taking a closer look at this.

Changed in kernel-package (Ubuntu):
assignee: nobody → Chase Douglas (chasedouglas)
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Chase Douglas (chasedouglas) wrote :

I've added documentation for how to build ubuntu-like kernels at https://wiki.ubuntu.com/KernelTeam/GitKernelBuild. The issue is not a bug with kernel-package itself. Thus, I'm closing the bug as invalid.

Changed in kernel-package (Ubuntu):
status: Triaged → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.