FS#55023 - [nvidia][nvidia-lts] /usr/lib/modprobe.d/nvidia-lts.conf should not be overwritten by the upgrade

Attached to Project: Community Packages
Opened by Marcin Mielniczuk (marmistrz) - Thursday, 03 August 2017, 08:13 GMT
Last edited by Eli Schwartz (eschwartz) - Thursday, 03 August 2017, 11:43 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
I modified `/usr/lib/modprobe.d/nvidia-lts.conf` so that it blacklists `nvidia` instead of `nouveau` (I'm using nouveau as my default driver and swap it with the nvidia proprietary one only if I need to). Then, when updating with pacman, the file was overwritten by an updated. (I'll have to document how to do this on the freedesktop wiki)

The file should be treated in the same way as `/etc/pacman.d/mirrorlist` in `pacman-mirrorlist`, i.e. a .pacnew file should be created instead if the file was modified.

Additional info:
* package version: 384.59-2
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Thursday, 03 August 2017, 11:43 GMT
Reason for closing:  Not a bug
Additional comments about closing:  Use the override directory to... override things! This is not the kind of file that needs to be a backup file.
Comment by loqs (loqs) - Thursday, 03 August 2017, 09:36 GMT
Why not just use /etc/modprobe.d/nvidia-lts.conf this will override /usr/lib/modprobe.d/nvidia-lts.conf and will not be affected by package upgrades?

Loading...