Merge lp:~paride/utah/packaging-fixes into lp:utah

Proposed by Paride Legovini
Status: Merged
Approved by: Joshua Powers
Approved revision: no longer in the source branch.
Merged at revision: 1137
Proposed branch: lp:~paride/utah/packaging-fixes
Merge into: lp:utah
Diff against target: 71 lines (+34/-0)
3 files modified
debian/changelog (+6/-0)
utah/isotest/data/file_list_di_s390x (+22/-0)
utah/isotest/iso_static_validation.py (+6/-0)
To merge this branch: bzr merge lp:~paride/utah/packaging-fixes
Reviewer Review Type Date Requested Status
Canonical CI Engineering Pending
Review via email: mp+365107@code.launchpad.net

Commit message

* ISO static validation support for s390x
* Use the date in the provisional Debian version string

To post a comment you must log in.
lp:~paride/utah/packaging-fixes updated
1137. By Joshua Powers

* ISO static validation support for s390x
* d/changelog provisional version string: date --utc '+%Y%m%d%H%M'

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2019-03-25 14:48:50 +0000
3+++ debian/changelog 2019-03-26 14:10:01 +0000
4@@ -1,3 +1,9 @@
5+utah (0.19~bzr201903261308) UNRELEASED; urgency=medium
6+ * ISO static validation support for s390x
7+ * d/changelog provisional version string: date --utc '+%Y%m%d%H%M'
8+
9+ -- Paride Legovini <paride.legovini@canonical.com> Tue, 26 Mar 2019 14:09:09 +0100
10+
11 utah (0.19~bzr1143) UNRELEASED; urgency=medium
12 * Look for the kernel in boot/kernel.ubuntu on s390x
13 * Add an XML file for s390x
14
15=== added file 'utah/isotest/data/file_list_di_s390x'
16--- utah/isotest/data/file_list_di_s390x 1970-01-01 00:00:00 +0000
17+++ utah/isotest/data/file_list_di_s390x 2019-03-26 14:10:01 +0000
18@@ -0,0 +1,22 @@
19+.disk
20+README.diskdefines
21+boot
22+boot/initrd.off
23+boot/initrd.siz
24+boot/initrd.ubuntu
25+boot/kernel.ubuntu
26+boot/parmfile.ubuntu
27+boot/ubuntu.exec
28+boot/ubuntu.ins
29+dists
30+doc
31+install
32+install/filesystem.manifest
33+install/filesystem.size
34+install/filesystem.squashfs
35+install/filesystem.squashfs.gpg
36+md5sum.txt
37+pics
38+pool
39+preseed
40+ubuntu
41
42=== modified file 'utah/isotest/iso_static_validation.py'
43--- utah/isotest/iso_static_validation.py 2018-12-18 20:45:28 +0000
44+++ utah/isotest/iso_static_validation.py 2019-03-26 14:10:01 +0000
45@@ -357,6 +357,7 @@
46 Two list of files are used:
47 file_list_di for i386 and amd64
48 file_list_di_powerpc for powerpc and amd64+mac
49+ file_list_di_s390x for s390x
50
51 """
52 (stdout, stderr) = self.iso.listfiles()
53@@ -365,6 +366,8 @@
54
55 if self.st_arch in ['powerpc', 'ppc64el', 'amd64+mac']:
56 files_list = open(os.path.join(DATA_PATH, 'file_list_di_powerpc'))
57+ elif self.st_arch == 's390x':
58+ files_list = open(os.path.join(DATA_PATH, 'file_list_di_s390x'))
59 else: # i386 or amd64
60 files_list = open(os.path.join(DATA_PATH, 'file_list_di'))
61
62@@ -406,6 +409,9 @@
63 if 'trusty' in host_release:
64 kernel_string = 'x86 boot sector'
65
66+ if st_arch == 's390x':
67+ kernel_string = 'Linux S390'
68+
69 cmd = ['file', vmlinuz_path]
70 output = subprocess.Popen(cmd, stdout=subprocess.PIPE,
71 stderr=subprocess.PIPE)

Subscribers

People subscribed via source and target branches