On Mon, 2009-05-04 at 00:25 +0100, Ben Hutchings wrote: > On Mon, 2009-05-04 at 00:35 +0200, Giuseppe Iuculano wrote: > > Ben Hutchings ha scritto: > > > > > flavours of the current default kernel version. Until then, I think the > > > recommendation should be: > > > > > > linux-headers-2.6-686 [i386] | linux-headers-2.6-amd64 [amd64] | > > > linux-headers > > > > > > and in Ubuntu: > > > > > > linux-headers-generic [i386, amd64] | linux-headers > > > > > > which should DTRT for the majority of users. > > > > What about to use: > > > > linux-headers-2.6-686 [i386] | linux-headers-2.6-amd64 [amd64] \ > > | linux-headers-generic [i386, amd64] | linux-headers > > > > This will reduce delta between Ubuntu and Debian. > > Yes, I suppose that's harmless.
I'm sorry, but my suggestion doesn't actually work. The recommendations
are filtered by dpkg-gencontrol, even for "Architecture: all" packages,
based on the nominal target architecture (the build host's
architecture). I think the best thing to do may be to remove all the
architecture qualifications:
linux-headers-2.6-686 | linux-headers-2.6-amd64 | linux-headers-generic |
linux-headers
One last thing: the postinst does:
update-rc.d -f dkms_autoinstaller remove >/dev/null 2>&1
If this command fails then installation will fail. In that case the
user needs to see its error messages, so they must not be sent to
/dev/null. If there's some reason why update-rc.d may fail and this
should not be fatal then add "|| true" to the command; otherwise remove
the "2>&1".
Ben.
--
Ben Hutchings
No political challenge can be met by shopping. - George Monbiot
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Pkg-dkms-maint mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/pkg-dkms-maint
