-
Notifications
You must be signed in to change notification settings - Fork 36
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
Conversation
685391e
to
82bfd6a
Compare
.github/workflows/reusable-build.yml
Outdated
# 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) |
There was a problem hiding this comment.
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>
82bfd6a
to
c49b93c
Compare
Signed-off-by: RJ Trujillo <eyecantcu@pm.me>
c49b93c
to
b2d55f4
Compare
Closing in favor of #171 |
Working to acquire the actual kernel version for each image and set that as the
ostree.linux
label.