Merge lp:~paelzer/cloud-utils/bug-1587188-fix-partx-failing-without-nr into lp:cloud-utils

Proposed by Christian Ehrhardt 
Status: Merged
Merge reported by: Scott Moser
Merged at revision: not available
Proposed branch: lp:~paelzer/cloud-utils/bug-1587188-fix-partx-failing-without-nr
Merge into: lp:cloud-utils
Diff against target: 12 lines (+1/-1)
1 file modified
bin/growpart (+1/-1)
To merge this branch: bzr merge lp:~paelzer/cloud-utils/bug-1587188-fix-partx-failing-without-nr
Reviewer Review Type Date Requested Status
Registry Administrators Pending
Review via email: mp+296186@code.launchpad.net

Commit message

fix issue with recent partx requiring --nr to specify the partition

Description of the change

fix issue with recent partx requiring --nr to specify the partition

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'bin/growpart'
2--- bin/growpart 2016-05-11 13:31:22 +0000
3+++ bin/growpart 2016-06-01 10:42:35 +0000
4@@ -624,7 +624,7 @@
5 fi
6 # partx only works on block devices (do not run on file)
7 [ -b "$dev" ] || return 0
8- partx --update "$part" "$dev"
9+ partx --update --nr "$part" "$dev"
10 }
11
12 has_cmd() {

Subscribers

People subscribed via source and target branches