From a1ea3e89947617dec49f642fd375817d38d9c359 Mon Sep 17 00:00:00 2001 From: Tobias Powalowski Date: Tue, 6 Aug 2024 08:34:00 +0200 Subject: [PATCH] fix riscv64 kernel version --- usr/lib/archboot/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/lib/archboot/common.sh b/usr/lib/archboot/common.sh index fd99a09a8..d9026b4fe 100644 --- a/usr/lib/archboot/common.sh +++ b/usr/lib/archboot/common.sh @@ -172,7 +172,7 @@ _kver() { if [[ -f "${1}" ]]; then rg -Noazm 1 'ABCDEF\x00+(.*) \(.*@' -r '$1' "${1}" ||\ rg -Noazm 1 'Linux version (.*) \(.*@' -r '$1' "${1}" ||\ - zcat "${1}" 2>"${_NO_LOG}" | rg -Noazm 1 'Linux version (.*) \(.*@' -r '$1' + zstdcat "${1}" 2>"${_NO_LOG}" | rg -Noazm 1 'Linux version (.*) \(.*@' -r '$1' fi }