~ubuntu-branches/ubuntu/precise/nvidia-graphics-drivers-173/precise

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Alberto Milone
  • Date: 2011-10-10 18:46:31 UTC
  • Revision ID: james.westby@ubuntu.com-20111010184631-j55b8kkmrg5xbi3m
Tags: 173.14.30-0ubuntu8
Re-enable grub fb and drop the initramfs hook in favour of
"alias nouveau/lbm_nouveau off" (LP: #864149).

Show diffs side-by-side

added added

removed removed

Lines of Context:
117
117
blacklist nvidia-173-updates
118
118
blacklist nvidia-96-updates
119
119
alias nvidia $(PKG_module)
120
 
endef
121
 
 
122
 
define initramfs_hook
123
 
# This file was installed by $(PKG_driver)
124
 
# Do not edit this file manually
125
 
 
126
 
# Make sure that open graphics drivers are not loaded in
127
 
# the initramfs, or $(PKG_driver) will not work
128
 
# See LP: #839524
129
 
FRAMEBUFFER=n
 
120
alias nouveau off
 
121
alias lbm-nouveau off
130
122
endef
131
123
 
132
124
# -Xlib32
302
294
        # and create an alias for the module so that it can be used as nvidia
303
295
        printf '$(subst $(newline),\n,${blacklist_file})' > $(CURDIR)/debian/$(PKG_driver)$(PKG_libconfdir)/modprobe.conf
304
296
 
305
 
        # Add an initramfs hook to make sure that nothing else loads open drivers in the initramfs
306
 
        # See LP: #839524
307
 
        printf '$(subst $(newline),\n,${initramfs_hook})' > $(CURDIR)/debian/$(PKG_driver)$(PKG_libconfdir)/initramfs-hook
308
 
 
309
297
        # XvMCConfig
310
298
        dh_installdirs -p$(PKG_driver) "$(PKG_configdir)"
311
299
        echo "libXvMCNVIDIA_dynamic.so.1" > $(CURDIR)/debian/$(PKG_driver)/$(PKG_configdir)/XvMCConfig