Merge lp:~powersj/ubuntu-cdimage/server-size-limit into lp:ubuntu-cdimage

Proposed by Joshua Powers
Status: Merged
Merged at revision: 1645
Proposed branch: lp:~powersj/ubuntu-cdimage/server-size-limit
Merge into: lp:ubuntu-cdimage
Diff against target: 12 lines (+2/-0)
1 file modified
lib/cdimage/tree.py (+2/-0)
To merge this branch: bzr merge lp:~powersj/ubuntu-cdimage/server-size-limit
Reviewer Review Type Date Requested Status
Steve Langasek Pending
Review via email: mp+317648@code.launchpad.net

Description of the change

Changing the ubuntu-server size limit from the default (700 MB CD) to 1GB.

To post a comment you must log in.
1644. By Joshua Powers

Narrow scope of ubuntu-server check to xenial release

In order to avoid increasing the the limit across all releases, past,
present, and future, will increase the limit on Xenial only. Xenial is
currently the only release that is across the board over the 700Mb limit
and all others still fall under that value. This will allow to continue
watching the development releases grow.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'lib/cdimage/tree.py'
2--- lib/cdimage/tree.py 2017-02-16 16:41:48 +0000
3+++ lib/cdimage/tree.py 2017-02-28 17:14:06 +0000
4@@ -1773,6 +1773,8 @@
5 # provisional;
6 # https://irclogs.ubuntu.com/2016/10/01/%23ubuntu-release.html#t19:06
7 return 1024 * 1024 * 1024
8+ elif self.project == "ubuntu-server" and self.config["DIST"] == "xenial":
9+ return 1024 * 1024 * 1024
10 else:
11 if self.publish_type == "dvd":
12 # http://en.wikipedia.org/wiki/DVD_plus_RW

Subscribers

People subscribed via source and target branches