Ubuntu Pastebin

Paste from sergiusens at Wed, 17 Jun 2015 21:23:31 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
=== modified file 'lib/cdimage/build.py'
--- lib/cdimage/build.py	2015-04-22 15:00:07 +0000
+++ lib/cdimage/build.py	2015-06-17 21:23:12 +0000
@@ -508,10 +508,11 @@
                         shutil.copy2(
                             custom, "%s.custom.tar.gz" % output_prefix)
                 if config.project in ("ubuntu-core", "ubuntu-desktop-next"):
-                    device = "%s.device.tar.gz" % live_prefix
-                    if os.path.exists(device):
-                        shutil.copy2(
-                            device, "%s.device.tar.gz" % output_prefix)
+                    for dev in ("azure.device", "device"):
+                        device = "%s.%s.tar.gz" % (live_prefix, dev)
+                        if os.path.exists(device):
+                            shutil.copy2(
+                                device, "%s.%s.tar.gz" % (output_prefix, dev))
 
 
 def _debootstrap_script(config):
Download as text