Merge lp:~ubuntu-branches/ubuntu/precise/b43-fwcutter/precise-201405131653 into lp:ubuntu/precise/b43-fwcutter

Proposed by Ubuntu Package Importer
Status: Needs review
Proposed branch: lp:~ubuntu-branches/ubuntu/precise/b43-fwcutter/precise-201405131653
Merge into: lp:ubuntu/precise/b43-fwcutter
Diff against target: 238 lines (+137/-0) (has conflicts)
4 files modified
debian/changelog (+18/-0)
debian/firmware-b43-installer.postinst (+29/-0)
debian/firmware-b43-lpphy-installer.postinst (+56/-0)
debian/firmware-b43legacy-installer.postinst (+34/-0)
Text conflict in debian/changelog
Text conflict in debian/firmware-b43-installer.postinst
Text conflict in debian/firmware-b43-lpphy-installer.postinst
Text conflict in debian/firmware-b43legacy-installer.postinst
To merge this branch: bzr merge lp:~ubuntu-branches/ubuntu/precise/b43-fwcutter/precise-201405131653
Reviewer Review Type Date Requested Status
Ubuntu branches Pending
Review via email: mp+219412@code.launchpad.net

Description of the change

The package importer has detected a possible inconsistency between the package history in the archive and the history in bzr. As the archive is authoritative the importer has made lp:ubuntu/precise/b43-fwcutter reflect what is in the archive and the old bzr branch has been pushed to lp:~ubuntu-branches/ubuntu/precise/b43-fwcutter/precise-201405131653. This merge proposal was created so that an Ubuntu developer can review the situations and perform a merge/upload if necessary. There are three typical cases where this can happen.
  1. Where someone pushes a change to bzr and someone else uploads the package without that change. This is the reason that this check is done by the importer. If this appears to be the case then a merge/upload should be done if the changes that were in bzr are still desirable.
  2. The importer incorrectly detected the above situation when someone made a change in bzr and then uploaded it.
  3. The importer incorrectly detected the above situation when someone just uploaded a package and didn't touch bzr.

If this case doesn't appear to be the first situation then set the status of the merge proposal to "Rejected" and help avoid the problem in future by filing a bug at https://bugs.launchpad.net/udd linking to this merge proposal.

(this is an automatically generated message)

To post a comment you must log in.

Unmerged revisions

14. By Fabrizio Regalli

* Fixed unversioned-copyright-format-url lintian message
* Fixed firmware-b43-lpphy-installer posinst script (Closes: #644816)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2011-11-26 17:04:23 +0000
3+++ debian/changelog 2014-05-13 17:25:16 +0000
4@@ -1,3 +1,4 @@
5+<<<<<<< TREE
6 b43-fwcutter (1:015-9) unstable; urgency=low
7
8 * Install firmware-b43legacy unconditionally when installed in chroot
9@@ -62,6 +63,23 @@
10
11 -- Fabrizio Regalli <fabreg@fabreg.it> Mon, 26 Sep 2011 12:06:56 +0200
12
13+=======
14+b43-fwcutter (1:015-3) unstable; urgency=low
15+
16+ * Fixed unversioned-copyright-format-url lintian message
17+ * Fixed firmware-b43-lpphy-installer posinst script (Closes: #644816)
18+
19+ -- Fabrizio Regalli <fabreg@fabreg.it> Sun, 09 Oct 2011 14:48:19 +0200
20+
21+b43-fwcutter (1:015-2) unstable; urgency=low
22+
23+ * Fixed lintian comma-separated-files-in-dep5-copyright message
24+ * Added check for chroot environment (Closes: #586605)
25+ * Added DM-Upload-Allowed field.
26+
27+ -- Fabrizio Regalli <fabreg@fabreg.it> Mon, 26 Sep 2011 12:06:56 +0200
28+
29+>>>>>>> MERGE-SOURCE
30 b43-fwcutter (1:015-1) unstable; urgency=low
31
32 * New upstream version
33
34=== modified file 'debian/firmware-b43-installer.postinst'
35--- debian/firmware-b43-installer.postinst 2011-11-26 17:04:23 +0000
36+++ debian/firmware-b43-installer.postinst 2014-05-13 17:25:16 +0000
37@@ -2,8 +2,11 @@
38
39 set -e
40
41+<<<<<<< TREE
42 tmp=`mktemp -q -d`
43
44+=======
45+>>>>>>> MERGE-SOURCE
46 latest_firmware ()
47 {
48 cd $tmp
49@@ -40,6 +43,7 @@
50 rm -rf $tmp
51 }
52
53+<<<<<<< TREE
54 # check environment
55 if [ "$(stat -c %d/%i /)" != "$(stat -Lc %d/%i /proc/1/root 2>/dev/null)" ];
56 then
57@@ -62,6 +66,30 @@
58 fi
59
60
61+=======
62+# check environment
63+if [ "$(stat -c %d/%i /)" != "$(stat -Lc %d/%i /proc/1/root 2>/dev/null)" ];
64+ then
65+ echo "A chroot environment has been detected."
66+ echo "Remember this firmware needs kernel >= 2.6.25."
67+ latest_firmware
68+ exit 0
69+ else
70+ echo "No chroot environment found. Starting normal installation"
71+fi
72+
73+
74+
75+
76+# check kernel version
77+if dpkg --compare-versions 2.6.25 gt `uname -r | cut -d- -f1`; then
78+ echo "Kernel too old. This firmware needs >= 2.6.25!."
79+ echo "Aborting!"
80+ exit 0
81+fi
82+
83+
84+>>>>>>> MERGE-SOURCE
85 # Fix for BCM4306/3 [14e4:4320] (rev 03)
86 chip=`lspci -n | grep -o "14e4:4320 (rev 03)"` || true
87 if [ "$chip" ] ; then
88@@ -124,3 +152,4 @@
89 fi
90
91 #DEBHELPER#
92+
93
94=== modified file 'debian/firmware-b43-lpphy-installer.postinst'
95--- debian/firmware-b43-lpphy-installer.postinst 2011-11-26 17:04:23 +0000
96+++ debian/firmware-b43-lpphy-installer.postinst 2014-05-13 17:25:16 +0000
97@@ -2,10 +2,15 @@
98
99 set -e
100
101+<<<<<<< TREE
102 tmp=`mktemp -q -d`
103
104 latest_firmware ()
105 {
106+=======
107+latest_firmware ()
108+{
109+>>>>>>> MERGE-SOURCE
110 cd $tmp
111 export FIRMWARE_INSTALL_DIR="/lib/firmware"
112
113@@ -37,6 +42,7 @@
114 tar xvjf broadcom-wl-4.178.10.4.tar.bz2
115 cd broadcom-wl-4.178.10.4/linux
116 b43-fwcutter -w "$FIRMWARE_INSTALL_DIR" wl_apsta.o
117+<<<<<<< TREE
118 rm -rf $tmp
119 }
120
121@@ -82,5 +88,55 @@
122 fi
123
124 latest_firmware
125+=======
126+cd $tmp
127+rm -rf broadcom-wl-4.178.10.4.tar.bz2 broadcom-wl-4.178.10.4
128+}
129+
130+
131+# check environment
132+if [ "$(stat -c %d/%i /)" != "$(stat -Lc %d/%i /proc/1/root 2>/dev/null)" ];
133+ then
134+ echo "A chroot environment has been detected."
135+ echo "Remember this firmware needs kernel >= 2.6.25."
136+ latest_firmware
137+ exit 0
138+ else
139+ echo "No chroot environment found. Starting normal installation"
140+fi
141+
142+
143+# check kernel version
144+if dpkg --compare-versions 2.6.32 gt `uname -r | cut -d- -f1`; then
145+ echo "Kernel too old. This firmware needs >= 2.6.32!."
146+ echo "Aborting!"
147+ exit 0
148+fi
149+
150+# check chip
151+supported=0
152+pci=`lspci -n | grep -o "14e4:[1234567890abcdef]\+"` || true
153+
154+if [ -n "$pci" ]; then
155+ for device in $pci; do
156+ device_id=`echo $device | cut -d: -f2`
157+ if [ $device_id = 4315 ]; then
158+ supported=1
159+ break
160+ fi
161+ done
162+fi
163+
164+if [ "$supported" = 0 ]; then
165+ echo "No supported card found."
166+ echo "Use proper b43 or b43legacy firmware."
167+ echo "Aborting."
168+ exit 0
169+fi
170+
171+latest_firmware
172+
173+tmp=`mktemp -q -d`
174+>>>>>>> MERGE-SOURCE
175
176 #DEBHELPER#
177
178=== modified file 'debian/firmware-b43legacy-installer.postinst'
179--- debian/firmware-b43legacy-installer.postinst 2011-11-26 17:04:23 +0000
180+++ debian/firmware-b43legacy-installer.postinst 2014-05-13 17:25:16 +0000
181@@ -2,10 +2,15 @@
182
183 set -e
184
185+<<<<<<< TREE
186 tmp=`mktemp -q -d`
187
188 latest_firmware ()
189 {
190+=======
191+latest_firmware ()
192+{
193+>>>>>>> MERGE-SOURCE
194 cd $tmp
195 export FIRMWARE_INSTALL_DIR="/lib/firmware"
196
197@@ -35,6 +40,7 @@
198 fi
199 fi
200 b43-fwcutter -w "$FIRMWARE_INSTALL_DIR" wl_apsta-3.130.20.0.o
201+<<<<<<< TREE
202 rm -rf $tmp
203 }
204
205@@ -71,5 +77,33 @@
206 fi
207
208 latest_firmware
209+=======
210+rm wl_apsta-3.130.20.0.o
211+}
212+
213+
214+# check chip
215+supported=0
216+pci=`lspci -n | grep -o "14e4:[1234567890abcdef]\+"` || true
217+
218+if [ -n "$pci" ]; then
219+ for device in $pci; do
220+ device_id=`echo $device | cut -d: -f2`
221+ if [ $device_id = 4301 ] || [ $device_id = 4306 ] || [ $device_id = 4320 ] || [ $device_id = 4324] ; then
222+ supported=1
223+ break
224+ fi
225+ done
226+fi
227+
228+if [ "$supported" = 0 ]; then
229+ echo "No supported card found."
230+ echo "Use b43 firmware. This is just for the b43legacy driver."
231+ echo "Aborting."
232+ exit 0
233+fi
234+
235+tmp=`mktemp -q -d`
236+>>>>>>> MERGE-SOURCE
237
238 #DEBHELPER#

Subscribers

People subscribed via source and target branches

to all changes: