kexec-tools/anaconda-addon
Arthur Zou 2553056c74 Rename the subpackage kdump-anaconda-addon
Rename the subpackage kdump-anaconda-addon to kexec-tools-anaconda-addon
to keep consistency and make fedpkg build happy

Because every time fedpkg builds a new release the package version number
should increase. But kdump-annaconda-addon just keep same version, so let's
rename it to kexec-tools-annaconda-addon here kexec-tools- is a default prefix.
For version let's use default top level version.

At the same time, rename the kdump-anaconda-addon directory name to anaconda-addon
to make it more standard. Using the current data instead of version number as a
surfix of kdump-anaconda-addon tarball just like kexec-tools-po did.

Signed-off-by: Arthur Zou <zzou@redhat.com>
Acked-by: Dave Young <dyoung@redhat.com>
2014-05-22 18:32:43 +08:00
..
com_redhat_kdump Rename the subpackage kdump-anaconda-addon 2014-05-22 18:32:43 +08:00
po Rename the subpackage kdump-anaconda-addon 2014-05-22 18:32:43 +08:00
Makefile Rename the subpackage kdump-anaconda-addon 2014-05-22 18:32:43 +08:00
README Rename the subpackage kdump-anaconda-addon 2014-05-22 18:32:43 +08:00

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.