ostree-installer: Use dvd-ostree as type in metadata
This depends on python-productmd >= 1.3 that understands this format. Fixes: #417 Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
2bd18b1b03
commit
dd814a5f4d
@ -108,7 +108,7 @@ class OstreeInstallerThread(WorkerThread):
|
||||
img.mtime = util.get_mtime(full_iso_path)
|
||||
img.size = util.get_file_size(full_iso_path)
|
||||
img.arch = arch
|
||||
img.type = "boot"
|
||||
img.type = "dvd-ostree"
|
||||
img.format = "iso"
|
||||
img.disc_number = 1
|
||||
img.disc_count = 1
|
||||
|
@ -61,7 +61,7 @@ class OstreeThreadTest(helpers.PungiTestCase):
|
||||
self.assertEqual(image.mtime, 13579)
|
||||
self.assertEqual(image.size, 1024)
|
||||
self.assertEqual(image.arch, 'x86_64')
|
||||
self.assertEqual(image.type, "boot")
|
||||
self.assertEqual(image.type, "dvd-ostree")
|
||||
self.assertEqual(image.format, "iso")
|
||||
self.assertEqual(image.disc_number, 1)
|
||||
self.assertEqual(image.disc_count, 1)
|
||||
|
Loading…
Reference in New Issue
Block a user