From 8a83c96bcf53c119b334c7ad859b551f343cb59e Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Wed, 18 Jan 2012 14:05:53 +0100 Subject: [PATCH] [scripts] add "video=vesafb:ywrap,mtrr:3" to cmdline only if KMS is disabled by default --- scripts/generic_pre_iso_script.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/generic_pre_iso_script.sh b/scripts/generic_pre_iso_script.sh index be6096f..1b77946 100755 --- a/scripts/generic_pre_iso_script.sh +++ b/scripts/generic_pre_iso_script.sh @@ -30,6 +30,9 @@ kms_string="" if [ -f "${CHROOT_DIR}/.enable_kms" ]; then rm "${CHROOT_DIR}/.enable_kms" kms_string="radeon.modeset=1" +else + # enable vesafb-tng then + kms_string="video=vesafb:ywrap,mtrr:3" fi sed -i "s/__KMS__/${kms_string}/g" "${isolinux_destination}"