Merge lp:~sergiusens/goget-ubuntu-touch/dual_wielding into lp:goget-ubuntu-touch

Proposed by Sergio Schvezov
Status: Superseded
Proposed branch: lp:~sergiusens/goget-ubuntu-touch/dual_wielding
Merge into: lp:goget-ubuntu-touch
Diff against target: 21 lines (+7/-4)
1 file modified
diskimage/image.go (+7/-4)
To merge this branch: bzr merge lp:~sergiusens/goget-ubuntu-touch/dual_wielding
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Approve
Ubuntu Phablet Team Pending
Review via email: mp+242955@code.launchpad.net

Commit message

ubuntu-device-flash: return the correct amount of system image parts

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)

Unmerged revisions

100. By Sergio Schvezov

ubuntu-device-flash: return the correct amount of system image parts

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'diskimage/image.go'
--- diskimage/image.go 2014-11-25 19:31:44 +0000
+++ diskimage/image.go 2014-11-26 18:21:18 +0000
@@ -139,10 +139,13 @@
139 return nil, errors.New("img not mounted")139 return nil, errors.New("img not mounted")
140 }140 }
141141
142 return []string{142 paths := []string{filepath.Join(img.Mountpoint, string(systemDataDir))}
143 filepath.Join(img.Mountpoint, string(systemDataDir)),143
144 filepath.Join(img.Mountpoint, string(systemDataDir2)),144 if len(img.parts) == 3 {
145 }, nil145 paths = append(paths, img.Mountpoint, string(systemDataDir2))
146 }
147
148 return paths, nil
146}149}
147150
148//Mount the DiskImage151//Mount the DiskImage

Subscribers

People subscribed via source and target branches