Public bug reported:

Sorry this didn't make it into 180.22, Alberto.  I finally got around to
implementing the hook script code we talked about, and the next round of
releases will include it.  Here's the relevant new section in the
manpage:

DISTRIBUTION HOOK SCRIPTS
       Because the NVIDIA installer may  interact  badly  with  distribution  
packages  that  contain  the  NVIDIA  driver,
       nvidia-installer  provides  a  mechanism  for the distribution to handle 
manual installation of the driver.  If they
       exist, nvidia-installer will run the following scripts:
              · /usr/lib/nvidia/pre-install
              · /usr/lib/nvidia/pre-uninstall
              · /usr/lib/nvidia/post-uninstall
              · /usr/lib/nvidia/post-install
              · /usr/lib/nvidia/failed-install
       Note that if installation of a new driver requires uninstallation of a 
previously installed  driver,  the  pre-  and
       post-uninstall  scripts  will be called after the pre-install script.  
If the install fails, the installer will exe‐
       cute /usr/lib/nvidia/failed-install instead of 
/usr/lib/nvidia/post-install.  These scripts should not require  user
       interaction.

       Use the --no-distro-scripts option to disable execution of these
scripts.

I don't know if nvidia-graphics-drivers-* is really the right place for
these scripts.  It might be necessary to add a new package, depending on
what you want them to do.

** Affects: nvidia-graphics-drivers-180 (Ubuntu)
     Importance: Undecided
     Assignee: Alberto Milone (albertomilone)
         Status: New

** Changed in: nvidia-graphics-drivers-180 (Ubuntu)
     Assignee: (unassigned) => Alberto Milone (albertomilone)

-- 
Add hook scripts to be run by nvidia-installer
https://bugs.launchpad.net/bugs/317703
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to