Merge lp:~oddbloke/charms/trusty/ubuntu-repository-cache/fix-full-disk-formatting into lp:charms/trusty/ubuntu-repository-cache

Proposed by Dan Watkins
Status: Merged
Merged at revision: 199
Proposed branch: lp:~oddbloke/charms/trusty/ubuntu-repository-cache/fix-full-disk-formatting
Merge into: lp:charms/trusty/ubuntu-repository-cache
Diff against target: 12 lines (+1/-1)
1 file modified
lib/ubuntu_repository_cache/storage.py (+1/-1)
To merge this branch: bzr merge lp:~oddbloke/charms/trusty/ubuntu-repository-cache/fix-full-disk-formatting
Reviewer Review Type Date Requested Status
José Antonio Rey (community) Approve
Review via email: mp+267011@code.launchpad.net
To post a comment you must log in.
Revision history for this message
José Antonio Rey (jose) wrote :

Hey Daniel,

Thanks for the fix! Tested and no errors found.

+1 LGTM!

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'lib/ubuntu_repository_cache/storage.py'
2--- lib/ubuntu_repository_cache/storage.py 2015-08-03 14:01:58 +0000
3+++ lib/ubuntu_repository_cache/storage.py 2015-08-05 11:22:21 +0000
4@@ -142,7 +142,7 @@
5 mountpoint = '/'.join((ephemeral_dir, str(devno)))
6
7 Storage.zap_disk(dev)
8- subprocess.check_call(['mkfs', '-t', 'ext4', '-L', label, dev])
9+ subprocess.check_call(['mkfs', '-F', '-t', 'ext4', '-L', label, dev])
10
11 # Remove any existing fstab entry
12 ftab = fstab.Fstab()

Subscribers

People subscribed via source and target branches

to all changes: