v1->v2:
- Merge Patch1 into Patch3(now Patch2).
Previously, I've sent out two versions of the targets hook framework.
after discussion we decided to finish "removing root=X" first using
the approach of v1, thus I drafted this patch series. We can continue
the targets hook framework if we really need it in the future.
This patch series focuses on removing "root=X" for kdump, and always
add the dump target(even for root target) via dracut's "--mount ..."
explicitly.
There are two cases we don't remove "root=X":
1) "default dump_to_rootfs" is specified.
2) fadump, becuase fadump can directly switch to root after vmcore dumping,
it needs the same cmdline as 1st kernel.
PATCH1 is a bug fix needed by PATCH2.
PATCH2 is the actual implemenation.
PATCH3 is a natural revert patch due to having PATCH2.
Xunlei Pang (3):
kdumpctl: fix a bug in remove_cmdline_param()
kdumpctl: remove "root=X" for kdump boot
Revert "kdumpctl: filter 'root' kernel parameter when running in live
images"
dracut-module-setup.sh | 24 ++++++++++++------------
kdumpctl | 40 +++++++++++++++++++++++++++++-----------
live-image-kdump-howto.txt | 2 ++
mkdumprd | 29 +++++++++--------------------
4 files changed, 52 insertions(+), 43 deletions(-)
--
1.8.3.1