From 2c2e1a7f381faa2b07fe132bca4cb485ca670468 Mon Sep 17 00:00:00 2001 From: Paul Whalen Date: Sep 26 2022 15:29:15 +0000 Subject: Move disk image creation to osbuild. Signed-off-by: Paul Whalen --- diff --git a/fedora-iot.conf b/fedora-iot.conf index ad08c4d..33d19e4 100644 --- a/fedora-iot.conf +++ b/fedora-iot.conf @@ -210,21 +210,20 @@ global_version = '38' # live_images ignores this in favor of live_target global_target = 'f38' -image_build = { - '^IoT$': [ - { - 'image-build': { - 'format': [('raw-xz','raw.xz')], - 'name': 'Fedora-IoT', - 'kickstart': 'fedora-iot.ks', - 'distro': 'Fedora-30', - 'disk_size': 4, - 'arches': ['aarch64', 'x86_64'], - 'install_tree_from': "https://kojipkgs.fedoraproject.org/compose/rawhide/latest-Fedora-Rawhide/compose/Everything/$arch/os/", - 'subvariant': 'IoT', - } - } - ], +osbuild = { + "^IoT$": [ + { + "name": "%s-disk-image" % release_name, + "version": "!OSTREE_VERSION_FROM_LABEL_DATE_TYPE_RESPIN", + "distro": "fedora-38", + "image_types": ["iot-raw-image"], + "target": "fedora-iot-%s" % release_version, + "arches": ["x86_64", "aarch64"], + "ostree_url": "https://kojipkgs.fedoraproject.org/compose/iot/repo/", + "ostree_ref": "fedora/rawhide/$arch/iot", + "subvariant": "IoT", + }, + ], } ostree = [