~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-01-07 15:05:50 UTC
  • Revision ID: james.westby@ubuntu.com-20110107150550-q3329hmuizaav02h
Tags: 96.43.19-0ubuntu4
* debian/nvidia-96.prerm{.in}:
  - Call dpkg-trigger with --by-package=$PACKAGE_NAME.
* Add support for blacklisting card ids from GRUB gfxpayload=keep:
  - In Natty gfxpayload=keep is set by default so as to provide a framebuffer
    early in the boot process. Some cards don't play nicely with it, therefore
    we need to blacklist them in a file. The format is a sequence of lines of
    the following form:
      vVENDORdDEVICEsvSUBVENDORsdSUBDEVICEbcBASECLASSscSUBCLASS
    Blacklist lines are regex-matched against a corresponding PCI ID string.
    In practice this means that you can replace any part of the ID string
    with .* to match anything. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
tlsdir               := $(libdir)/tls
86
86
vdpaudir32           := $(libdir32)/vdpau
87
87
tlsdir32             := $(libdir32)/tls
 
88
grub_blacklistdir    := /usr/share/grub-gfxpayload-lists/blacklist
88
89
 
89
90
# This is a hack to make sure that
90
91
# the blacklist file is available
173
174
                        -e "s|#PKGVDPAUDIR32#|$(PKG_vdpaudir32)|g" \
174
175
                        -e "s|#PKGTLSDIR#|$(PKG_tlsdir)|g" \
175
176
                        -e "s|#PKGLIBCONFDIR#|$(PKG_libconfdir)|g" \
 
177
                        -e "s|#GRUBBLKLISTDIR#|$(grub_blacklistdir)|g" \
176
178
                        debian/$$i.in > debian/$$i;      \
177
179
        done
178
180
ifeq ($(DEB_BUILD_ARCH),amd64)