Repository navigation
kernel-aurora 7.3.0-37: require update-m1n1 20261107-6, take back user4k=on on erase - #320
DjDeveloperr wants to merge 2 commits into
Conversation
…r4k=on kernel-aurora-core required update-m1n1 20261107 or later, which an update-m1n1 20261107-5 satisfies. That one counts a kernel without a dtb-abi marker as DT ABI generation 0, refuses the new kernel's trees, and kernel-install stops before the initramfs and the boot entry. The Neo's qualification of 7.3.0-36 hit it with a kernel-only upgrade. -6 counts such kernels as generation 1, so the core package now requires it (#319). aurora-userpages' %posttrans adds user4k=on to every boot entry when no user4k= is set, and nothing took it back on erase. %posttrans now records that it added the argument, and %postun removes it on a full erase only with that record, so an owner's own user4k= stays (#317). Systems that got it before the record existed keep it. Signed-off-by: Diljit Singh <hey@djdev.me>
Main took kernel-aurora Releases 37 through 41; this change moves to 42. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Merged current Tests:
So 🤖 Generated with Claude Code |
|
The %posttrans -n aurora-userpages scriptlet in kernel-aurora.spec still runs grubby --update-kernel=ALL --args=user4k=on; this PR only adds a record so %postun can take it back on erase. The feature should not need a kernel argument at all: the kernel now offers per-process 4K pages by default, and #417 removes the argument instead. Rebase on that approach (no --args, a one-time --remove-args for systems that got it) and keep the update-m1n1 >= 20261107-6 requirement, which is independent. Until then this should stay a draft. |
|
Blockers: 2. The user4k half is already covered above: it waits for #417's approach, with no
Suggestion: split the HW row: on the rebased head, a kernel-only Assisted-by: LLM (Claude:Opus 5.5) |
|
Merge readiness at
Areas: none matched in CODEOWNERS Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
There was a problem hiding this comment.
Verdict: REQUEST CHANGES at b1b090b1
Blockers:
- Branch is
CONFLICTINGwithmainand carries an obsoleteRelease:bump.packages/kernel-aurora/kernel-aurora.speconmainis already atRelease: 47%{?dist}.aurora, whereas this PR bumps41 -> 42and conflicts with currentmain. - Unresolved
user4k=onerase/upgrade semantics. As noted in the2026-11-21review comment, theaurora-userpages%posttrans/erase half needs to align with the#417approach (no--argsrewrite; one-time--remove-args), or be split from theRequires: update-m1n1 >= 20261107-6floor bump (whichmainstill has as>= 20261107).
Checked:
- Diff (
+57/-4, 2 files) against currentmainpackages/kernel-aurora/kernel-aurora.spec(Version: 7.3.0,Release: 47%{?dist}.aurora,Requires: update-m1n1 >= 20261107).
Evidence
mainpackages/kernel-aurora/kernel-aurora.spec:17isRelease: 47%{?dist}.aurora; line 46 is stillRequires: update-m1n1 >= 20261107.- Rebase onto
main(and split or update theuser4khandling) if still needed, or close if superseded.
Dismissed under the 12-01 merge bar: this review's blockers were not shown failures (CI/rows/rebase/design or re-run asks). Follow-ups, not blocking: Design ask not evaluated; follow-ups: rebase obsolete Release bump, align user4k erase with #417 or split
|
Conflict / status check against |
|
This pins kernel-aurora 7.3.0-37 (from 11-12) and conflicts with main; main's kernel-aurora and update-m1n1 pins have moved well past it. It looks superseded. Close it, or rebase if any part (e.g. the user4k change) is still needed? |
Two small kernel-aurora spec fixes found by the Neo qualification of 7.3.0-36. Fixes #317 and part (1) of #319.
1.
Requires: update-m1n1 >= 20261107-6(was>= 20261107)update-m1n1 20261107-5 still satisfies the old floor. It counts a kernel without a
dtb-abimarker (7.3.0-22 or older) as DT ABI generation 0, and refuses the new kernel's trees.15-update-m1n1.installfails, and kernel-install stops before the new kernel's initramfs and boot entry, while the packages are installed. The Neo hit this on a kernel-only upgrade. 20261107-6, in both testing channels, counts such kernels as generation 1. The rest of #319, the pre-transaction check and running the repair after the transaction, are separate.2. aurora-userpages takes back its
user4k=onon erase%posttransaddsuser4k=onto every boot entry when nouser4k=is set, and nothing removed it. Now:%posttransrecords/var/lib/aurora-userpages/user4k-added, only whengrubbyran.%postunruns on a full erase ($1 -eq 0) and only with that record. It runsgrubby --update-kernel=ALL --remove-args=user4k=onand removes the record.user4k=stays.%ghost, because rpm would delete it before%postuncould read it.Release and tests
tests/test_specs.py:%posttranstest now also checks the record;%postuntest covers three cases: erase with the record, erase without it, and an upgrade with it.python3 -m unittest tests.test_specs); nothing else was run on the host.For RyanTheTide's review; merging is his call.
Not yet