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

chore: add proper kernel version to ostree.linux label #167

Closed
wants to merge 8 commits into from

Conversation

bsherman
Copy link
Contributor

@bsherman bsherman commented Apr 8, 2024

Working to acquire the actual kernel version for each image and set that as the ostree.linux label.

@bsherman bsherman linked an issue Apr 13, 2024 that may be closed by this pull request
# Get kernel version with podman
container_name="fq-$(uuidgen)"
podman run --entrypoint /bin/bash --name "$container_name" -dt "${{ env.FQ_SOURCE_IMAGE }}"
installed_packages=$(podman exec "$container_name" rpm -qa)
Copy link
Contributor Author

Choose a reason for hiding this comment

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

this is pretty much what I was expecting to do...

except, i think run podman exec "$container_name" rpm-ostree install dnf
and also to add the appropriate repo for asus, fsync or surface kernel flavors...
which then will allow podman exec "$container_name" dnf search kernel and you can get the "would be installed version" (in case of surface its' kernel-surface not kernel).

Signed-off-by: RJ Trujillo <eyecantcu@pm.me>
@bsherman
Copy link
Contributor Author

Closing in favor of #171

@bsherman bsherman closed this Apr 19, 2024
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
2 participants