Changeset 5215 in /cluster/svnroot


Ignore:
Timestamp:
Jul 8, 2015 2:22:32 PM (5 years ago)
Author:
skylar
Message:

fix nvidia_build for v3.4.0 re #896

File:
1 edited

Legend:

Unmodified
Added
Removed
  • bccd-ng/branches/skylar/bccd-3.4.0/trees/bin/nvidia_build

    • Property svn:keywords set to Id
    r5211 r5215  
    77# $Id$
    88
    9 FPM="/var/lib/gems/1.9.1/bin/fpm"
     9FPM=/usr/local/bin/fpm
    1010
    1111function get_bits() {
     
    8181done
    8282
    83 BCCD_REV=$(/usr/bin/perl -wpl -e \
    84     's!^((?:\d+\.){2}\d+).*?$!(!g' \
    85     < /etc/bccd-revision)
     83BCCD_REV="bccd-$(/usr/bin/perl -wpl -e \
     84    's!^((?:\d+\.){2}\d+).*?$!$1!g' \
     85    < /etc/bccd-revision)"
    8686
    8787KERN_REV=$(/bin/uname -r)
     
    151151    --utility-prefix=${NV_DEB}/usr \
    152152    --documentation-prefix=${NV_DEB}/usr \
    153     --kernel-install-path=${NV_DEB}/lib/modules/${KERN_REV}/kernel/drivers/video \
     153    --kernel-install-path=/lib/modules/${KERN_REV}/kernel/drivers/video \
    154154    --no-cc-version-check \
    155155    --no-opengl-files \
    156     --compat32-libdir=/usr/lib32 \
     156    --no-nvidia-modprobe \
     157    --compat32-libdir=lib32 \
    157158    --no-check-for-alternate-installs
    158159
     
    160161
    161162popd
     163
     164/bin/mkdir -p ${NV_DEB}/lib/modules/${KERN_REV}/kernel/drivers/video
     165
     166cp \
     167    /lib/modules/${KERN_REV}/kernel/drivers/video/nvidia.ko \
     168    ${NV_DEB}/lib/modules/${KERN_REV}/kernel/drivers/video
    162169
    163170/bin/rm -f ${NV_DEB}/usr/lib/xorg/modules/libwfb.so
Note: See TracChangeset for help on using the changeset viewer.