Skip to content
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

⚠️ Update ipxe version #533

Merged
merged 1 commit into from
Jul 30, 2024
Merged

Conversation

elfosardo
Copy link
Member

@elfosardo elfosardo commented Jul 25, 2024

This is a tentative to make ipxe more close to the current version
and include some improvements and bug fixes.
As a first step we build and install ipxe using a commit hash,
as no stable versions have been released since December 2020.

We point the ipxe commit hash to [1] from November 2021, so
roughly a year of changes is included.
To see the complete list of changes run:
git log --pretty=oneline 988d2c1..9062544
from a local clone of the ipxe repository.

In general the changes included between the stable 1.21.1
version and the current chosen hash improve compatibility
with recent gcc and build libraries, while fixing
numerous bugs.

This change also introduce a build arg to allow choosing
the ipxe commit hash at container build time.

[1] ipxe/ipxe@9062544

@metal3-io-bot metal3-io-bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Jul 25, 2024
@elfosardo
Copy link
Member Author

/test metal3-centos-e2e-integration-test-main metal3-ubuntu-e2e-integration-test-main

elfosardo pushed a commit to elfosardo/ironic-image that referenced this pull request Jul 26, 2024
Dockerfile Outdated
cd ipxe/src && \
RUN git clone https://github.com/ipxe/ipxe.git && \
cd ipxe && \
git reset --hard 9062544f6a0c69c249b90d21a08d05518aafc2ec && \
Copy link
Member

Choose a reason for hiding this comment

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

How did you pick this version? It does not seem to be the latest. Let's leave a comment on what this version corresponds to (date, reason of picking).

Also, maybe it's time we introduce an argument for the iPXE version so that the users can revert more easily (and we can test new versions easier)?

Copy link
Member Author

Choose a reason for hiding this comment

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

It's not the latest as unfortunately the latest does not work :/
Ideally I'm trying to take the update with small steps at a time, but I'll provide a better commit message with some of the most important changes.
Also good idea about the argument, I'll work on that too

This is a tentative to make ipxe more close to the current version
and include some improvements and bug fixes.
As a first step we build and install ipxe using a commit hash,
as no stable versions have been released since December 2020.

We point the ipxe commit hash to [1] from November 2021, so
roughly a year of changes is included.
To see the complete list of changes run:
`git log --pretty=oneline 988d2c1..9062544`
from a local clone of the ipxe repository.

In general the changes included between the stable 1.21.1
version and the current chosen hash improve compatibility
with recent gcc and build libraries, while fixing
numerous bugs.

This change also introduce a build arg to allow choosing
the ipxe commit hash at container build time.

[1] ipxe/ipxe@9062544

Signed-off-by: Riccardo Pittau <elfosardo@gmail.com>
@elfosardo elfosardo changed the title ⚠️ Update ipxe to a more recent version ⚠️ Update ipxe version Jul 29, 2024
@elfosardo
Copy link
Member Author

/test metal3-centos-e2e-integration-test-main metal3-ubuntu-e2e-integration-test-main

@dtantsur
Copy link
Member

/approve

@metal3-io-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dtantsur

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

The pull request process is described here

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

@metal3-io-bot metal3-io-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 29, 2024
@elfosardo
Copy link
Member Author

/test metal3-centos-e2e-integration-test-main metal3-ubuntu-e2e-integration-test-main

1 similar comment
@elfosardo
Copy link
Member Author

/test metal3-centos-e2e-integration-test-main metal3-ubuntu-e2e-integration-test-main

@iurygregory
Copy link
Member

/lgtm

@metal3-io-bot metal3-io-bot added the lgtm Indicates that a PR is ready to be merged. label Jul 30, 2024
@metal3-io-bot metal3-io-bot merged commit 81032e7 into metal3-io:main Jul 30, 2024
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants