This patch series solves
https://bugzilla.redhat.com/1451717
We collect all the kdump targets i.e. devices recognized under kdump,
then improve kdump according to the type of the target.
If we know there is no crypt target, we can remove dracut "crypt" module,
we only add rd.lvm.lv=X regarding the lvm target to kdump.
Xunlei Pang (4):
kdump-lib.sh: fix inproper get_block_dump_target()
kdumpctl: collect all the kdump targets
kdumpctl: use generated rd.lvm.lv=X
mkdumprd: omit crypt when there is no crypt kdump target
kdump-lib.sh | 44 ++++++++++++++++++++-----
kdumpctl | 106 +++++++++++++++++++++++++++++++++++++++++++++++++++++------
mkdumprd | 39 ++++++++++++++--------
3 files changed, 158 insertions(+), 31 deletions(-)
--
1.8.3.1