~ubuntu-branches/ubuntu/precise/nvidia-graphics-drivers-96/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:48:47 UTC
  • Revision ID: james.westby@ubuntu.com-20111010184847-2c4929awmrxzjnhy
Tags: 96.43.20-0ubuntu6
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:
111
111
blacklist nvidia-173-updates
112
112
blacklist nvidia-96-updates
113
113
alias nvidia $(PKG_module)
114
 
endef
115
 
 
116
 
define initramfs_hook
117
 
# This file was installed by $(PKG_driver)
118
 
# Do not edit this file manually
119
 
 
120
 
# Make sure that open graphics drivers are not loaded in
121
 
# the initramfs, or $(PKG_driver) will not work
122
 
# See LP: #839524
123
 
FRAMEBUFFER=n
 
114
alias nouveau off
 
115
alias lbm-nouveau off
124
116
endef
125
117
 
126
118
# -Xlib32
294
286
        # and create an alias for the module so that it can be used as nvidia
295
287
        printf '$(subst $(newline),\n,${blacklist_file})' > $(CURDIR)/debian/$(PKG_driver)$(PKG_libconfdir)/modprobe.conf
296
288
 
297
 
        # Add an initramfs hook to make sure that nothing else loads open drivers in the initramfs
298
 
        # See LP: #839524
299
 
        printf '$(subst $(newline),\n,${initramfs_hook})' > $(CURDIR)/debian/$(PKG_driver)$(PKG_libconfdir)/initramfs-hook
300
 
 
301
289
        # XvMCConfig
302
290
        dh_installdirs -p$(PKG_driver) "$(PKG_configdir)"
303
291
        echo "libXvMCNVIDIA_dynamic.so.1" > $(CURDIR)/debian/$(PKG_driver)/$(PKG_configdir)/XvMCConfig