7e10236038
This patch updates kexec-tools from 2.0.15 to 2.0.21 (and its supporting software package makedumpfile from 1.6.2 to 1.6.9) for compatibility with the newer v5.10 kernel. This commit clones the kexec-tools package's supporting files from commit 26a7a543427eac59ed39728466f3d95d320f735a in the CentOS RPM packaging git repository. Links for reference: -26a7a54342
-26a7a54342
Please note that this patch causes the build system to pull in and extract an SRPM file to acquire: kdump-anaconda-addon-003-29-g4c517c5.tar.gz This is done for security, because the only public reference to commit 4c517c5 is on a Red Hat developer's personal Github account: https://github.com/ryncsn/kdump-anaconda-addon/commits/rhel-7 kexec-tools package's supporting files cloned by this commit trigger a large number of shell script linting errors. Given that the shell scripts in question are inherited from upstream (i.e., CentOS 7), the "files" directory of this package is excluded from automated linting via the changes in tox.ini. Verification: A kexec-tools RPM package built with this commit was installed onto an existing StarlingX system. A vmcore file was succesfully collected from a kernel crash triggered with /proc/sysrq-trigger. A recent version of the crash utility was found to succesfully parse the collected vmcore file. Credits: Thanks to Jiping Ma for helping with cleaning up and publishing an earlier version of this patch. Story: 2008921 Task: 43040 Depends-On: https://review.opendev.org/c/starlingx/tools/+/805127 Signed-off-by: Jiping Ma <jiping.ma2@windriver.com> Signed-off-by: M. Vefa Bicakci <vefa.bicakci@windriver.com> Change-Id: Idc4e523610e4c09259300c8b67ea5e0fbe59c611
34 lines
1.2 KiB
Groff
34 lines
1.2 KiB
Groff
.TH MKDUMRD 8 "Fri Feb 9 2007"
|
|
.SH NAME
|
|
mkdumprd \- creates initial ramdisk images for kdump crash recovery
|
|
.SH SYNOPSIS
|
|
\fBmkdumprd\fR [OPTION]
|
|
|
|
.SH DESCRIPTION
|
|
\fBmkdumprd\fR creates an initial ram file system for use in conjunction with
|
|
the booting of a kernel within the kdump framework for crash recovery.
|
|
\fBmkdumprds\fR purpose is to create an initial ram filesystem capable of copying
|
|
the crashed systems vmcore image to a location specified in \fI/etc/kdump.conf
|
|
|
|
\fBmkdumprd\fR interrogates the running system to understand what modules need to
|
|
be loaded in the initramfs (based on configuration retrieved from
|
|
\fI/etc/kdump.conf)\fR
|
|
|
|
\fBmkdumprd\fR add a new \fBdracut\fR module 99kdumpbase and use \fBdracut\fR
|
|
utility to generate the initramfs.
|
|
|
|
\fBmkdumprd\fR was not intended for casual use outside of the service
|
|
initialization script for the kdump utility, and should not be run manually. If
|
|
you require a custom kdump initramfs image, it is suggested that you use the
|
|
kdump service infrastructure to create one, and then manually unpack, modify and
|
|
repack the image.
|
|
|
|
|
|
.SH OPTIONS
|
|
.TP
|
|
All options here are passed to dracut directly, please refer \fBdracut\fR docs
|
|
for the info.
|
|
|
|
.SH "SEE ALSO"
|
|
.BR dracut (8)
|