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

feat(ci): fix linux version metadata and make builds more reliable #171

Merged
merged 18 commits into from
Apr 19, 2024

Conversation

bsherman
Copy link
Contributor

@bsherman bsherman commented Apr 15, 2024

This conditionally queries the upstream image or, in the case of custom kernels, the kernel which would be installed. The result of the query is the kernel version string which should be assigned to the ostree.linux image label.

In addition, this value is passed into the Containerfile build to make it clear which version of the given kernel should be installed.

Downstream consumers of akmods (nvidia, asus, surface, bazzite, etc) can read the label to determine the specific version they should be installing, too, plus to assign the same label to their respective images.

Fixes: #156

@bsherman bsherman changed the title Kernel version label build feat(ci): fix linux versio metadata and make builds more reliable Apr 15, 2024
@bsherman bsherman changed the title feat(ci): fix linux versio metadata and make builds more reliable feat(ci): fix linux version metadata and make builds more reliable Apr 15, 2024
@bsherman
Copy link
Contributor Author

Oops I merged the negativo17 nvidia changes into this...

Steps needed to get this ready:

  1. PR downstreams to use akmods-nvidia:39 (for example) rather than akmods-nvidia:39-550 since we no longer will be be publishing version specific nvidia images
  2. I need to revert some of negativo17 changes (actually, I plan to keep the nvidia version changes in workflow, just not the change of repo/install)
  3. a bit more testing

@bsherman bsherman marked this pull request as ready for review April 19, 2024 03:14
@bsherman bsherman requested a review from castrojo as a code owner April 19, 2024 03:14
@EyeCantCU EyeCantCU added this pull request to the merge queue Apr 19, 2024
@bsherman bsherman removed this pull request from the merge queue due to a manual request Apr 19, 2024
@bsherman bsherman added this pull request to the merge queue Apr 19, 2024
Merged via the queue into main with commit bf4037b Apr 19, 2024
22 checks passed
@bsherman bsherman deleted the kernel-version-label-build branch April 19, 2024 04:30
bsherman added a commit to ublue-os/bazzite that referenced this pull request Apr 19, 2024
This is required to be compatible with updates to akmods which drop the
nvidia version tag from `akmods-nvidia` images.

Relates: ublue-os/akmods#171
KyleGospo pushed a commit to ublue-os/bazzite that referenced this pull request Apr 19, 2024
This is required to be compatible with updates to akmods which drop the
nvidia version tag from `akmods-nvidia` images.

Relates: ublue-os/akmods#171
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.

feat: update image label with actual kernel version
3 participants