fix kernel-wedge to accept all modules as optional

Bug #570625 reported by Amit Kucheria on 2010-04-27
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kernel-wedge (Ubuntu)

Bug Description

Binary package hint: kernel-wedge

kernel-wedge requires that atleast one module is built-in. This is a drawback to make the d-i directory common across all archs/flavours in the kernel package.

The end goal is to have a common d-i directory with minimal changes across flavours.

Amit Kucheria (amitk) on 2010-04-27
Changed in kernel-wedge (Ubuntu):
importance: Undecided → Wishlist
milestone: none → later

I'm surprised that simply adding the ' ?' suffix doesn't deal with this.
Could you give me the error message that results from trying this?

Tim Gardner (timg-tpi) wrote :

I think the offending code is in commands/check:

#!/bin/sh -e
for pkg in $(dh_listpackages -s | grep -- '-di$'); do
 if [ -z "$(find debian/$pkg -type f)" ]; then
  echo "$pkg will be empty" >&2
if [ "$empty" ]; then
 exit 1

I think we can get by with just emitting a warning and not returning an error.

We would need to ensure that the udeb is omitted (rather than generated
but empty) and that any dependencies on it are filtered out. Or
something like that.

Colin Watson (cjwatson) on 2010-04-27
Changed in kernel-wedge (Ubuntu):
status: New → Triaged
assignee: nobody → Colin Watson (cjwatson)
Colin Watson (cjwatson) on 2014-12-18
Changed in kernel-wedge (Ubuntu):
assignee: Colin Watson (cjwatson) → nobody
milestone: later → none
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers