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
Changes in v2:
* Avoid polluting is_squash_available(). Instead, modify mkfadumprd
to ensure 'squash' dracut module is not used for fadump case.
Hari Bathini (2):
fadump: do not use squash to reduce image size
fadump: preserve file modification time to help with hardlinking
mkfadumprd | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)