Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 388617 - x11-drivers/nvidia-drivers - Automatically merge config file on install
Summary: x11-drivers/nvidia-drivers - Automatically merge config file on install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-26 20:26 UTC by James Broadhead
Modified: 2012-07-22 21:05 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Broadhead 2011-10-26 20:26:02 UTC
Every version of nvidia-drivers requires the user to merge a new version of the nvidia config file by hand. The only difference tends to be the module version number (in a comment), and this is wasteful of everyone's time. 

Please either trim the version number from the file, or mark it to be automatically merged if this is the only difference. 

Here is the output of dispatch-conf for a recent switch to ~ARCH:
--- /etc/modprobe.d/nvidia.conf 2011-10-24 17:52:09.000000000 +0100
+++ /etc/modprobe.d/._cfg0000_nvidia.conf       2011-10-26 21:19:28.000000000 +0100
@@ -4,7 +4,7 @@
 
 # To tweak the driver the following options can be used, note that
 # you should be careful, as it could cause instability!! For more 
-# options see /usr/share/doc/nvidia-drivers-275.09.07/README 
+# options see /usr/share/doc/nvidia-drivers-285.05.09/README 
 #
 # !!! SECURITY WARNING !!!
 # DO NOT MODIFY OR REMOVE THE DEVICE FILE RELATED OPTIONS UNLESS YOU KNOW

Reproducible: Always
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2012-07-22 21:05:13 UTC
Sorry for the lack of follow up on the bug. I pursued this outside of just the ebuild but instead had the fix go into Portage since there's quite a few ebuilds that suffered from this.

This is now fixed using a stable Portage.