Package: linux-2.6 Severity: wishlist I've added three featuresets (mipl and web100) to a standard Debianized Linux kernel source. Two of them include patches and configuration option, and the last one (web100-mipl) is a combination of both (only metadata and includes in defines). Now, as I want to use the image with both patchsets enabled with tools which depend on on feature or the other, I had to add new "Provides" to the featureset's defines (in debian/config/featureset-web100-mipl/defines) as follow. [image] (...) provides: linux-image-2.6-web100, linux-image-2.6-mipl configs: featureset-mipl/config featureset-web100/config This way the combined featureset is properly used as a dependency for binary packages needing one feature or the other. As the patches modify some headers files, some of these packages also depends on these specific headers in order to be built. Unfortunately, there doesn't seem to be a way to add "Provides" to source and headers packages the same way one can add them to the image. I was expecting someting like the following to work. [source] provides: linux-source-2.6-web100, linux-source-2.6-mipl [headers] provides: linux-headers-2.6-web100, linux-headers-2.6-mipl It is not the case, and the generated control/debian does not add these "Provides" entries for the referred packages. I see in gencontrol.py there is a specific handling of the [image] section, but I also see that the headers have a specific code to handle additional dependencies, maybe this could be extended and/or generalized to manipulate the rest of the packages' metadata. -- System Information: Debian Release: 5.0.4 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.26-2-web100-mipl-686 (SMP w/1 CPU core) Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash
Attachment:
pgpJUBseUCP8b.pgp
Description: Cryptographic signature