Skip to content

Fixing #15565, by adding provides and obsoletes#16314

Open
fede2cr wants to merge 1 commit intomicrosoft:3.0from
fede2cr:kernel-hwe
Open

Fixing #15565, by adding provides and obsoletes#16314
fede2cr wants to merge 1 commit intomicrosoft:3.0from
fede2cr:kernel-hwe

Conversation

@fede2cr
Copy link
Copy Markdown

@fede2cr fede2cr commented Mar 26, 2026

Merge Checklist
  • The toolchain has been rebuilt successfully (or no changes were made to it)
  • The toolchain/worker package manifests are up-to-date
  • Any updated packages successfully build (or no packages were changed)
  • Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
  • Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
  • All package sources are available
  • cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
  • LICENSE-MAP files are up-to-date (./LICENSES-AND-NOTICES/SPECS/data/licenses.json, ./LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md, ./LICENSES-AND-NOTICES/SPECS/LICENSE-EXCEPTIONS.PHOTON)
  • All source files have up-to-date hashes in the *.signatures.json files
  • sudo make go-tidy-all and sudo make go-test-coverage pass
  • Documentation has been updated to match any changes to the build system
  • Ready to merge

Notes:

  • This PR only updates SPECS/kernel-hwe-headers/kernel-hwe-headers.spec metadata (Provides/Obsoletes) and release.
  • No toolchain package content or source tarball/hash updates are introduced.
  • Package build + transaction behavior validated via containerized build/test workflow, and package installed in both arch VMs.
Summary

Fixes install conflicts when switching from kernel-headers to kernel-hwe-headers (issue #15565).
kernel-hwe-headers now behaves as a proper replacement provider for kernel-headers, allowing dependency resolution and file ownership transition without manual package removal workflows.

Change Log
  • Updated SPECS/kernel-hwe-headers/kernel-hwe-headers.spec
  • Bumped Release to 6
  • Added:
    • Provides: glibc-kernheaders = %{version}-%{release}
    • Provides: kernel-headers = %{version}-%{release}
    • Obsoletes: kernel-headers < %{version}-%{release}
  • Added changelog entry documenting replacement behavior
Does this affect the toolchain?

NO

Associated issues

@fede2cr fede2cr requested a review from a team as a code owner March 26, 2026 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.0 PRs Destined for 3.0 Packaging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant