Skip to content

Commit

Permalink
example: use kernel version from depsolve
Browse files Browse the repository at this point in the history
Use the kernel version from the depsolve.

Note: this assumes a `.os` package set to exist.

Signed-off-by: Simon de Vlieger <supakeen@redhat.com>
  • Loading branch information
supakeen committed Sep 23, 2024
1 parent 09f5d99 commit 88b0d09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/centos/fragment/grub2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ options:
uefi:
vendor: centos
unified: true
saved_entry: ffffffffffffffffffffffffffffffff-0-0.noarch
saved_entry: ffffffffffffffffffffffffffffffff-${packages.os.const.versions.kernel.version}-${packages.os.const.versions.kernel.release}.${packages.os.const.versions.kernel.arch}
write_cmdline: false
config:
default: saved

0 comments on commit 88b0d09

Please sign in to comment.