Merge lp:~vanvugt/ubuntu/oneiric/bcmwl/fix-776165 into lp:ubuntu/natty/bcmwl

Proposed by Daniel van Vugt
Status: Merged
Merge reported by: Kees Cook
Merged at revision: not available
Proposed branch: lp:~vanvugt/ubuntu/oneiric/bcmwl/fix-776165
Merge into: lp:ubuntu/natty/bcmwl
Diff against target: 30 lines (+4/-6)
1 file modified
debian/bcmwl-kernel-source.postinst (+4/-6)
To merge this branch: bzr merge lp:~vanvugt/ubuntu/oneiric/bcmwl/fix-776165
Reviewer Review Type Date Requested Status
Kees Cook Approve
Review via email: mp+63191@code.launchpad.net

Commit message

Always update /etc/modprobe.d/blacklist-bcm43.conf during upgrades (LP: #776165)

Description of the change

Always update /etc/modprobe.d/blacklist-bcm43.conf during upgrades (LP: #776165)

Don't skip updating /etc/modprobe.d/blacklist-bcm43.conf if it already exists (especially when upgrading the bcmwl-kernel-source package).

That would prevent you from getting the latest fixes to /etc/modprobe.d/blacklist-bcm43.conf like bug 747002.

To post a comment you must log in.
Revision history for this message
Kees Cook (kees) wrote :

This has been uplaoded to -proposed as part of the fix for bug 747002.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'debian/bcmwl-kernel-source.postinst'
--- debian/bcmwl-kernel-source.postinst 2011-04-18 12:14:43 +0000
+++ debian/bcmwl-kernel-source.postinst 2011-06-02 05:20:59 +0000
@@ -35,8 +35,7 @@
35 /usr/lib/dkms/common.postinst $PACKAGE_NAME $CVERSION /usr/share/$PACKAGE_NAME $ARCH $235 /usr/lib/dkms/common.postinst $PACKAGE_NAME $CVERSION /usr/share/$PACKAGE_NAME $ARCH $2
36 36
37 # Create a blacklist file37 # Create a blacklist file
38 if [ ! -f $BLACKLIST_FILE ]; then38 cat > $BLACKLIST_FILE <<EOF
39 cat > $BLACKLIST_FILE <<EOF
40# Warning: This file is autogenerated by $PACKAGE_NAME. All changes to this file will be lost.39# Warning: This file is autogenerated by $PACKAGE_NAME. All changes to this file will be lost.
41blacklist b4340blacklist b43
42blacklist b43legacy41blacklist b43legacy
@@ -44,13 +43,12 @@
44blacklist bcm43xx43blacklist bcm43xx
45blacklist brcm8021144blacklist brcm80211
46EOF45EOF
47 # If b44 is loaded, append these additional lines46 # If b44 is loaded, append these additional lines
48 if lsmod | grep b44 > /dev/null; then47 if lsmod | grep b44 > /dev/null; then
49 cat >> $BLACKLIST_FILE <<EOF48 cat >> $BLACKLIST_FILE <<EOF
50blacklist b4449blacklist b44
51install wl modprobe -r b43 b44 b43legacy ssb; modprobe --ignore-install wl $CMDLINE_OPTS; modprobe --ignore-install b4450install wl modprobe -r b43 b44 b43legacy ssb; modprobe --ignore-install wl $CMDLINE_OPTS; modprobe --ignore-install b44
52EOF51EOF
53 fi
54 fi52 fi
55 53
56 # Update initramfs54 # Update initramfs

Subscribers

People subscribed via source and target branches