diff options
author | Aaron Plattner <aplattner@nvidia.com> | 2012-08-06 10:56:25 -0700 |
---|---|---|
committer | Aaron Plattner <aplattner@nvidia.com> | 2012-08-06 10:56:25 -0700 |
commit | b2b6f7f58863303319afa24791d2f233fe29a102 (patch) | |
tree | 2fe814a40a7f13e1c6fa0b9fd5d06b3e7557e803 | |
parent | 7869613e13cf23b2f085f069a0a78717dd8c748f (diff) |
304.32304.32
-rw-r--r-- | misc.c | 8 | ||||
-rw-r--r-- | nvidia-installer.c | 1 | ||||
-rw-r--r-- | nvidia-installer.h | 1 | ||||
-rw-r--r-- | option_table.h | 6 | ||||
-rw-r--r-- | version.mk | 2 |
5 files changed, 13 insertions, 5 deletions
@@ -2544,10 +2544,10 @@ int check_for_nouveau(Options *op) return FALSE; } - ret = ui_yes_no(op, FALSE, "For some distributions, Nouveau can be " - "disabled by adding a file in the modprobe configuration " - "directory. Would you like nvidia-installer to attempt " - "to create this modprobe file for you?"); + ret = ui_yes_no(op, op->disable_nouveau, "For some distributions, Nouveau " + "can be disabled by adding a file in the modprobe " + "configuration directory. Would you like nvidia-installer " + "to attempt to create this modprobe file for you?"); if (ret) { ret = blacklist_nouveau(); diff --git a/nvidia-installer.c b/nvidia-installer.c index 3b103be..75168ea 100644 --- a/nvidia-installer.c +++ b/nvidia-installer.c @@ -224,6 +224,7 @@ static void parse_commandline(int argc, char *argv[], Options *op) op->ui_str = "none"; break; case 'z': op->no_nouveau_check = TRUE; break; + case 'Z': op->disable_nouveau = TRUE; break; case 'k': op->kernel_name = strval; diff --git a/nvidia-installer.h b/nvidia-installer.h index 9d1c09a..cd42866 100644 --- a/nvidia-installer.h +++ b/nvidia-installer.h @@ -138,6 +138,7 @@ typedef struct __options { int no_nvidia_xconfig_question; int run_distro_scripts; int no_nouveau_check; + int disable_nouveau; int no_opengl_files; int no_kernel_module_source; int dkms; diff --git a/option_table.h b/option_table.h index cfdbd49..ab3b115 100644 --- a/option_table.h +++ b/option_table.h @@ -449,6 +449,12 @@ static const NVGetoptOption __options[] = { "Normally, nvidia-installer aborts installation if the nouveau kernel " "driver is in use. Use this option to disable this check." }, + { "disable-nouveau", 'Z', 0, NULL, + "If the nouveau kernel module is detected by nvidia-installer, the " + "installer offers to attempt to disable nouveau. The default action " + "is to not attempt to disable nouveau; use this option to change the " + "default action to attempt to disable nouveau."}, + { "run-nvidia-xconfig", 'X', 0, NULL, "nvidia-installer can optionally invoke the nvidia-xconfig utility. " "This will update the system X configuration file so that the NVIDIA X " @@ -1 +1 @@ -NVIDIA_VERSION = 304.30 +NVIDIA_VERSION = 304.32 |