~ubuntu-branches/ubuntu/oneiric/fglrx-installer/oneiric-proposed

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Package Import Robot
  • Author(s): Alberto Milone
  • Date: 2011-09-30 15:36:00 UTC
  • Revision ID: package-import@ubuntu.com-20110930153600-ozzs059pvdkubczp
Tags: 2:8.881-0ubuntu3
* debian/rules, debian/modaliases/fglrx_supported:
  - Make sure that the module alias is always correct and
    uses underscores instead of hyphens (LP: #855396).
  - Make the grub-gfxpayload file a template and blacklist
    all AMD cards so that Grub doesn't set a framebuffer
    which prevents recovery mode from working (LP: #854967).

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
PKG_driver      := fglrx
37
37
PKG_driver_dev  := fglrx-dev
38
38
PKG_control     := fglrx-amdcccle
 
39
PKG_module      := $(shell echo "$(PKG_driver)" | sed s/\-/_/g)
39
40
 
40
41
# Priority of the alternatives
41
42
alt_priority         := 1000
151
152
                         $(PKG_driver_dev).install \
152
153
                         $(PKG_driver_dev).links \
153
154
                         $(PKG_control).install \
 
155
                         $(PKG_driver).grub-gfxpayload \
154
156
                         $(PKG_driver).dirs \
155
157
                         $(PKG_driver).links \
156
158
                         $(PKG_driver).postinst \
400
402
 
401
403
        # Generate modaliases
402
404
        sh -e debian/modaliases/fglrx_supported \
403
 
                lib/modules/fglrx/build_mod/fglrxko_pci_ids.h > \
 
405
                lib/modules/fglrx/build_mod/fglrxko_pci_ids.h $(PKG_module) $(PKG_driver) > \
404
406
                debian/fglrx.modaliases
405
407
        dh_modaliases
406
408
        rm debian/fglrx.modaliases