-
Notifications
You must be signed in to change notification settings - Fork 79
many: iso configuration and customization (HMS-9963) #2105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
0d86fe9 to
d28419a
Compare
lzap
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nicely done.
d28419a to
87feb3b
Compare
3200e9e to
5c255c7
Compare
5c255c7 to
7a9c562
Compare
|
Ok, this has now been rebased and is ready for review. |
achilleas-k
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I agree with this split, it makes sense to me.
Small issue with the preparer string though (which we can decide on and change later).
lzap
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well if some CDROM emulator code in iDRAC won't crunch this, well, we will find out I guess :-) Probably this is fine.
|
Sadly re-adding this to the queue won't make it pass, the check @achilleas-k added in 44d2f85 is pretty consistently failing on a bunch of image types showing that the configuration file is apparently not being copied. |
7a9c562 to
58bcb28
Compare
bcl
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks nice!
Require a newer version of osbuild so we can make use of additional added stage options. Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
Allow setting the newly added [1] additional fields for the xorrisofs stage in the osbuild stage. [1]: osbuild/osbuild#2269 Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
This includes support for setting the new ISO customizations. Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
Introduce a customizations struct for the ISO pipeline generator, consistent with how we manage customizations for the OS, and installer pipeline generators. Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
Add the ISO customizations to all installers and pass them along to the ISO pipeline generator. Note that these customizations are not yet filled in this is just the structural change. Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
Create a new configuration struct that determines options for ISO media. This follows the same idea as we use for `image_config` (which likely should be split out more) and `installer_config`. Also introduce the function that will in the future handle merging of the `iso_config` and any customization values and apply this function to each image that includes `ISOCustomizations`. Note that nothing here is really used yet still; this is only setup code to be able to use the `ISOCustomizations` in the next commits. Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
Move the ISO label out of the installer customizations and into the ISO customizations as it only applies to manifest pipelines that are packed into ISOs, not to all potential installers. Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
The root filesystem type for ISOs only applies to ISOs. Move it into the ISO customizations instead of installer. Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
The boot type for ISOs only applies to ISOs. Move it into the ISO customizations instead of installer. Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
Instead of passing separate fields into the xorrisofs stage option function pass all the customizations so they're more easily expanded. Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
Allow the configuration of additional metadata fields in the YAML for the ISO. Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
Override any customization fields with their blueprint values if they are set. Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
Fill in the preparer and publisher fields for Fedora ISOs by default. Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
58bcb28 to
4a3076f
Compare
This is a pretty mechanical PR right up until the last two or three commits.
InstallerCustomizationsandInstallerConfigby introducingISOCustomizationsandISOConfig. This unmuddies the waters a bit for options that apply only to installer(s) (really; mostly Anaconda) and the options that apply only to the assembling of the ISO artifact itself.After that it implements the new options for the xorrisofs stage, adds them to the Fedora installers and implements the overriding of these fields through blueprints. The last bit will be necessary to produce these ISOs in Koji as this field is (normally) controlled through Pungi.