Skip to content

NVIDIA/zypper-packaging-nvidia-driver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zypper packaging nvidia driver

License Contributing

Overview

Packaging templates for zypper based Linux distros to build NVIDIA driver packages.

The main branch contains this README. The .spec, .sh, and etc. files can be found in the appropriate gfxG04 and gfxG05 branches.

Table of Contents

Deliverables

This repo contains the .spec file used to build the following RPM packages:

note: upgrading between gfxG0[0-9] flavors requires uninstall

  • openSUSE 15 or SLES 15: gfxG05
- nvidia-computeG05-${version}-${rel}.${arch}.rpm
- nvidia-gfxG05-kmp-azure-${version}_k${kernel}-${rel}.${arch}.rpm
- nvidia-gfxG05-kmp-default-${version}_k${kernel}-${rel}.${arch}.rpm
- nvidia-glG05-${version}-${rel}.${arch}.rpm
- x11-video-nvidiaG05-${version}-${rel}.${arch}.rpm

note: Azure package only builds on SLES

  • openSUSE 12 or SLES 12: gfxG04
- nvidia-computeG04-${version}-${rel}.${arch}.rpm
- nvidia-gfxG04-kmp-default-${version}_k${kernel}-${rel}.${arch}.rpm
- nvidia-glG04-${version}-${rel}.${arch}.rpm
- x11-video-nvidiaG04-${version}-${rel}.${arch}.rpm

Prerequisites

Clone this git repository:

Supported branches: gfxG04 & gfxG05

git clone -b ${branch} https://github.com/NVIDIA/zypper-packaging-nvidia-driver
> ex: git clone -b gfxG05 https://github.com/NVIDIA/zypper-packaging-nvidia-driver

Install build dependencies

# Basics
zypper install gcc-c++ module-init-tools pkgconfig
# gfxG05
zypper install kernel-source kernel-syms kernel-syms-azure
# gfxG04
zypper install bison flex kernel-source kernel-syms
# X.org utilities
zypper install xorg-x11-devel
# Misc
zypper install doxygen graphviz texlive update-desktop-files
# Packaging
zypper install rpm-build

Related

Fabric Manager

NSCQ library

See also

Ubuntu driver

RHEL driver

Contributing

See CONTRIBUTING.md