Allow to build just linux-libc-dev

Bug #603087 reported by Marcin Juszkiewicz
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Fix Released
Andy Whitcroft

Bug Description

To bootstrap cross compiler kernel headers are needed. Those can be built with "DEB_HOST_ARCH=armel fakeroot debian/rules install-arch-headers" and then copy from debian/tmp/ to target destination but it is not nice way imho.

This patch adds "DEB_STAGE=headers" variable which skips building kernel (which is impossible due to lack of cross compiler) so only packages with headers will get built.

Tags: patch
Revision history for this message
Marcin Juszkiewicz (hrw) wrote :
Revision history for this message
Andy Whitcroft (apw) wrote :

As discussed on IRC, this seem ok in principle for the cross-compile use case. I think that flavours should not need zapping, will work with the author to clean this up.

Changed in linux (Ubuntu):
assignee: nobody → Andy Whitcroft (apw)
importance: Undecided → Critical
assignee: Andy Whitcroft (apw) → nobody
importance: Critical → Wishlist
status: New → In Progress
assignee: nobody → Andy Whitcroft (apw)
assignee: Andy Whitcroft (apw) → Marcin Juszkiewicz (hrw)
Revision history for this message
Marcin Juszkiewicz (hrw) wrote :

After discussion with Andy I rewrote code. DEB_STAGE=stage1 allows to build linux-libc-dev package without going to kernel build.

Revision history for this message
Marcin Juszkiewicz (hrw) wrote :

This patch applies on top of maverick kernel tree with "git am".

Andy Whitcroft (apw)
Changed in linux (Ubuntu):
assignee: Marcin Juszkiewicz (hrw) → Andy Whitcroft (apw)
Changed in linux (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux - 2.6.35-14.20

linux (2.6.35-14.20) maverick; urgency=low

  [ Andy Whitcroft ]

  * update Vcs-Git to point to maverick repo
  * debian -- include the debian packaging in the -source package
    - LP: #608674
  * select debian source format 1.0
  * add support for building selected stages of kernel
    - LP: #603087
  * cleanup conditional dependancy handling
    - LP: #603087

  [ Upstream Kernel Changes ]

  * ALSA: hda - Handle missing NID 0x1b on ALC259 codec
    - LP: #582199, #586418, #588031
  * ALSA: hda - Handle pin NID 0x1a on ALC259/269
    - LP: #582199, #586418, #588031
  * sched: Revert nohz_ratelimit() for now
 -- Leann Ogasawara <email address hidden> Tue, 03 Aug 2010 08:46:47 -0700

Changed in linux (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

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