Skip to content

Stop asking for a reboot after every update on ARM - #14447

Merged
birkskyum merged 2 commits into
omacom:quattrofrom
birkskyum:fix-arm-reboot-prompt
Oct 13, 2026
Merged

birkskyum merged 2 commits into
omacom:quattrofrom
birkskyum:fix-arm-reboot-prompt

Conversation

@birkskyum

@birkskyum birkskyum commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

On Arch Linux ARM every omarchy update ends with "Linux kernel has been updated. Reboot?". The check looks for a package-owned vmlinuz next to the kernel modules, and Arch Linux ARM's linux-aarch64 doesn't ship one there.

This checks modules.builtin instead, which every kernel package owns, the x86 ones included. Kernels that do ship vmlinuz there, like linux-omarchy, behave as before.

Confirmed on a Yoga Slim 7x: the current check reports an update on every run, and the new one reports the running kernel correctly. The new test fails on the current script.

Fixes #12440.

The kernel check looked for a package-owned vmlinuz next to the modules, which Arch Linux ARM's kernel does not ship, so every update ended with "Linux kernel has been updated. Reboot?". Check modules.builtin instead, which every kernel package owns. Fixes omacom#12440.
@greptile-apps

greptile-apps Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

[Medium impact] The PR appears safe to merge; the previous test issue is fixed.

Summary

The PR checks package-owned modules.builtin files instead of vmlinuz to avoid unnecessary reboot prompts on ARM.

  • Adds tests for unchanged kernels, updated kernels, and unowned leftover files.
  • The latest change fixes the previous finding by forcing interactive mode inside the tests.
  • No new actionable issues were found.

Reviews (2) · Last reviewed commit: "Keep the kernel reboot test independent ..." · Reviewed by Greptile

@birkskyum
birkskyum changed the base branch from quattro to n1x October 13, 2026 13:19
@birkskyum
birkskyum changed the base branch from n1x to quattro October 13, 2026 13:21
@birkskyum
birkskyum merged commit 492b883 into omacom:quattro Oct 13, 2026
1 check passed
omarchybot added a commit to sytelus/omarchy that referenced this pull request Oct 15, 2026
quattro now finds package kernels by modules.builtin rather than vmlinuz, so Arch Linux ARM is recognised; keep that loop and apply this branch's rule to it: prompt only when some package kernel exists and none is the running one.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@emirb emirb added this to the 4.5 milestone Oct 17, 2026
kvnloo added a commit to kvnloo/omarchy that referenced this pull request Oct 22, 2026
Reconcile origin quattro while preserving the original omacom#12956 history.
Keep only the herdr close_workspace/swap_pane_up fix and its regression,
per maintainer review; kernel restart detection already landed through
birkskyum's omacom#14447 and is intentionally absent from this branch's diff.

Source: omacom#10231. No desktop-runtime acceptance claimed.
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.

omarchy update always prompts 'kernel has been updated, reboot?' on aarch64 (pacman -Qo can't resolve vmlinuz owner)

2 participants