Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions pkg/kdump/kdump-view.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -583,6 +583,12 @@ ${enableCrashKernel}
</>
);
}
} else if (this.state.os_release.NAME?.includes('Arch')) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think an .ID == "arch" check would be more robust?

alertMessage = _("kdump is not supported on Arch Linux.");
alertDetail = fmt_to_fragments(
_("kexec is not supported on Arch. $0 provides more information."),
<a href="https://github.com/cockpit-project/cockpit/issues/21006#issuecomment-2350036816">GitHub issue #21006</a>,
);
} else {
alertMessage = _("Kdump service is not installed.");
alertDetail = fmt_to_fragments(
Expand Down