Skip to content

fix(rpr): stabilize kernel builds and bound published history - #144

Merged
Leonmmcoset merged 1 commit into
mainfrom
codex/fix-rpr-kernel-history
Dec 5, 2026
Merged

Leonmmcoset merged 1 commit into
mainfrom
codex/fix-rpr-kernel-history

Conversation

@Leonmmcoset

Copy link
Copy Markdown
Collaborator

Publishing a new ReliefOS commit changed the timestamp in ReliefNT module identities and generated another kernel payload even for website or installer-only changes. Every signed RPR then carried all older kernel payloads forward.

Kernel compilation, configuration, header exports and payload packaging now use KERNEL_SOURCE_DATE_EPOCH, defaulting to the ReliefNT commit time. Userspace, images and the monotonic update metapackage keep the ReliefOS timestamp/version sequence. This preserves real kernel source/configuration/toolchain invalidation while avoiding unrelated payload churn.

Signed kernel-history records the current payload and one distinct fallback in publication order. Legacy snapshots migrate using the previous update package's exact dependency. Pages retains only the previous index's kernel URLs for one publication cycle (at most three payloads), while the new repository index contains at most two. Existing installed kernels and local boot fallback files are untouched. Old cached package indexes may need pacman -Syu after migration.

Validation:

  • 106 CI regression tests passed in the Arch validation environment, with 15 environment-dependent skips; all 10 non-root Arch build orchestration tests passed separately.
  • Five consecutive publications through the actual signing/pacman/repo-add pipeline with a disposable key verified repeated payload reuse, bounded indexes and prior-snapshot URL retention.
  • Real makepkg produced byte-identical kernel packages with different parent timestamps and the same kernel timestamp.
  • GRUB-independent build regression, workflow lint, ShellCheck, translations and whitespace checks passed.

Full production kernel/image rebuild and QEMU/VMware OS boot were not performed for this build/publication change. The new behavior reaches the public RPR on the next successful deployment.

@Leonmmcoset
Leonmmcoset merged commit 8b185b7 into main Dec 5, 2026
10 checks passed
@Leonmmcoset
Leonmmcoset deleted the codex/fix-rpr-kernel-history branch December 5, 2026 15:53
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.

2 participants