Skip to content

fix(templates): update kernel version metadata from 6.14 to 6.17#494

Merged
arodage merged 1 commit intomainfrom
fix/kernel-version-metadata
Mar 27, 2026
Merged

fix(templates): update kernel version metadata from 6.14 to 6.17#494
arodage merged 1 commit intomainfrom
fix/kernel-version-metadata

Conversation

@arodage
Copy link
Copy Markdown
Contributor

@arodage arodage commented Mar 26, 2026

Merge Checklist

All boxes should be checked before merging the PR

  • The changes in the PR have been built and tested
  • Documentation has been updated to reflect the changes (or no doc update needed)
  • Ready to merge

Description

The kernel.version field in Ubuntu templates was showing 6.14 but linux-image-generic-hwe-24.04 now resolves to kernel 6.17 in the Ubuntu repos. Updated all Ubuntu user templates and default configs to reflect the actual installed kernel version.

Context: Feedback from the Robotics team — the .yml config had kernel version 6.14 but the installed image had 6.17.

After investigation:

  • kernel.version is metadata only - it does not control which kernel gets installed
  • The actual kernel is determined by kernel.packages (i.e., linux-image-generic-hwe-24.04), which is a Ubuntu HWE meta-package that resolves to the latest HWE kernel in the repos (currently 6.17)
  • In the code (internal/chroot/chrootenv.go), there is a TODO to implement version-based kernel lookup, but both code paths simply use the packages list as-is
  • No other distro in our default configs uses the kernel.version field

Updated version: "6.14"version: "6.17" in:

User templates (7):

  • image-templates/ubuntu24-x86_64-robotics-jazzy-raw.yml
  • image-templates/robotics-demo-ubuntu24-x86_64.yml
  • image-templates/ubuntu24-x86_64-ros2.yml
  • image-templates/ubuntu24-x86_64-minimal-raw.yml
  • image-templates/ubuntu24-aarch64-minimal-raw.yml
  • image-templates/ubuntu24-x86_64-minimal-desktop-raw.yml
  • image-templates/ubuntu24-x86_64-edge-raw.yml

Default configs (3):

  • config/osv/ubuntu/ubuntu24/imageconfigs/defaultconfigs/default-raw-x86_64.yml
  • config/osv/ubuntu/ubuntu24/imageconfigs/defaultconfigs/default-raw-aarch64.yml
  • config/osv/ubuntu/ubuntu24/imageconfigs/defaultconfigs/default-initrd-x86_64.yml

No doc update needed - this is a metadata-only fix to align documentation with reality.

Any Newly Introduced Dependencies

None.

How Has This Been Tested?

  • Confirmed via SBOM manifest that linux-image-generic-hwe-24.04 resolves to 6.17.0-19.19~24.04.2

  • YAML syntax validated - change is a string replacement only ("6.14""6.17"), no functional impact

The kernel.version field in Ubuntu templates was showing 6.14 but
linux-image-generic-hwe-24.04 now resolves to kernel 6.17 in the
Ubuntu repos. Updated all Ubuntu user templates and default configs
to reflect the actual installed kernel version.

Note: kernel.version is metadata only — the actual kernel installed
is determined by the packages list, not the version string.
Copilot AI review requested due to automatic review settings March 26, 2026 23:10
@arodage arodage requested a review from a team as a code owner March 26, 2026 23:10
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates Ubuntu 24.04 template/default-config systemConfig.kernel.version metadata to reflect the currently resolved kernel version from the linux-image-generic-hwe-24.04 meta-package, aligning template metadata with what the built images actually install.

Changes:

  • Bumped systemConfig.kernel.version from "6.14" to "6.17" across the affected Ubuntu 24 user templates.
  • Bumped systemConfig.kernel.version from "6.14" to "6.17" across the affected Ubuntu 24 default config templates.

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated no comments.

Show a summary per file
File Description
image-templates/ubuntu24-x86_64-ros2.yml Updates kernel version metadata to 6.17 for the ROS2 Ubuntu 24 raw template.
image-templates/ubuntu24-x86_64-robotics-jazzy-raw.yml Updates kernel version metadata to 6.17 for the robotics Jazzy raw template.
image-templates/ubuntu24-x86_64-minimal-raw.yml Updates kernel version metadata to 6.17 for the minimal raw template.
image-templates/ubuntu24-x86_64-minimal-desktop-raw.yml Updates kernel version metadata to 6.17 for the minimal desktop raw template.
image-templates/ubuntu24-x86_64-edge-raw.yml Updates kernel version metadata to 6.17 for the edge raw template.
image-templates/ubuntu24-aarch64-minimal-raw.yml Updates kernel version metadata to 6.17 for the aarch64 minimal raw template.
image-templates/robotics-demo-ubuntu24-x86_64.yml Updates kernel version metadata to 6.17 for the robotics demo template.
config/osv/ubuntu/ubuntu24/imageconfigs/defaultconfigs/default-raw-x86_64.yml Updates default raw x86_64 kernel version metadata to 6.17.
config/osv/ubuntu/ubuntu24/imageconfigs/defaultconfigs/default-raw-aarch64.yml Updates default raw aarch64 kernel version metadata to 6.17.
config/osv/ubuntu/ubuntu24/imageconfigs/defaultconfigs/default-initrd-x86_64.yml Updates default initrd x86_64 kernel version metadata to 6.17.

@arodage arodage merged commit 0259d52 into main Mar 27, 2026
37 checks passed
@arodage arodage deleted the fix/kernel-version-metadata branch March 27, 2026 15:54
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.

3 participants