diff --git a/debian/patches/dsa/check_running_kernel_zstd_fix b/debian/patches/dsa/check_running_kernel_zstd_fix new file mode 100644 index 00000000..4d7bdd90 --- /dev/null +++ b/debian/patches/dsa/check_running_kernel_zstd_fix @@ -0,0 +1,13 @@ +Index: pkg-nagios-plugins-contrib/dsa/checks/dsa-check-running-kernel +=================================================================== +--- dsa-check-running-kernel.dist 2022-03-12 21:36:28.000000000 +0100 ++++ dsa-check-running-kernel 2022-03-12 21:36:32.000000000 +0100 +@@ -162,6 +162,8 @@ + cat_vmlinux "$image" "\x02\x21\x4c\x18" "lz4 -dc" 0 + # lzo compressed image + cat_vmlinux "$image" "\x89\x4c\x5a\x4f\x00\x0d\x0a\x1a" "lzop -dc" 0 ++ # zstd compressed image ++ cat_vmlinux "$image" "\x28\xb5\x2f\xfd" "zstd -d" 0 + + echo "ERROR: Unable to extract kernel image." 2>&1 + exit 1 diff --git a/debian/patches/series b/debian/patches/series index 9e5557e3..14582794 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -58,3 +58,4 @@ check_email_delivery/check_smtp_send-hello check_raid/sort_megacli_numerical check_raid/hpacucli_cache_fail check_raid/fix_unparsed_error_cciss +dsa/check_running_kernel_zstd_fix