#4 Move image creation to osbuild
Merged by pbrobinson. Opened by pwhalen.
Unknown source main

Download 4.patch

Move disk image creation to osbuild.

Signed-off-by: Paul Whalen pwhalen@fedoraproject.org

This should be IoT$ as above

Not sure this should be the same as image-build, this tells ImageFactory about things like UEFI vs BIOS

We'll also want to move the Installer artefacts over to osbuild

rebased onto ca9102a7f7440aa25047c05ced47decc3670cd81

This should be IoT$ as above

Thanks, wasn't too sure but based it on the rhel config. Updated.

Not sure this should be the same as image-build, this tells ImageFactory about things like UEFI vs BIOS

Agreed, I saw your recent PR and thought it wouldn't hurt. The rhel config uses 'rhel-90'

So this won't be a traditional repo, this will a ostree commit of some sort.

So if we look at the docs for RHEL for Edge we'll see some of what's expected from osbuild (see procedure):
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9-beta/html/composing_installing_and_managing_rhel_for_edge_images/composing-a-rhel-for-edge-image-using-image-builder-command-line_composing-installing-managing-rhel-for-edge-images

We'll probably need to provide:
--ref rhel/8/x86_64/edge --url URL-OSTree-repository

I suspect one of the defines will be:
image-type is edge-installer

rebased onto 573e2e56d5addb847cd478ff0be4c786dd53fa80

rebased onto 29a119c9dfd9b67d631caa9359320985f7ce83cf

Updated the PR to use ostree url and ref, the naming is based on the koji api and may need to be adjusted. Updated to reflect the upstream name of raw images 'edge-raw-image', this may also change when the Fedora equivalent is available.

Added the installer portion, the 'fedora-iot-installer' image type hasn't been merged yet so will depend on that happening first.

Does this need to be an array? osbuild-composer accepts just one string here.

rebased onto b3b7b2d2bdd4ceab4042f344f73c7732f8b167b0

@obudai updated with those changes and the new configuration options: ostree_url,
ostree_url from the pungi commit.

We renamed this to iot-raw-image.

As discussed on Tuesday, this is currently broken due to changed lorax templates.

rebased onto 0d041f2423446d7c551ca8dd0c1ba6fbd5a1c7ef

rebased onto f18d7964f714a883a79357ea1399550e1b453011

Removed the installer portion, changed to iot-raw-image.

the indenting needs some fixup by the look, other than that I think we're good to merge this.

rebased onto 2c2e1a7f381faa2b07fe132bca4cb485ca670468

Pull-Request has been merged by pbrobinson

Metadata