Ubuntu Pastebin

Paste from sergiusens at Wed, 17 Jun 2015 19:01:31 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
=== modified file 'lib/cdimage/livefs.py'
--- lib/cdimage/livefs.py	2015-06-01 08:55:38 +0000
+++ lib/cdimage/livefs.py	2015-06-17 19:01:23 +0000
@@ -957,6 +957,9 @@
         for arch in config.arches:
             download_live_items(config, arch, "device.tar.gz")
 
+    if config.project in ("ubuntu-core", ):
+            download_live_items(config, arch, "azure.device.tar.gz")
+
     if (project == "edubuntu" and config["CDIMAGE_INSTALL"] and
             series <= "hardy"):
         for cpuarch in config.cpuarches:

=== modified file 'lib/cdimage/tree.py'
--- lib/cdimage/tree.py	2015-06-02 21:59:46 +0000
+++ lib/cdimage/tree.py	2015-06-17 18:42:28 +0000
@@ -1917,6 +1917,12 @@
                 "%s.device.tar.gz" % source_prefix,
                 "%s.device.tar.gz" % target_prefix)
 
+        if os.path.exists("%s.azure.device.tar.gz" % source_prefix):
+            logger.info("Publishing %s azure device tarball ..." % arch)
+            shutil.move(
+                "%s.azure.device.tar.gz" % source_prefix,
+                "%s.azure.device.tar.gz" % target_prefix)
+
         # zsync metafiles
         if osextras.find_on_path("zsyncmake"):
             logger.info("Making %s zsync metafile ..." % arch)
Download as text