Signed-off-by: Tao Liu <ltao@xxxxxxxxxx> Signed-off-by: Coiby Xu <coxu@xxxxxxxxxx> --- makedumpfile.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/makedumpfile.c b/makedumpfile.c index 100b407..f3bf297 100644 --- a/makedumpfile.c +++ b/makedumpfile.c @@ -4171,6 +4171,15 @@ initial(void) } #endif +#ifndef USEZSTD + if (info->flag_compress == DUMP_DH_COMPRESSED_ZSTD) { + MSG("'-z' option is disabled, "); + MSG("because this binary doesn't support zstd " + "compression.\n"); + MSG("Try `make USEZSTD=on` when building.\n"); + } +#endif + if (info->flag_exclude_xen_dom && !is_xen_memory()) { MSG("'-X' option is disable,"); MSG("because %s is not Xen's memory core image.\n", info->name_memory); -- 2.29.2 _______________________________________________ kexec mailing list kexec@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/kexec