Skip to content

Add script to extract boot assets during container build <JIRA:OSPRH-27413>#379

Open
mumesan wants to merge 1 commit intoopenstack-k8s-operators:mainfrom
mumesan:OSPRH-27413
Open

Add script to extract boot assets during container build <JIRA:OSPRH-27413>#379
mumesan wants to merge 1 commit intoopenstack-k8s-operators:mainfrom
mumesan:OSPRH-27413

Conversation

@mumesan
Copy link
Copy Markdown

@mumesan mumesan commented Apr 1, 2026

Description:
Adds extract-boot-assets.sh script which uses dnf download and rpm2cpio to download and extract boot assets from ipxe-bootimgs, grub2-efi-x64 and shim packages.
These assets are then moved to /usr/share/ironic-operator/var-lib-ironic which will be used by the pxe-init.sh script in ironic-operator.

Jira Link: OSPRH-27413

@openshift-ci openshift-ci bot requested review from brjackma and dprince April 1, 2026 14:45
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci bot commented Apr 1, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: mumesan
Once this PR has been reviewed and has the lgtm label, please assign seanmooney for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@softwarefactory-project-zuul
Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/764ed1f81ee54380a64566bdde91b54e

tcib-openstack-meta-content-provider-master FAILURE in 31m 38s
⚠️ tcib-crc-podified-edpm-baremetal-master SKIPPED Skipped due to failed job tcib-openstack-meta-content-provider-master
⚠️ tcib-podified-multinode-edpm-deployment-crc-master SKIPPED Skipped due to failed job tcib-openstack-meta-content-provider-master


# Download boot asset packages (without installing)
# For x86_64 architecture only
dnf download ipxe-bootimgs grub2-efi-x64 shim
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just to be safe and explicit the shim package should be referred to as shim-x64

Copy link
Copy Markdown
Contributor

@steveb steveb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@softwarefactory-project-zuul
Copy link
Copy Markdown

Build failed (check pipeline). Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.

https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/009a31d454e54df5b22ade73f48f9f71

✔️ tcib-openstack-meta-content-provider-master SUCCESS in 2h 27m 24s
tcib-crc-podified-edpm-baremetal-master RETRY_LIMIT in 28m 14s
✔️ tcib-podified-multinode-edpm-deployment-crc-master SUCCESS in 1h 40m 00s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants