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: update image label with actual kernel version #156

Closed
bsherman opened this issue Mar 31, 2024 · 1 comment · Fixed by #171
Closed

feat: update image label with actual kernel version #156

bsherman opened this issue Mar 31, 2024 · 1 comment · Fixed by #171
Assignees

Comments

@bsherman
Copy link
Contributor

Since we use differing kernels from upstream, we should be properly setting the ostree.linux label on the image to reflect the actual kernel within the image.

Relates: ublue-os/hwe#220

@bsherman bsherman linked a pull request Apr 13, 2024 that will close this issue
@bsherman
Copy link
Contributor Author

As I have a PR which doesn't work, I'm adding a thought here to provide context:

I expect we can do this by running a "podman run/exec" in the "Get current version" step, and within that podman container environment, use dnf to query what kernel WOULD be installed given the build-args and env vars for the kernel flavor. Then echo that kernel version out ... eg

echo "SOURCE_IMAGE_LINUX=$linux" >> $GITHUB_ENV

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants