Fix the cc-GPU initrd path - #1
Open
pezhang wants to merge 1 commit into
Open
Conversation
Signed-off-by: Pei Zhang <pezhang@redhat.com>
pezhang
force-pushed
the
fix_cc_gpu_initrd_path
branch
from
April 2, 2026 03:44
614f888 to
3e677e1
Compare
beraldoleal
reviewed
Apr 2, 2026
| EXTENSIONS_PATH = "/usr/share/rpm-ostree/extensions" | ||
| INITRD_GLOB = "osbuilder-images/*/kata-cc.initrd" | ||
| GPU_INITRD_GLOB = "osbuilder-images/*/kata-*gpu*.initrd" | ||
| GPU_INITRD_GLOB = "osbuilder-images/*/kata-cc-*gpu*.initrd" |
Contributor
There was a problem hiding this comment.
@pezhang thanks for the PR number 1 !! :)
I'm just curious why the previous line didn't catch your initrd. Do you see how the line you are removing is broader?
Author
There was a problem hiding this comment.
Hello @beraldoleal , in the below codes from https://github.com/confidential-devhub/veritas/blob/main/src/veritas/platforms/baremetal.py, seems the artifacts["gpu_initrd"] has only read the 1st item.
# Detect GPU initrd
gpu_initrd_candidates = list(extract_path.rglob(self.GPU_INITRD_GLOB))
if gpu_initrd_candidates:
artifacts["gpu_initrd"] = gpu_initrd_candidates[0]
log.info("Found GPU initrd: %s", artifacts["gpu_initrd"])
So we only get 1 GPU initrd without this PR:
INFO: Found GPU initrd: /tmp/tmpbgui7v60/usr/share/kata-containers/osbuilder-images/6.12.0-124.21.1.el10_1.x86_64/kata-nvidia-gpu-580.105.08.initrd
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.
This PR fix the path of the cc-GPU initrd path.
TDX testing:
SNP testing: