From 093f50307382fc9abe144507527499ff602cffd8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Igor=20Pe=C4=8Dovnik?= Date: Tue, 3 May 2022 07:54:17 +0200 Subject: [PATCH] Kernel 5.10.y need patch adjustment for boot splash (#3741) --- lib/compilation-prepare.sh | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/compilation-prepare.sh b/lib/compilation-prepare.sh index c1dd88b3f6..f9ce514a9e 100644 --- a/lib/compilation-prepare.sh +++ b/lib/compilation-prepare.sh @@ -115,7 +115,10 @@ compilation_prepare() display_alert "Adding" "Kernel splash file" "info" - process_patch_file "${SRC}/patch/misc/bootsplash-5.16.y-0000-Revert-fbcon-Avoid-cap-set-but-not-used-warning.patch" "applying" + if linux-version compare "${version}" ge 5.11; then + process_patch_file "${SRC}/patch/misc/bootsplash-5.16.y-0000-Revert-fbcon-Avoid-cap-set-but-not-used-warning.patch" "applying" + fi + process_patch_file "${SRC}/patch/misc/bootsplash-5.16.y-0001-Revert-fbcon-Add-option-to-enable-legacy-hardware-ac.patch" "applying" if linux-version compare "${version}" ge 5.15; then