You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rpmautospec can't generate changelog entries for the kernel package
since its too complex. Until we can find a solution to this issue
we will maintain a manual changelog entry for each lock-fingerprint
change.
Copy file name to clipboardExpand all lines: base/comps/kernel/kernel.comp.toml
+77-1Lines changed: 77 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ without = [
14
14
15
15
[components.kernel.build.defines]
16
16
# RPM release number for the Azure Linux kernel package
17
-
azl_pkgrelease = "3"
17
+
azl_pkgrelease = "4"
18
18
# 4th version component from the AZL kernel source (6.18.31.1). Included in specrelease so it appears
19
19
# in the RPM Release tag, uname -r, and /lib/modules/ path (e.g. 6.18.31-1.1.azl4.aarch64).
20
20
kextraversion = "1"
@@ -164,3 +164,79 @@ lines = [
164
164
"cd ../..",
165
165
"%endif",
166
166
]
167
+
168
+
# Prepend AZL changelog entries to the top of %changelog. The kernel uses
169
+
# `release.calculation = "manual"` (no rpmautospec), so changelog entries are
170
+
# hand-curated here rather than derived from `git log`. Convention: one entry
171
+
# per lock-fingerprint change, mirroring what synthetic distgit / rpmautospec
172
+
# emit. When the lock fingerprint changes (edit to comp.toml, overlays, etc.),
173
+
# prepend a new entry here with the next release number.
174
+
#
175
+
# We intentionally do not use rpmautospec for changelog generation here since
176
+
# the kernel spec file is so complicated the tool struggles to parse it (it can
177
+
# take on the order of hours to run). Until we have a more robust solution for
178
+
# this a manual process will be used.
179
+
#
180
+
# NOTE: This changelog is best-effort, as upstream changes are integrated into
181
+
# the spec the logical ordering will deteriorate, the azl specific entries
182
+
# will always be at the top, resulting in a jumbled history.
183
+
[[components.kernel.overlays]]
184
+
description = "Prepend AZL changelog entries (one per lock-fingerprint change) above the inherited Fedora history. Release is manual, so rpmautospec does not generate these; convention mirrors synthetic distgit output."
185
+
type = "spec-prepend-lines"
186
+
section = "%changelog"
187
+
lines = [
188
+
"* Wed May 27 2026 Daniel McIlvaney <damcilva@microsoft.com> - 6.18.31-1.4",
0 commit comments