From 4f6d36f812665732f78eac92299832b302060938 Mon Sep 17 00:00:00 2001 From: Andy Gospodarek Date: Tue, 14 Aug 2012 14:59:48 -0400 Subject: [PATCH] compat: disable compat firmware module on RHEL6.0 and later Signed-off-by: Andy Gospodarek Signed-off-by: Luis R. Rodriguez --- scripts/gen-compat-config.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/gen-compat-config.sh b/scripts/gen-compat-config.sh index c6368f3191c1..810c51b4a6ce 100755 --- a/scripts/gen-compat-config.sh +++ b/scripts/gen-compat-config.sh @@ -56,7 +56,9 @@ if [[ ! -z ${RHEL_MAJOR} ]]; then fi if [[ ${CONFIG_COMPAT_KERNEL_2_6_33} = "y" ]]; then - echo "export CONFIG_COMPAT_FIRMWARE_CLASS=m" + if [[ ! ${CONFIG_COMPAT_RHEL_6_0} = "y" ]]; then + echo "export CONFIG_COMPAT_FIRMWARE_CLASS=m" + fi fi if [[ ${CONFIG_COMPAT_KERNEL_2_6_36} = "y" ]]; then -- 2.30.2