From 530f23a88b2beebb096ed01fc1288c8b2779c8c2 Mon Sep 17 00:00:00 2001 From: Ing Date: Tue, 14 Nov 2023 21:11:20 +0800 Subject: [PATCH] mod compatibility --- files/initrd/opt/rr/menu.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/initrd/opt/rr/menu.sh b/files/initrd/opt/rr/menu.sh index 2badb89b..fe4a1acc 100755 --- a/files/initrd/opt/rr/menu.sh +++ b/files/initrd/opt/rr/menu.sh @@ -152,10 +152,10 @@ function modelMenu() { HBA=" " M_2=" " if [ "${iGPU}" = "1" ]; then - [ "${PLATFORM}" = "apollolake" -o "${PLATFORM}" = "geminilake" ] && I915="*" + [ "${PLATFORM}" = "apollolake" -o "${PLATFORM}" = "geminilake" -o "${PLATFORM}" = "epyc7002" ] && I915="*" fi if [ "${LSI}" = "1" ]; then - [ ! "${DT}" = "true" ] && HBA="* " + [ ! "${DT}" = "true" -o "${PLATFORM}" = "epyc7002" ] && HBA="* " fi if [ "${NVME}" = "1" ]; then [ "${DT}" = "true" ] && M_2="* "