Created by Lars Kellogg-Stedman on 2018-12-06 and last modified on 2018-12-06
Get this branch:
bzr branch lp:~larsks/cloud-utils/cloud-utils
Only Lars Kellogg-Stedman can upload to this branch. If you are Lars Kellogg-Stedman please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Lars Kellogg-Stedman

Recent revisions

339. By Lars Kellogg-Stedman on 2018-12-06

correct sed expression for modifying partition size

The existing sed expression would erroneously change the start sector of a
partition, rather than the size, if the start sector and size were identical.
This commit modifies the sed expression so that it will only operate on the
final match in the line.

338. By Kevin Locke on 2018-10-19

growpart: Resolve symbolic links before operating.

Disks can be referred to via symlink aliases, such as the ones in
/dev/disk/by-id and /dev/disk/by-path. These alias paths can have
different partition naming behavior than the un-aliased path. For
example, both of the above aliases add -partX to the name for partition
X, rather than just X. Previously this would cause growpart to fail
with the error:

  failed to get start and end for ${dpart} in ${DISK}

Because the awk expression would not match the partition path. This
commit fixes the error by resolving symlink device paths before use.

337. By Scott Moser on 2018-10-18

mount-image-callback: fix mostly harmless typo in variable name.

This typo actually had no real negative side effect because at the
point of use, UMOUNTS had no entries. So:
is the same as the corrected version

if UMOUNTS was an empty array at the time (which it was).

336. By Scott Moser on 2018-10-18

mount-image-callback: fix typo meaning we never timed out waiting for a disk.

simple typo 'i=$(($i+1)):' instead of i=$(($i+1))
meant that we'd never actually take the fail path.

335. By Scott Moser on 2018-09-06

debian/tests/control: Set dependencies correctly.

334. By Scott Moser on 2018-09-06

Sync debian/tests directory with what is in cosmic.

333. By Scott Moser on 2018-09-06

update debian/changelog for all of 0.31

332. By Scott Moser on 2018-09-06

update ChangeLog

331. By Scott Moser on 2018-09-06

growpart: fix bug when resizing a middle partition with sgdisk.

Added a test and made growpart output consistent between sgdisk
and sfdisk resizers.
Thanks to Fred De Backer.

330. By Scott Moser on 2018-09-06

test/test-mic: fix typo

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.