kexec-tools/anaconda-addon
..
com_redhat_kdump
po
Makefile
README

This is an anaconda addon for configuring kdump. To use, copy the
com_redhat_kdump directory into /usr/share/anaconda/addons on your
installation media. 

The syntax of the addon's kickstart section is:

%addon com_redhat_kdump (--enable|--disable) --reserve-mb=("auto"|<amount>)
%end

Note that support for arguments on the %addon line was added in
anaconda-21.23. See anaconda commit 3a512e4f9e15977f0ce2d0bbe39e841b881398f3,
https://bugzilla.redhat.com/show_bug.cgi?id=1065674

How to test the kdump-anaconda-addon?
You can provide an updates image in the kernel boot arguments as updates=,
and the contents will be added to the stage2 filesystem.
https://fedoraproject.org/wiki/Anaconda/Updates has more details, but usually
the easiest is to make it available via HTTP or FTP and provide a url to updates=.

The file is a gzip-compressed cpio archive, and the files need to be put into
stage2 in /usr/share/anaconda/addons, so something like this will work to create
an updates.img:

mkdir -p updates/usr/share/anaconda/addons
cp -r com_redhat_kdump updates/usr/share/anaconda/addons/
( cd updates; find . | cpio -oc | gzip -c9 ) > updates.img

then you can upload the updates.img to some http or ftp server so the anaconda
can get it by boot parameter as updates=http://some.website.com/path/to/updates.img.