Add s390x iso booting support to network installer types (HMS-9967)#2261
Draft
bcl wants to merge 9 commits intoosbuild:mainfrom
Draft
Add s390x iso booting support to network installer types (HMS-9967)#2261bcl wants to merge 9 commits intoosbuild:mainfrom
bcl wants to merge 9 commits intoosbuild:mainfrom
Conversation
NewMkS390ImageStage is used to create the cdboot.img needed to boot from an iso on s390x systems. It requires that the kernel, initrd, and cdboot.prm files are present in the tree. Includes a test. Related: HMS-10110
NewCreateaddrsizeState is used to create the initrd.addrsize file which is needed to boot from an iso on s390x systems. It requires the initrd.img be present in the tree. Includes a test. Related: HMS-10110
This will be used to select s390 specific options to boot the iso. This does not use grub2 or UEFI. Related: HMS-10110
Related: HMS-10110
These files are used by the s390x bootloader stages. Related: HMS-10110
This adds NewS390Bootloader() which copies the required files from 'iso/s390x/' to the iso tree, sets up the bootloader arguments, creates the cdboot.img file used by xorrisofs when creating the iso. Related: HMS-10110
This uses the syslinux settings for xorrisofs, but skips the -boot-image-table option. Related: HMS-10110
This adds NoBootInfo to the Boot struct which will keep the xorrisofs stage from adding -boot-info-table and --grub2-boot-info to the command. These need to be skipped for non-syslinux/grub2 bootloaders (eg. s390x) so that the boot image isn't modified. It is only included when true, resulting in no checksum changes for existing image types. Related: HMS-10110
This adds support for s390x network installer iso creation to fedora, rhel-10, and rhel-9 Resolves: HMS-10110
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SSIA
Needs osbuild/osbuild#2390 to be released first.