With commit fa9201b2 ("fadump: isolate fadump initramfs image within
the default one"), initramfs image gets to hold two images, one for
production kernel boot purpose and the other for capture kernel boot.
Having separate images improved reliability for both production kernel
and capture kernel boot scenarios, but the size of initramfs image
became considerably larger.
There is scope to reduce the size requirement by avoiding squash and
hardlinking identical files, which are quite a few in this case as
two images would have almost the same binaries and libraries.
The first patch opts out of using squash and the second patch ensures
file modification time is preserved to ensure hardlinking goes through
Hari Bathini (2):
fadump: do not use squash to reduce image size
fadump: preserve file modification time to help with hardlinking
kdump-lib.sh | 7 +++++++
mkfadumprd | 12 +++++++-----
2 files changed, 14 insertions(+), 5 deletions(-)