Merge lp:~jm-leddy/ubuntu/raring/lupin/fix-670096 into lp:ubuntu/raring/lupin

Proposed by James M. Leddy
Status: Merged
Merge reported by: Stéphane Graber
Merged at revision: not available
Proposed branch: lp:~jm-leddy/ubuntu/raring/lupin/fix-670096
Merge into: lp:ubuntu/raring/lupin
Diff against target: 44 lines (+13/-2)
3 files modified
casper/scripts/lupin-helpers (+1/-1)
debian/changelog (+11/-0)
debian/control (+1/-1)
To merge this branch: bzr merge lp:~jm-leddy/ubuntu/raring/lupin/fix-670096
Reviewer Review Type Date Requested Status
Steve Langasek Approve
Ubuntu branches Pending
Review via email: mp+162189@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Steve Langasek (vorlon) wrote :

FYI, looking at this change, I don't think that just dropping the 'return 1' gives the correct results; if the mount failed, we don't want to then be trying to unmount something at the same target mount point. I think the below is correct instead:

=== modified file 'casper/scripts/lupin-helpers'
--- casper/scripts/lupin-helpers 2009-10-26 12:10:05 +0000
+++ casper/scripts/lupin-helpers 2013-05-14 03:31:25 +0000
@@ -56,7 +56,7 @@
                         unmount=false
                     else
                         mountpoint="${default_mountpoint}"
- try_mount "$devname" "$mountpoint" "$mountoptions" || return 1
+ try_mount "$devname" "$mountpoint" "$mountoptions" || continue
                         unmount=true
                     fi
                     if [ -e "${mountpoint}${path}" ]; then

I've merged this now into the saucy branch and will upload. Thanks!

review: Approve
Revision history for this message
Sebastien Bacher (seb128) wrote :

@Steve: hum, your review is marked as "approve" but your comment suggests "needs fixing", does it mean "ok to upload with || continue"?

Revision history for this message
Steve Langasek (vorlon) wrote :

Seb, it means I've made the changes locally and uploaded to saucy. This mp is targeted at raring so should probably be cancelled out, but of course I have no access to do that for an Ubuntu Branches mp. :/

Revision history for this message
Sebastien Bacher (seb128) wrote :

ah, that makes sense, that acl issue is annoying :/ I'm pinging people who can change the status

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'casper/scripts/lupin-helpers'
2--- casper/scripts/lupin-helpers 2009-10-26 12:10:05 +0000
3+++ casper/scripts/lupin-helpers 2013-05-02 17:39:27 +0000
4@@ -56,7 +56,7 @@
5 unmount=false
6 else
7 mountpoint="${default_mountpoint}"
8- try_mount "$devname" "$mountpoint" "$mountoptions" || return 1
9+ try_mount "$devname" "$mountpoint" "$mountoptions"
10 unmount=true
11 fi
12 if [ -e "${mountpoint}${path}" ]; then
13
14=== modified file 'debian/changelog'
15--- debian/changelog 2012-10-04 17:20:11 +0000
16+++ debian/changelog 2013-05-02 17:39:27 +0000
17@@ -1,3 +1,14 @@
18+lupin (0.54) raring; urgency=low
19+
20+ * casper-premount/20iso-scan: Don't panice the system if try_mount
21+ function returns error when it encount a CD/DVD device does not
22+ have any meidum or a partition has a file system does not be
23+ supported by kernel. This should not panic the system because the
24+ target file could be in other devices. (LP: #670096)
25+ * debian/control: bump standards version.
26+
27+ -- James M Leddy <james.leddy@canonical.com> Mon, 01 Apr 2013 01:57:18 -0400
28+
29 lupin (0.53) quantal; urgency=low
30
31 * Only build lupin-support on architectures that also have grub-pc.
32
33=== modified file 'debian/control'
34--- debian/control 2012-10-04 17:20:11 +0000
35+++ debian/control 2013-05-02 17:39:27 +0000
36@@ -4,7 +4,7 @@
37 Maintainer: Agostino Russo <agostino.russo@gmail.com>
38 Uploaders: Colin Watson <cjwatson@ubuntu.com>
39 Build-Depends: debhelper (>= 7)
40-Standards-Version: 3.7.2
41+Standards-Version: 3.9.3
42 Vcs-Bzr: http://bazaar.launchpad.net/~ubuntu-installer/lupin/hardy
43
44 Package: lupin-casper

Subscribers

People subscribed via source and target branches