Add script to extract boot assets during container build <JIRA:OSPRH-27413>#379
Add script to extract boot assets during container build <JIRA:OSPRH-27413>#379mumesan wants to merge 1 commit intoopenstack-k8s-operators:mainfrom
Conversation
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: mumesan The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/764ed1f81ee54380a64566bdde91b54e ❌ tcib-openstack-meta-content-provider-master FAILURE in 31m 38s |
|
|
||
| # Download boot asset packages (without installing) | ||
| # For x86_64 architecture only | ||
| dnf download ipxe-bootimgs grub2-efi-x64 shim |
There was a problem hiding this comment.
just to be safe and explicit the shim package should be referred to as shim-x64
steveb
left a comment
There was a problem hiding this comment.
The log for this script running looks good:
https://softwarefactory-project.io/zuul/t/rdoproject.org/build/65f444da7b8e41f3ad610e0be11e07ca/log/ci-framework-data/logs/6e3aece5-0f34-40fd-931d-eeed98513c22/base/os/ironic-base/ironic-pxe/ironic-pxe-build.log#398-502
Just one nit to address and I'd approve this
|
Build failed (check pipeline). Post https://softwarefactory-project.io/zuul/t/rdoproject.org/buildset/009a31d454e54df5b22ade73f48f9f71 ✔️ tcib-openstack-meta-content-provider-master SUCCESS in 2h 27m 24s |
Description:
Adds
extract-boot-assets.shscript 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-ironicwhich will be used by thepxe-init.shscript in ironic-operator.Jira Link: OSPRH-27413