On Thu, 2010-09-23 at 08:31 +0400, Cyril Lacoux wrote: > Le jeudi 23 septembre 2010 03:25:28, vous avez écrit : > > > In version 2.6.32-22 of linux-2.6 we added the driver brcm80211, > > which covers the same hardware as broadcom-sta but is not yet as > > stable. > > > > You may wish to include a modprobe configuration file to blacklist > > brcm80211, so that users who prefer to use broadcom-sta can reliably > > do so. > > Ok, I will add that, thanks for the tip. > > Since you are member of kernel team let me ask you something related to > blacklisting : > I recently changed the way that b4* and ssb are blacklisted using blacklist > instead of modprobe -r, but some users now complain that this is not working > because they forgot to rebuild the initrd file (See #545388, #565812 and > #591869). > So the question is : can I safely rebuild initrd file in postinst ?
Yes.
> Some thing like that should do the trick, shouldn't it ?
> if [ -x /usr/sbin/update-initramfs ]; then
> update-initramfs -u
> fi
This is what we do in firmware packages where the firmware may need to
be copied into the initramfs:
if [ -x /usr/sbin/update-initramfs -a -e /etc/initramfs-tools/initramfs.conf ]
; then
update-initramfs -u
fi
Ben.
--
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.
signature.asc
Description: This is a digitally signed message part

