~xubuntu-dev/ubuntu-cdimage/xubuntu-base

« back to all changes in this revision

Viewing changes to lib/cdimage/config.py

  • Committer: Sean Davis
  • Date: 2018-03-28 10:32:07 UTC
  • mfrom: (1559.1.156 ubuntu-cdimage)
  • Revision ID: smd.seandavis@gmail.com-20180328103207-o6s9d6h0hxxh8eqc
Merge lp:ubuntu-cdimage rev 1715

Show diffs side-by-side

added added

removed removed

Lines of Context:
178
178
    Series("saucy", "13.10", "Saucy Salamander"),
179
179
    Series(
180
180
        "trusty", "14.04", "Trusty Tahr",
181
 
        pointversion="14.04.3",
 
181
        pointversion="14.04.5",
182
182
        all_lts_projects=True),
183
183
    Series("utopic", "14.10", "Utopic Unicorn"),
184
184
    Series("vivid", "15.04", "Vivid Vervet"),
185
185
    Series("wily", "15.10", "Wily Werewolf"),
186
 
    Series("xenial", "16.04", "Xenial Xerus"),
 
186
    Series(
 
187
        "xenial", "16.04", "Xenial Xerus",
 
188
        pointversion="16.04.4",
 
189
        all_lts_projects=True),
 
190
    Series("yakkety", "16.10", "Yakkety Yak"),
 
191
    Series("zesty", "17.04", "Zesty Zapus"),
 
192
    Series("artful", "17.10", "Artful Aardvark"),
 
193
    Series(
 
194
        "bionic", "18.04", "Bionic Beaver",
 
195
        all_lts_projects=True),
187
196
 
188
197
    Series("14.09", "14.09", "RTM 14.09", distribution="ubuntu-rtm"),
189
198
    Series(
217
226
# TODO: This should probably come from a configuration file.
218
227
all_touch_targets.extend([
219
228
    Touch("mako", "armel", "armhf"),
220
 
    Touch("manta", "armel", "armhf"),
221
229
    Touch("generic", "armel", "armhf"),
222
230
    Touch("generic_x86", "i386", "i386"),
223
231
    Touch("flo", "armel", "armhf"),
248
256
    "UBUNTU_DEFAULTS_LOCALE",
249
257
    "SSH_ORIGINAL_COMMAND",
250
258
    "EXTRA_PPAS",
 
259
    "CHANNEL",
251
260
)
252
261
 
253
262
 
423
432
    def all_projects(self):
424
433
        return self["ALL_PROJECTS"].split()
425
434
 
 
435
    @property
 
436
    def core_series(self):
 
437
        if self["DIST"] >= "xenial" and self["DIST"] <= "artful":
 
438
            return '16'
 
439
        if self["DIST"] >= "bionic":
 
440
            return '16'
 
441
        return None
 
442
 
426
443
    def export(self):
427
444
        ret = dict(os.environ)
428
445
        for key, value in self.items():