Initial commit
This commit is contained in:
commit
3d5cb82734
37
.github/workflows/build-canaryi386.yml
vendored
Normal file
37
.github/workflows/build-canaryi386.yml
vendored
Normal file
@ -0,0 +1,37 @@
|
||||
name: PikaOS Package Build Only (Canary) (i386)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- '.github/build-canary-i386'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/pikaos-linux/pikaos-builder:canaryi386
|
||||
volumes:
|
||||
- /proc:/proc
|
||||
options: --privileged -it
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Install SSH key
|
||||
uses: shimataro/ssh-key-action@v2
|
||||
with:
|
||||
key: ${{ secrets.SSH_KEY }}
|
||||
name: id_rsa
|
||||
known_hosts: ${{ secrets.KNOWN_HOSTS }}
|
||||
if_key_exists: replace
|
||||
|
||||
- name: Update APT Cache
|
||||
run: apt-get update -y
|
||||
|
||||
- name: Set Build Config
|
||||
run: cp -vf ./pika-build-config/i386.sh ./pika-build-config.sh
|
||||
|
||||
- name: Build Package
|
||||
run: ./main.sh
|
37
.github/workflows/build-canaryv3.yml
vendored
Normal file
37
.github/workflows/build-canaryv3.yml
vendored
Normal file
@ -0,0 +1,37 @@
|
||||
name: PikaOS Package Build Only (Canary) (amd64-v3)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- '.github/build-canary-v3'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/pikaos-linux/pikaos-builder:canaryv3
|
||||
volumes:
|
||||
- /proc:/proc
|
||||
options: --privileged -it
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Install SSH key
|
||||
uses: shimataro/ssh-key-action@v2
|
||||
with:
|
||||
key: ${{ secrets.SSH_KEY }}
|
||||
name: id_rsa
|
||||
known_hosts: ${{ secrets.KNOWN_HOSTS }}
|
||||
if_key_exists: replace
|
||||
|
||||
- name: Update APT Cache
|
||||
run: apt-get update -y
|
||||
|
||||
- name: Set Build Config
|
||||
run: cp -vf ./pika-build-config/amd64-v3.sh ./pika-build-config.sh
|
||||
|
||||
- name: Build Package
|
||||
run: ./main.sh
|
37
.github/workflows/build-nesti386.yml
vendored
Normal file
37
.github/workflows/build-nesti386.yml
vendored
Normal file
@ -0,0 +1,37 @@
|
||||
name: PikaOS Package Build Only (i386)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- '.github/build-nest-i386'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/pikaos-linux/pikaos-builder:nesti386
|
||||
volumes:
|
||||
- /proc:/proc
|
||||
options: --privileged -it
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Install SSH key
|
||||
uses: shimataro/ssh-key-action@v2
|
||||
with:
|
||||
key: ${{ secrets.SSH_KEY }}
|
||||
name: id_rsa
|
||||
known_hosts: ${{ secrets.KNOWN_HOSTS }}
|
||||
if_key_exists: replace
|
||||
|
||||
- name: Update APT Cache
|
||||
run: apt-get update -y
|
||||
|
||||
- name: Set Build Config
|
||||
run: cp -vf ./pika-build-config/i386.sh ./pika-build-config.sh
|
||||
|
||||
- name: Build Package
|
||||
run: ./main.sh
|
37
.github/workflows/build-nestv3.yml
vendored
Normal file
37
.github/workflows/build-nestv3.yml
vendored
Normal file
@ -0,0 +1,37 @@
|
||||
name: PikaOS Package Build Only (amd64-v3)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- '.github/build-nest-v3'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/pikaos-linux/pikaos-builder:nestv3
|
||||
volumes:
|
||||
- /proc:/proc
|
||||
options: --privileged -it
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Install SSH key
|
||||
uses: shimataro/ssh-key-action@v2
|
||||
with:
|
||||
key: ${{ secrets.SSH_KEY }}
|
||||
name: id_rsa
|
||||
known_hosts: ${{ secrets.KNOWN_HOSTS }}
|
||||
if_key_exists: replace
|
||||
|
||||
- name: Update APT Cache
|
||||
run: apt-get update -y
|
||||
|
||||
- name: Set Build Config
|
||||
run: cp -vf ./pika-build-config/amd64-v3.sh ./pika-build-config.sh
|
||||
|
||||
- name: Build Package
|
||||
run: ./main.sh
|
40
.github/workflows/release-canaryi386.yml
vendored
Normal file
40
.github/workflows/release-canaryi386.yml
vendored
Normal file
@ -0,0 +1,40 @@
|
||||
name: PikaOS Package Build & Release (Canary) (i386)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- '.github/release-canary-i386'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/pikaos-linux/pikaos-builder:canaryi386
|
||||
volumes:
|
||||
- /proc:/proc
|
||||
options: --privileged -it
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Install SSH key
|
||||
uses: shimataro/ssh-key-action@v2
|
||||
with:
|
||||
key: ${{ secrets.SSH_KEY }}
|
||||
name: id_rsa
|
||||
known_hosts: ${{ secrets.KNOWN_HOSTS }}
|
||||
if_key_exists: replace
|
||||
|
||||
- name: Update APT Cache
|
||||
run: apt-get update -y
|
||||
|
||||
- name: Set Build Config
|
||||
run: cp -vf ./pika-build-config/i386.sh ./pika-build-config.sh
|
||||
|
||||
- name: Build Package
|
||||
run: ./main.sh
|
||||
|
||||
- name: Release Package
|
||||
run: ./release.sh
|
40
.github/workflows/release-canaryv3.yml
vendored
Normal file
40
.github/workflows/release-canaryv3.yml
vendored
Normal file
@ -0,0 +1,40 @@
|
||||
name: PikaOS Package Build & Release (Canary) (amd64-v3)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- '.github/release-canary-v3'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/pikaos-linux/pikaos-builder:canaryv3
|
||||
volumes:
|
||||
- /proc:/proc
|
||||
options: --privileged -it
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Install SSH key
|
||||
uses: shimataro/ssh-key-action@v2
|
||||
with:
|
||||
key: ${{ secrets.SSH_KEY }}
|
||||
name: id_rsa
|
||||
known_hosts: ${{ secrets.KNOWN_HOSTS }}
|
||||
if_key_exists: replace
|
||||
|
||||
- name: Update APT Cache
|
||||
run: apt-get update -y
|
||||
|
||||
- name: Set Build Config
|
||||
run: cp -vf ./pika-build-config/amd64-v3.sh ./pika-build-config.sh
|
||||
|
||||
- name: Build Package
|
||||
run: ./main.sh
|
||||
|
||||
- name: Release Package
|
||||
run: ./release.sh
|
40
.github/workflows/release-nesti386.yml
vendored
Normal file
40
.github/workflows/release-nesti386.yml
vendored
Normal file
@ -0,0 +1,40 @@
|
||||
name: PikaOS Package Build & Release (i386)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- '.github/release-nest-i386'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/pikaos-linux/pikaos-builder:nesti386
|
||||
volumes:
|
||||
- /proc:/proc
|
||||
options: --privileged -it
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Install SSH key
|
||||
uses: shimataro/ssh-key-action@v2
|
||||
with:
|
||||
key: ${{ secrets.SSH_KEY }}
|
||||
name: id_rsa
|
||||
known_hosts: ${{ secrets.KNOWN_HOSTS }}
|
||||
if_key_exists: replace
|
||||
|
||||
- name: Update APT Cache
|
||||
run: apt-get update -y
|
||||
|
||||
- name: Set Build Config
|
||||
run: cp -vf ./pika-build-config/i386.sh ./pika-build-config.sh
|
||||
|
||||
- name: Build Package
|
||||
run: ./main.sh
|
||||
|
||||
- name: Release Package
|
||||
run: ./release.sh
|
40
.github/workflows/release-nestv3.yml
vendored
Normal file
40
.github/workflows/release-nestv3.yml
vendored
Normal file
@ -0,0 +1,40 @@
|
||||
name: PikaOS Package Build & Release (amd64-v3)
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- '.github/release-nest-v3'
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: ghcr.io/pikaos-linux/pikaos-builder:nestv3
|
||||
volumes:
|
||||
- /proc:/proc
|
||||
options: --privileged -it
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Install SSH key
|
||||
uses: shimataro/ssh-key-action@v2
|
||||
with:
|
||||
key: ${{ secrets.SSH_KEY }}
|
||||
name: id_rsa
|
||||
known_hosts: ${{ secrets.KNOWN_HOSTS }}
|
||||
if_key_exists: replace
|
||||
|
||||
- name: Update APT Cache
|
||||
run: apt-get update -y
|
||||
|
||||
- name: Set Build Config
|
||||
run: cp -vf ./pika-build-config/amd64-v3.sh ./pika-build-config.sh
|
||||
|
||||
- name: Build Package
|
||||
run: ./main.sh
|
||||
|
||||
- name: Release Package
|
||||
run: ./release.sh
|
373
LICENSE
Normal file
373
LICENSE
Normal file
@ -0,0 +1,373 @@
|
||||
Mozilla Public License Version 2.0
|
||||
==================================
|
||||
|
||||
1. Definitions
|
||||
--------------
|
||||
|
||||
1.1. "Contributor"
|
||||
means each individual or legal entity that creates, contributes to
|
||||
the creation of, or owns Covered Software.
|
||||
|
||||
1.2. "Contributor Version"
|
||||
means the combination of the Contributions of others (if any) used
|
||||
by a Contributor and that particular Contributor's Contribution.
|
||||
|
||||
1.3. "Contribution"
|
||||
means Covered Software of a particular Contributor.
|
||||
|
||||
1.4. "Covered Software"
|
||||
means Source Code Form to which the initial Contributor has attached
|
||||
the notice in Exhibit A, the Executable Form of such Source Code
|
||||
Form, and Modifications of such Source Code Form, in each case
|
||||
including portions thereof.
|
||||
|
||||
1.5. "Incompatible With Secondary Licenses"
|
||||
means
|
||||
|
||||
(a) that the initial Contributor has attached the notice described
|
||||
in Exhibit B to the Covered Software; or
|
||||
|
||||
(b) that the Covered Software was made available under the terms of
|
||||
version 1.1 or earlier of the License, but not also under the
|
||||
terms of a Secondary License.
|
||||
|
||||
1.6. "Executable Form"
|
||||
means any form of the work other than Source Code Form.
|
||||
|
||||
1.7. "Larger Work"
|
||||
means a work that combines Covered Software with other material, in
|
||||
a separate file or files, that is not Covered Software.
|
||||
|
||||
1.8. "License"
|
||||
means this document.
|
||||
|
||||
1.9. "Licensable"
|
||||
means having the right to grant, to the maximum extent possible,
|
||||
whether at the time of the initial grant or subsequently, any and
|
||||
all of the rights conveyed by this License.
|
||||
|
||||
1.10. "Modifications"
|
||||
means any of the following:
|
||||
|
||||
(a) any file in Source Code Form that results from an addition to,
|
||||
deletion from, or modification of the contents of Covered
|
||||
Software; or
|
||||
|
||||
(b) any new file in Source Code Form that contains any Covered
|
||||
Software.
|
||||
|
||||
1.11. "Patent Claims" of a Contributor
|
||||
means any patent claim(s), including without limitation, method,
|
||||
process, and apparatus claims, in any patent Licensable by such
|
||||
Contributor that would be infringed, but for the grant of the
|
||||
License, by the making, using, selling, offering for sale, having
|
||||
made, import, or transfer of either its Contributions or its
|
||||
Contributor Version.
|
||||
|
||||
1.12. "Secondary License"
|
||||
means either the GNU General Public License, Version 2.0, the GNU
|
||||
Lesser General Public License, Version 2.1, the GNU Affero General
|
||||
Public License, Version 3.0, or any later versions of those
|
||||
licenses.
|
||||
|
||||
1.13. "Source Code Form"
|
||||
means the form of the work preferred for making modifications.
|
||||
|
||||
1.14. "You" (or "Your")
|
||||
means an individual or a legal entity exercising rights under this
|
||||
License. For legal entities, "You" includes any entity that
|
||||
controls, is controlled by, or is under common control with You. For
|
||||
purposes of this definition, "control" means (a) the power, direct
|
||||
or indirect, to cause the direction or management of such entity,
|
||||
whether by contract or otherwise, or (b) ownership of more than
|
||||
fifty percent (50%) of the outstanding shares or beneficial
|
||||
ownership of such entity.
|
||||
|
||||
2. License Grants and Conditions
|
||||
--------------------------------
|
||||
|
||||
2.1. Grants
|
||||
|
||||
Each Contributor hereby grants You a world-wide, royalty-free,
|
||||
non-exclusive license:
|
||||
|
||||
(a) under intellectual property rights (other than patent or trademark)
|
||||
Licensable by such Contributor to use, reproduce, make available,
|
||||
modify, display, perform, distribute, and otherwise exploit its
|
||||
Contributions, either on an unmodified basis, with Modifications, or
|
||||
as part of a Larger Work; and
|
||||
|
||||
(b) under Patent Claims of such Contributor to make, use, sell, offer
|
||||
for sale, have made, import, and otherwise transfer either its
|
||||
Contributions or its Contributor Version.
|
||||
|
||||
2.2. Effective Date
|
||||
|
||||
The licenses granted in Section 2.1 with respect to any Contribution
|
||||
become effective for each Contribution on the date the Contributor first
|
||||
distributes such Contribution.
|
||||
|
||||
2.3. Limitations on Grant Scope
|
||||
|
||||
The licenses granted in this Section 2 are the only rights granted under
|
||||
this License. No additional rights or licenses will be implied from the
|
||||
distribution or licensing of Covered Software under this License.
|
||||
Notwithstanding Section 2.1(b) above, no patent license is granted by a
|
||||
Contributor:
|
||||
|
||||
(a) for any code that a Contributor has removed from Covered Software;
|
||||
or
|
||||
|
||||
(b) for infringements caused by: (i) Your and any other third party's
|
||||
modifications of Covered Software, or (ii) the combination of its
|
||||
Contributions with other software (except as part of its Contributor
|
||||
Version); or
|
||||
|
||||
(c) under Patent Claims infringed by Covered Software in the absence of
|
||||
its Contributions.
|
||||
|
||||
This License does not grant any rights in the trademarks, service marks,
|
||||
or logos of any Contributor (except as may be necessary to comply with
|
||||
the notice requirements in Section 3.4).
|
||||
|
||||
2.4. Subsequent Licenses
|
||||
|
||||
No Contributor makes additional grants as a result of Your choice to
|
||||
distribute the Covered Software under a subsequent version of this
|
||||
License (see Section 10.2) or under the terms of a Secondary License (if
|
||||
permitted under the terms of Section 3.3).
|
||||
|
||||
2.5. Representation
|
||||
|
||||
Each Contributor represents that the Contributor believes its
|
||||
Contributions are its original creation(s) or it has sufficient rights
|
||||
to grant the rights to its Contributions conveyed by this License.
|
||||
|
||||
2.6. Fair Use
|
||||
|
||||
This License is not intended to limit any rights You have under
|
||||
applicable copyright doctrines of fair use, fair dealing, or other
|
||||
equivalents.
|
||||
|
||||
2.7. Conditions
|
||||
|
||||
Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
|
||||
in Section 2.1.
|
||||
|
||||
3. Responsibilities
|
||||
-------------------
|
||||
|
||||
3.1. Distribution of Source Form
|
||||
|
||||
All distribution of Covered Software in Source Code Form, including any
|
||||
Modifications that You create or to which You contribute, must be under
|
||||
the terms of this License. You must inform recipients that the Source
|
||||
Code Form of the Covered Software is governed by the terms of this
|
||||
License, and how they can obtain a copy of this License. You may not
|
||||
attempt to alter or restrict the recipients' rights in the Source Code
|
||||
Form.
|
||||
|
||||
3.2. Distribution of Executable Form
|
||||
|
||||
If You distribute Covered Software in Executable Form then:
|
||||
|
||||
(a) such Covered Software must also be made available in Source Code
|
||||
Form, as described in Section 3.1, and You must inform recipients of
|
||||
the Executable Form how they can obtain a copy of such Source Code
|
||||
Form by reasonable means in a timely manner, at a charge no more
|
||||
than the cost of distribution to the recipient; and
|
||||
|
||||
(b) You may distribute such Executable Form under the terms of this
|
||||
License, or sublicense it under different terms, provided that the
|
||||
license for the Executable Form does not attempt to limit or alter
|
||||
the recipients' rights in the Source Code Form under this License.
|
||||
|
||||
3.3. Distribution of a Larger Work
|
||||
|
||||
You may create and distribute a Larger Work under terms of Your choice,
|
||||
provided that You also comply with the requirements of this License for
|
||||
the Covered Software. If the Larger Work is a combination of Covered
|
||||
Software with a work governed by one or more Secondary Licenses, and the
|
||||
Covered Software is not Incompatible With Secondary Licenses, this
|
||||
License permits You to additionally distribute such Covered Software
|
||||
under the terms of such Secondary License(s), so that the recipient of
|
||||
the Larger Work may, at their option, further distribute the Covered
|
||||
Software under the terms of either this License or such Secondary
|
||||
License(s).
|
||||
|
||||
3.4. Notices
|
||||
|
||||
You may not remove or alter the substance of any license notices
|
||||
(including copyright notices, patent notices, disclaimers of warranty,
|
||||
or limitations of liability) contained within the Source Code Form of
|
||||
the Covered Software, except that You may alter any license notices to
|
||||
the extent required to remedy known factual inaccuracies.
|
||||
|
||||
3.5. Application of Additional Terms
|
||||
|
||||
You may choose to offer, and to charge a fee for, warranty, support,
|
||||
indemnity or liability obligations to one or more recipients of Covered
|
||||
Software. However, You may do so only on Your own behalf, and not on
|
||||
behalf of any Contributor. You must make it absolutely clear that any
|
||||
such warranty, support, indemnity, or liability obligation is offered by
|
||||
You alone, and You hereby agree to indemnify every Contributor for any
|
||||
liability incurred by such Contributor as a result of warranty, support,
|
||||
indemnity or liability terms You offer. You may include additional
|
||||
disclaimers of warranty and limitations of liability specific to any
|
||||
jurisdiction.
|
||||
|
||||
4. Inability to Comply Due to Statute or Regulation
|
||||
---------------------------------------------------
|
||||
|
||||
If it is impossible for You to comply with any of the terms of this
|
||||
License with respect to some or all of the Covered Software due to
|
||||
statute, judicial order, or regulation then You must: (a) comply with
|
||||
the terms of this License to the maximum extent possible; and (b)
|
||||
describe the limitations and the code they affect. Such description must
|
||||
be placed in a text file included with all distributions of the Covered
|
||||
Software under this License. Except to the extent prohibited by statute
|
||||
or regulation, such description must be sufficiently detailed for a
|
||||
recipient of ordinary skill to be able to understand it.
|
||||
|
||||
5. Termination
|
||||
--------------
|
||||
|
||||
5.1. The rights granted under this License will terminate automatically
|
||||
if You fail to comply with any of its terms. However, if You become
|
||||
compliant, then the rights granted under this License from a particular
|
||||
Contributor are reinstated (a) provisionally, unless and until such
|
||||
Contributor explicitly and finally terminates Your grants, and (b) on an
|
||||
ongoing basis, if such Contributor fails to notify You of the
|
||||
non-compliance by some reasonable means prior to 60 days after You have
|
||||
come back into compliance. Moreover, Your grants from a particular
|
||||
Contributor are reinstated on an ongoing basis if such Contributor
|
||||
notifies You of the non-compliance by some reasonable means, this is the
|
||||
first time You have received notice of non-compliance with this License
|
||||
from such Contributor, and You become compliant prior to 30 days after
|
||||
Your receipt of the notice.
|
||||
|
||||
5.2. If You initiate litigation against any entity by asserting a patent
|
||||
infringement claim (excluding declaratory judgment actions,
|
||||
counter-claims, and cross-claims) alleging that a Contributor Version
|
||||
directly or indirectly infringes any patent, then the rights granted to
|
||||
You by any and all Contributors for the Covered Software under Section
|
||||
2.1 of this License shall terminate.
|
||||
|
||||
5.3. In the event of termination under Sections 5.1 or 5.2 above, all
|
||||
end user license agreements (excluding distributors and resellers) which
|
||||
have been validly granted by You or Your distributors under this License
|
||||
prior to termination shall survive termination.
|
||||
|
||||
************************************************************************
|
||||
* *
|
||||
* 6. Disclaimer of Warranty *
|
||||
* ------------------------- *
|
||||
* *
|
||||
* Covered Software is provided under this License on an "as is" *
|
||||
* basis, without warranty of any kind, either expressed, implied, or *
|
||||
* statutory, including, without limitation, warranties that the *
|
||||
* Covered Software is free of defects, merchantable, fit for a *
|
||||
* particular purpose or non-infringing. The entire risk as to the *
|
||||
* quality and performance of the Covered Software is with You. *
|
||||
* Should any Covered Software prove defective in any respect, You *
|
||||
* (not any Contributor) assume the cost of any necessary servicing, *
|
||||
* repair, or correction. This disclaimer of warranty constitutes an *
|
||||
* essential part of this License. No use of any Covered Software is *
|
||||
* authorized under this License except under this disclaimer. *
|
||||
* *
|
||||
************************************************************************
|
||||
|
||||
************************************************************************
|
||||
* *
|
||||
* 7. Limitation of Liability *
|
||||
* -------------------------- *
|
||||
* *
|
||||
* Under no circumstances and under no legal theory, whether tort *
|
||||
* (including negligence), contract, or otherwise, shall any *
|
||||
* Contributor, or anyone who distributes Covered Software as *
|
||||
* permitted above, be liable to You for any direct, indirect, *
|
||||
* special, incidental, or consequential damages of any character *
|
||||
* including, without limitation, damages for lost profits, loss of *
|
||||
* goodwill, work stoppage, computer failure or malfunction, or any *
|
||||
* and all other commercial damages or losses, even if such party *
|
||||
* shall have been informed of the possibility of such damages. This *
|
||||
* limitation of liability shall not apply to liability for death or *
|
||||
* personal injury resulting from such party's negligence to the *
|
||||
* extent applicable law prohibits such limitation. Some *
|
||||
* jurisdictions do not allow the exclusion or limitation of *
|
||||
* incidental or consequential damages, so this exclusion and *
|
||||
* limitation may not apply to You. *
|
||||
* *
|
||||
************************************************************************
|
||||
|
||||
8. Litigation
|
||||
-------------
|
||||
|
||||
Any litigation relating to this License may be brought only in the
|
||||
courts of a jurisdiction where the defendant maintains its principal
|
||||
place of business and such litigation shall be governed by laws of that
|
||||
jurisdiction, without reference to its conflict-of-law provisions.
|
||||
Nothing in this Section shall prevent a party's ability to bring
|
||||
cross-claims or counter-claims.
|
||||
|
||||
9. Miscellaneous
|
||||
----------------
|
||||
|
||||
This License represents the complete agreement concerning the subject
|
||||
matter hereof. If any provision of this License is held to be
|
||||
unenforceable, such provision shall be reformed only to the extent
|
||||
necessary to make it enforceable. Any law or regulation which provides
|
||||
that the language of a contract shall be construed against the drafter
|
||||
shall not be used to construe this License against a Contributor.
|
||||
|
||||
10. Versions of the License
|
||||
---------------------------
|
||||
|
||||
10.1. New Versions
|
||||
|
||||
Mozilla Foundation is the license steward. Except as provided in Section
|
||||
10.3, no one other than the license steward has the right to modify or
|
||||
publish new versions of this License. Each version will be given a
|
||||
distinguishing version number.
|
||||
|
||||
10.2. Effect of New Versions
|
||||
|
||||
You may distribute the Covered Software under the terms of the version
|
||||
of the License under which You originally received the Covered Software,
|
||||
or under the terms of any subsequent version published by the license
|
||||
steward.
|
||||
|
||||
10.3. Modified Versions
|
||||
|
||||
If you create software not governed by this License, and you want to
|
||||
create a new license for such software, you may create and use a
|
||||
modified version of this License if you rename the license and remove
|
||||
any references to the name of the license steward (except to note that
|
||||
such modified license differs from this License).
|
||||
|
||||
10.4. Distributing Source Code Form that is Incompatible With Secondary
|
||||
Licenses
|
||||
|
||||
If You choose to distribute Source Code Form that is Incompatible With
|
||||
Secondary Licenses under the terms of this version of the License, the
|
||||
notice described in Exhibit B of this License must be attached.
|
||||
|
||||
Exhibit A - Source Code Form License Notice
|
||||
-------------------------------------------
|
||||
|
||||
This Source Code Form is subject to the terms of the Mozilla Public
|
||||
License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
|
||||
If it is not possible or desirable to put the notice in a particular
|
||||
file, then You may include the notice in a location (such as a LICENSE
|
||||
file in a relevant directory) where a recipient would be likely to look
|
||||
for such a notice.
|
||||
|
||||
You may add additional accurate notices of copyright ownership.
|
||||
|
||||
Exhibit B - "Incompatible With Secondary Licenses" Notice
|
||||
---------------------------------------------------------
|
||||
|
||||
This Source Code Form is "Incompatible With Secondary Licenses", as
|
||||
defined by the Mozilla Public License, v. 2.0.
|
21
create-from-template.sh
Executable file
21
create-from-template.sh
Executable file
@ -0,0 +1,21 @@
|
||||
#! /bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
source ./version.sh
|
||||
|
||||
mv ./nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR# ./nvidia-graphics-drivers-"$DRIVER_VERSION_MAJOR"
|
||||
|
||||
for f in $(find ./nvidia-graphics-drivers-"$DRIVER_VERSION_MAJOR" -type f)
|
||||
do
|
||||
mv "$f" "$(echo "$f" | sed s/#DRIVER_VERSION_MAJOR#/"$DRIVER_VERSION_MAJOR"/)" || true
|
||||
done
|
||||
|
||||
for f in $(find ./nvidia-graphics-drivers-"$DRIVER_VERSION_MAJOR" -type f)
|
||||
do
|
||||
sed -i s/#DRIVER_VERSION_MAJOR#/"$DRIVER_VERSION_MAJOR"/g "$f" || true
|
||||
sed -i s/#DRIVER_VERSION_FULL#/"$DRIVER_VERSION_FULL"/g "$f" || true
|
||||
sed -i s/#DRIVER_ARCH#/"$DRIVER_ARCH"/g "$f" || true
|
||||
done
|
||||
|
||||
rm -f ./create-from-template.sh
|
26
main.sh
Executable file
26
main.sh
Executable file
@ -0,0 +1,26 @@
|
||||
#! /bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
source ./version.sh
|
||||
|
||||
source ./pika-build-config.sh
|
||||
|
||||
echo "$PIKA_BUILD_ARCH" > pika-build-arch
|
||||
|
||||
# Get nvidia run file
|
||||
cd ./nvidia-graphics-drivers-"$DRIVER_VERSION_MAJOR"
|
||||
wget https://us.download.nvidia.com/XFree86/$DRIVER_ARCH/$DRIVER_VERSION_FULL/NVIDIA-$DRIVER_ARCH-$DRIVER_VERSION_FULL.run -O nvidia-installer.run
|
||||
chmod +x nvidia-installer.run
|
||||
|
||||
# Get build deps
|
||||
apt-get build-dep ./ -y
|
||||
|
||||
# Build package
|
||||
LOGNAME=root dh_make --createorig -y -l -p nvidia-graphics-drivers-"$DRIVER_VERSION_MAJOR"_"$DRIVER_VERSION_FULL" || true
|
||||
dpkg-buildpackage --no-sign
|
||||
|
||||
# Move the debs to output
|
||||
cd ../
|
||||
mkdir -p ./output
|
||||
mv ./*.deb ./output/
|
@ -0,0 +1,84 @@
|
||||
Short summary about selecting a glx implementation
|
||||
==================================================
|
||||
|
||||
To switch between the current and legacy NVIDIA drivers, use
|
||||
|
||||
update-glx --config nvidia
|
||||
|
||||
To switch between the GLX implementation from MESA/glvnd and NVIDIA
|
||||
use the command
|
||||
|
||||
update-glx --config glx
|
||||
|
||||
This will also trigger an update of the initrd with a possibly changed
|
||||
kernel module blacklist.
|
||||
|
||||
|
||||
Detailed description of the diversions/alternatives for libGL.so.1 etc.
|
||||
=======================================================================
|
||||
|
||||
NVIDIA provides accelerated OpenGL libraries libGL.so.* which are shipped
|
||||
in the libgl1-nvidia-glx (or a corresponding libgl1-nvidia-legacy*-glx)
|
||||
package. Furthermore NVIDIA maintains several legacy driver releases that
|
||||
support older GPUs and ship files with the same names (but of course they
|
||||
may not be mixed between different versions).
|
||||
As these libraries and modules "replace" system libraries (libGL.so* from
|
||||
MESA) and Xorg modules, care has to be taken to allow clean upgrades of
|
||||
both the drivers and the system libraries.
|
||||
|
||||
Several additional requests have risen over time, e.g. from live systems:
|
||||
* allow parallel installation of several drivers (even from different
|
||||
vendors)
|
||||
* allow driver selection at runtime
|
||||
* allow switching back to the free Xorg/MESA implementation without having
|
||||
to uninstall the accelerated driver and libraries
|
||||
|
||||
The vendor replacement libraries are only meant to be used as a complete
|
||||
set as partial usage usually lead to hard to detect errors. So we only
|
||||
support switching to a vendor implementation completely or using it not at
|
||||
all.
|
||||
|
||||
Therefore we have chosen the following approach using diversions and
|
||||
alternatives.
|
||||
|
||||
The system libraries are being diverted (to /usr/lib/mesa-diverted), so they
|
||||
are moved out of the way of possible replacements and further updates to
|
||||
them will happen at the diversion location. This is implemented in the
|
||||
package glx-diversions which is a general solution to be used by all vendor
|
||||
implementations.
|
||||
All vendor implementations install their files in a private library directory
|
||||
so there are no file conflicts happening. Then they register an alternative
|
||||
'glx' which allows one to select the implementation. In case it is enabled,
|
||||
all libraries (and other files) belonging to the implementation will be enabled
|
||||
via slave alternatives, i.e. appropriate symlinks will be put into the system
|
||||
locations. Triggers are being used to detect the installation or removal of
|
||||
any file belonging to the slave set of an alternative and to update the
|
||||
alternative accordingly.
|
||||
|
||||
User configuration can be done with the command
|
||||
|
||||
update-glx --config glx
|
||||
|
||||
which allows one to select a glx provider from mesa, nvidia.
|
||||
(Available choices depend on the installed drivers.)
|
||||
|
||||
For NVIDIA, there is a second alternative that allows one to switch between
|
||||
the current driver version and eventually installed legacy ones:
|
||||
|
||||
update-glx --config nvidia
|
||||
|
||||
|
||||
libGL.so
|
||||
========
|
||||
|
||||
The libGL.so link is managed by a dpkg trigger as an alternative, too.
|
||||
But there are no alternative solutions available besides the diverted link
|
||||
from the libgl1-mesa-dev package (if this package is installed), so this
|
||||
cannot be reconfigured. The intention behind this is to always link an
|
||||
application at compile time to the MESA implementation of libGL.so.1 in
|
||||
order to produce portable binaries, but to use the accelerated libGL.so.1
|
||||
when the application is being executed.
|
||||
|
||||
|
||||
-- Andreas Beckmann <debian@abeckmann.de> Wed, 22 Jun 2011 12:44:11 +0200
|
||||
|
@ -0,0 +1,5 @@
|
||||
nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR# (#DRIVER_VERSION_FULL#-101pika2) pika; urgency=medium
|
||||
|
||||
* New upstream
|
||||
|
||||
-- Andreas Beckmann <root@cybik.moe> Wed, 22 May 2024 07:31:41 -0700
|
1339
nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/control
Normal file
1339
nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/control
Normal file
File diff suppressed because it is too large
Load Diff
445
nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/copyright
Normal file
445
nvidia-graphics-drivers-#DRIVER_VERSION_MAJOR#/debian/copyright
Normal file
@ -0,0 +1,445 @@
|
||||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Upstream-Name: NVIDIA Linux Display Drivers
|
||||
Upstream-Contact: NVIDIA Corporation <linux-bugs@nvidia.com>
|
||||
Source:
|
||||
https://download.nvidia.com/XFree86/Linux-x86_64/
|
||||
https://download.nvidia.com/XFree86/Linux-aarch64/
|
||||
Disclaimer:
|
||||
This package is not part of the GNU/Linux Debian distribution. It is
|
||||
provided in the non-free archive area as a convenience to Debian users.
|
||||
The contents of this package cannot be distributed as part of the Debian
|
||||
distribution because the NVIDIA Software License covering it is not a free
|
||||
software license. No modifications of the included binaries are
|
||||
permitted, and the binaries are not distributed with source code.
|
||||
|
||||
Files:
|
||||
amd64/*
|
||||
arm64/*
|
||||
ppc64el/*
|
||||
Copyright:
|
||||
1993-2023 NVIDIA Corporation. All rights reserved.
|
||||
License: NVIDIA-graphics-drivers
|
||||
|
||||
Files: supported-gpus/supported-gpus.json
|
||||
Copyright: 2020 NVIDIA Corporation
|
||||
License: zlib/libpng
|
||||
|
||||
Files: debian/*
|
||||
Copyright: 2001-2010 Randall Donald <rdonald@debian.org>
|
||||
2009-2010 Andres Mejia <mcitadel@gmail.com>
|
||||
2009-2024 Andreas Beckmann <anbe@debian.org>
|
||||
2010-2011 Russ Allbery <rra@debian.org>
|
||||
2014-2015 Vincent Cheng <vcheng@debian.org>
|
||||
2015-2019 Luca Boccassi <bluca@debian.org>
|
||||
2018 Philipp Kern <pkern@debian.org>
|
||||
Based on packages by Christopher Cheney.
|
||||
License: GPL-2.0+
|
||||
|
||||
Files: debian/detect/nvidia-detect.in
|
||||
Copyright:
|
||||
© 2008-2011 Filipus Klutiero <chealer@gmail.com>
|
||||
© 2011-2024 Andreas Beckmann <anbe@debian.org>
|
||||
License: GPL-2.0+
|
||||
|
||||
Files: debian/patches/*
|
||||
Copyright:
|
||||
(c) 1993-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
|
||||
License: Expat
|
||||
Comment:
|
||||
Except where noted otherwise, the individual kernel module source files
|
||||
(but not the blobs) are licensed as MIT (aka Expat).
|
||||
|
||||
License: GPL-2.0+
|
||||
This package is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
.
|
||||
This package is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
.
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <https://www.gnu.org/licenses/>
|
||||
.
|
||||
On Debian systems, the complete text of the GNU General Public
|
||||
License version 2 can be found in "/usr/share/common-licenses/GPL-2".
|
||||
|
||||
License: Expat
|
||||
Permission is hereby granted, free of charge, to any person obtaining a
|
||||
copy of this software and associated documentation files (the "Software"),
|
||||
to deal in the Software without restriction, including without limitation
|
||||
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
and/or sell copies of the Software, and to permit persons to whom the
|
||||
Software is furnished to do so, subject to the following conditions:
|
||||
.
|
||||
The above copyright notice and this permission notice shall be included
|
||||
in all copies or substantial portions of the Software.
|
||||
.
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
||||
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
||||
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
||||
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
||||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
License: NVIDIA-graphics-drivers
|
||||
NVIDIA Driver License Agreement
|
||||
.
|
||||
IMPORTANT NOTICE - PLEASE READ AND AGREE BEFORE USING THE SOFTWARE.
|
||||
.
|
||||
This license agreement ("Agreement") is a legal agreement between you, whether
|
||||
an individual or entity ("you") and NVIDIA Corporation ("NVIDIA") and governs
|
||||
your use of the NVIDIA driver, and any additional software and materials
|
||||
provided (the "SOFTWARE").
|
||||
.
|
||||
If you don't have the required age or authority to enter into this Agreement or
|
||||
if you don't accept all the terms below, do not use the SOFTWARE.
|
||||
.
|
||||
You agree to use the SOFTWARE only for purposes that are permitted by this
|
||||
Agreement and any applicable law or regulation in the relevant jurisdictions.
|
||||
.
|
||||
1. License.
|
||||
.
|
||||
1.1 Subject to the terms of this Agreement, NVIDIA grants you a non-exclusive,
|
||||
revocable, non-transferable and non-sublicensable (except as expressly provided
|
||||
in this Agreement) license to:
|
||||
.
|
||||
a. Install and use copies of the SOFTWARE,
|
||||
.
|
||||
b. Modify and create derivative works of any portion of the SOFTWARE delivered
|
||||
by NVIDIA in source code format,
|
||||
.
|
||||
c. Deploy, for your own use, the SOFTWARE on infrastructure you own or lease,
|
||||
and
|
||||
.
|
||||
d. Distribute the SOFTWARE provided for use with operating systems distributed
|
||||
under the terms of an OSI-approved open source license as listed by the Open
|
||||
Source Initiative at http://opensource.org, provided that (i) the binary files
|
||||
thereof are not modified in any way (except for uncompressing of compressed
|
||||
files) and (ii) this Agreement is provided to each SOFTWARE recipient.
|
||||
.
|
||||
2. Limitations.
|
||||
.
|
||||
The following license limitations apply to your use of the SOFTWARE:
|
||||
.
|
||||
2.1 The SOFTWARE is only licensed for use in conjunction with microprocessor(s),
|
||||
SoCs, and GPUs which have been (i) designed by NVIDIA and/or its affiliates and
|
||||
(ii) sold (directly or indirectly) by NVIDIA and/or its affiliates ("NVIDIA
|
||||
Platform"). You may only use firmware in NVIDIA Platforms. You may not translate
|
||||
firmware, nor cause or permit firmware to be translated, from the architecture
|
||||
or language in which it is originally provided by NVIDIA, into any other
|
||||
architecture or language.
|
||||
.
|
||||
2.2 You may not reverse engineer, decompile, or disassemble the SOFTWARE
|
||||
provided in binary form, nor attempt in any other manner to obtain source code
|
||||
of such SOFTWARE.
|
||||
.
|
||||
2.3 You may not modify or create derivative works of the SOFTWARE provided in
|
||||
binary form.
|
||||
.
|
||||
2.4 You may not distribute any modified header files.
|
||||
.
|
||||
2.5 You may not change or remove copyright or other proprietary notices in the
|
||||
SOFTWARE, or misrepresent the authorship of the SOFTWARE, and you must cause any
|
||||
modified files to carry prominent notices stating that you changed the files
|
||||
such that modifications are not misrepresented as an original SOFTWARE.
|
||||
.
|
||||
2.6 You may not bypass, disable, or circumvent any technical limitation,
|
||||
encryption, security, digital rights management or authentication mechanism in
|
||||
the SOFTWARE.
|
||||
.
|
||||
2.7 Except as expressly granted in this Agreement, you may not sell, rent,
|
||||
sublicense, distribute or transfer the SOFTWARE or provide commercial hosting
|
||||
services with the SOFTWARE.
|
||||
.
|
||||
2.8 You agree that GeForce or Titan SOFTWARE: (i) is licensed for use only on
|
||||
GeForce or Titan hardware products you own, and (ii) is not licensed for
|
||||
datacenter deployment.
|
||||
.
|
||||
2.9 You may not use the SOFTWARE in any manner that would cause it to become
|
||||
subject to an open source software license, subject to the terms in the
|
||||
"Components Under Other Licenses" section below.
|
||||
.
|
||||
2.10 You acknowledge that the SOFTWARE as delivered is not tested or certified
|
||||
by NVIDIA for use in any system or application where the use of or failure of
|
||||
such system or application developed with the SOFTWARE could result in injury,
|
||||
death or catastrophic damage (each, a "Critical Application"). Examples of
|
||||
Critical Applications include use in avionics, navigation, autonomous vehicle
|
||||
applications, automotive products, military, medical, life support or other life
|
||||
critical applications. NVIDIA will not be liable to you or any third party, in
|
||||
whole or in part, for any claims or damages arising from these uses. You are
|
||||
solely responsible for ensuring that systems and applications developed with the
|
||||
SOFTWARE include sufficient safety and redundancy features, and comply with all
|
||||
applicable legal and regulatory standards and requirements.
|
||||
.
|
||||
2.11 You agree to defend, indemnify and hold harmless NVIDIA and its affiliates,
|
||||
and their respective employees, contractors, agents, officers and directors,
|
||||
from and against any and all claims, damages, obligations, losses, liabilities,
|
||||
costs or debt, fines, restitutions and expenses (including but not limited to
|
||||
attorney's fees and costs incident to establishing the right of indemnification)
|
||||
arising out of or related to products or services that have been developed with
|
||||
or use the SOFTWARE (including for use in or for Critical Applications), and for
|
||||
use of the SOFTWARE outside of the scope of this Agreement or not in compliance
|
||||
with its terms.
|
||||
.
|
||||
3. Authorized Users.
|
||||
.
|
||||
You may allow employees and contractors of your entity or of your
|
||||
subsidiary(ies) to access and use the SOFTWARE from your secure network to
|
||||
perform the work authorized by this Agreement on your behalf.
|
||||
.
|
||||
If you are an academic institution, you may allow users enrolled or employed by
|
||||
the academic institution to access and use the SOFTWARE as authorized by this
|
||||
Agreement from your secure network.
|
||||
.
|
||||
You are responsible for the compliance with the terms of this Agreement by your
|
||||
authorized users. Any act or omission that if committed by you would constitute
|
||||
a breach of this Agreement will be deemed to constitute a breach of this
|
||||
Agreement if committed by your authorized users.
|
||||
.
|
||||
4. Pre-Release SOFTWARE.
|
||||
.
|
||||
The SOFTWARE versions identified as alpha, beta, preview or otherwise as
|
||||
pre-release may not be fully functional, may contain errors or design flaws, and
|
||||
may have reduced or different security, privacy, accessibility and reliability
|
||||
standards relative to commercial versions of NVIDIA software and materials.
|
||||
.
|
||||
You may use pre-release SOFTWARE at your own risk, understanding that
|
||||
pre-release SOFTWARE is not intended for use in production or business-critical
|
||||
systems and NVIDIA may choose not to make available a commercial version of any
|
||||
pre-release SOFTWARE.
|
||||
.
|
||||
5. Support and Updates.
|
||||
.
|
||||
NVIDIA is not obligated to support any SOFTWARE, unless there is a separate
|
||||
agreement for this purpose. NVIDIA may, at its option, make available patches,
|
||||
workarounds or other updates to the SOFTWARE. Unless the updates are provided
|
||||
with their separate governing terms, they are deemed part of the SOFTWARE
|
||||
licensed to you as provided in this Agreement.
|
||||
.
|
||||
6. Components Under Other Licenses.
|
||||
.
|
||||
The SOFTWARE may include or be distributed with components provided with
|
||||
separate legal notices or terms that accompany the components, such as open
|
||||
source software licenses and other license terms ("Other Licenses"). The
|
||||
components are subject to the applicable Other Licenses, including any
|
||||
proprietary notices, disclaimers, requirements and extended use rights; except
|
||||
that this Agreement will prevail regarding the use of third-party open source
|
||||
software, unless a third-party open source software license requires its license
|
||||
terms to prevail. Open source software license means any software, data or
|
||||
documentation subject to any license identified as an open source license by the
|
||||
Open Source Initiative (http://opensource.org), Free Software Foundation
|
||||
(http://www.fsf.org) or other similar open source organization or listed by the
|
||||
Software Package Data Exchange (SPDX) Workgroup under the Linux Foundation
|
||||
(http://www.spdx.org).
|
||||
.
|
||||
You acknowledge and agree that it is your sole responsibility to obtain any
|
||||
additional third-party licenses required to make, have made, use, have used,
|
||||
sell, import, and offer for sale your products or services that include or
|
||||
incorporate any third-party software and content, including, without limitation,
|
||||
audio and/or video encoders and decoders and implementations of technical
|
||||
standards. NVIDIA does not grant to you under this Agreement any necessary
|
||||
patent or other rights, including standard essential patent rights, with respect
|
||||
to any third-party software and content.
|
||||
.
|
||||
7. Termination.
|
||||
.
|
||||
This Agreement will automatically terminate without notice from NVIDIA if you
|
||||
fail to comply with any of the terms in this Agreement or if you commence or
|
||||
participate in any legal proceeding against NVIDIA with respect to the
|
||||
SOFTWARE. Upon any termination, you must stop using and destroy all copies of
|
||||
the SOFTWARE. You can terminate this Agreement whenever you want by stopping use
|
||||
of the SOFTWARE and destroying all copies of the SOFTWARE. Your prior
|
||||
distributions according to this Agreement are not affected by termination. All
|
||||
provisions will survive termination, except for the licenses granted to you.
|
||||
.
|
||||
8. Ownership.
|
||||
.
|
||||
The SOFTWARE, including all intellectual property rights, is and will remain the
|
||||
sole and exclusive property of NVIDIA or its licensors. Except as expressly
|
||||
granted in this Agreement, (i) NVIDIA reserves all rights, interests, and
|
||||
remedies in connection with the SOFTWARE, and (ii) no other license or right is
|
||||
granted to you by implication, estoppel or otherwise. You agree to cooperate
|
||||
with NVIDIA and provide reasonably requested information to verify your
|
||||
compliance with this Agreement.
|
||||
.
|
||||
9. Feedback.
|
||||
.
|
||||
You may, but you are not obligated to, provide suggestions, requests, fixes,
|
||||
modifications, enhancements, or other feedback regarding the SOFTWARE
|
||||
(collectively, "Feedback"). Feedback, even if designated as confidential by you,
|
||||
will not create any confidentiality obligation for NVIDIA or its affiliates. If
|
||||
you provide Feedback, you grant NVIDIA, its affiliates and its designees a
|
||||
non-exclusive, perpetual, irrevocable, sublicensable, worldwide, royalty-free,
|
||||
fully paid-up and transferable license, under your intellectual property rights,
|
||||
to publicly perform, publicly display, reproduce, use, make, have made, sell,
|
||||
offer for sale, distribute (through multiple tiers of distribution), import,
|
||||
create derivative works of and otherwise commercialize and exploit the Feedback
|
||||
at NVIDIA's discretion. You will not give Feedback (i) that you have reason to
|
||||
believe is subject to any restriction that impairs the exercise of the grant
|
||||
stated in this section; or (ii) subject to license terms which seek to require
|
||||
any product incorporating or developed using such Feedback, or other
|
||||
intellectual property of NVIDIA or its affiliates, to be licensed to or
|
||||
otherwise shared with any third party.
|
||||
.
|
||||
10. Governing Law and Jurisdiction.
|
||||
.
|
||||
This Agreement will be governed in all respects by the laws of the United States
|
||||
and the laws of the State of Delaware, without regard to conflict of laws
|
||||
principles or the United Nations Convention on Contracts for the International
|
||||
Sale of Goods. The state and federal courts residing in Santa Clara County,
|
||||
California will have exclusive jurisdiction over any dispute or claim arising
|
||||
out of or related to this Agreement, and the parties irrevocably consent to
|
||||
personal jurisdiction and venue in those courts; except that either party may
|
||||
apply for injunctive remedies or an equivalent type of urgent legal relief in
|
||||
any jurisdiction.
|
||||
.
|
||||
11. Disclaimer of Warranties.
|
||||
.
|
||||
THE SOFTWARE IS PROVIDED BY NVIDIA AS-IS AND WITH ALL FAULTS. TO THE FULLEST
|
||||
EXTENT PERMITTED BY APPLICABLE LAW, NVIDIA DISCLAIMS ALL WARRANTIES AND
|
||||
REPRESENTATIONS OF ANY KIND, WHETHER EXPRESS, IMPLIED OR STATUTORY, RELATING TO
|
||||
OR ARISING UNDER THIS AGREEMENT, INCLUDING, WITHOUT LIMITATION, THE WARRANTIES
|
||||
OF TITLE, NONINFRINGEMENT, MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE,
|
||||
USAGE OF TRADE AND COURSE OF DEALING. WITHOUT LIMITING THE FOREGOING, NVIDIA
|
||||
DOES NOT WARRANT THAT THE SOFTWARE WILL MEET YOUR REQUIREMENTS; THAT ANY DEFECTS
|
||||
OR ERRORS WILL BE CORRECTED; THAT ANY CERTAIN CONTENT WILL BE AVAILABLE; OR THAT
|
||||
THE SOFTWARE IS FREE OF VIRUSES OR OTHER HARMFUL COMPONENTS.
|
||||
.
|
||||
In addition, you agree that you are solely responsible for maintaining
|
||||
appropriate data backups and system restore points for systems that include the
|
||||
SOFTWARE, and that NVIDIA will have no responsibility for any damage or loss to
|
||||
such systems (including loss of data or access) arising from or relating to (a)
|
||||
any changes to the configuration, application settings, environment variables,
|
||||
registry, drivers, BIOS, or other attributes of the system (or any part of such
|
||||
system) initiated through the SOFTWARE; or (b) installation of any SOFTWARE or
|
||||
third party software patches through the NVIDIA update service.
|
||||
.
|
||||
NO INFORMATION OR ADVICE GIVEN BY NVIDIA WILL IN ANY WAY INCREASE THE SCOPE OF
|
||||
ANY WARRANTY EXPRESSLY PROVIDED IN THIS AGREEMENT. You are responsible for
|
||||
checking that a SOFTWARE version is the appropriate one for your NVIDIA product
|
||||
model, operating system, and computer hardware.
|
||||
.
|
||||
12. Limitations of Liability.
|
||||
.
|
||||
TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT WILL NVIDIA BE
|
||||
LIABLE FOR ANY (I) INDIRECT, PUNITIVE, SPECIAL, INCIDENTAL OR CONSEQUENTIAL
|
||||
DAMAGES, OR (II) DAMAGES FOR (A) THE COST OF PROCURING SUBSTITUTE GOODS, OR (B)
|
||||
LOSS OF PROFITS, REVENUES, USE, DATA OR GOODWILL ARISING OUT OF OR RELATED TO
|
||||
THIS AGREEMENT, WHETHER BASED ON BREACH OF CONTRACT, TORT (INCLUDING
|
||||
NEGLIGENCE), STRICT LIABILITY, OR OTHERWISE, AND EVEN IF NVIDIA HAS BEEN ADVISED
|
||||
OF THE POSSIBILITY OF SUCH DAMAGES AND EVEN IF A PARTY'S REMEDIES FAIL THEIR
|
||||
ESSENTIAL PURPOSE.
|
||||
.
|
||||
ADDITIONALLY, TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, NVIDIA'S TOTAL
|
||||
CUMULATIVE AGGREGATE LIABILITY FOR ANY AND ALL LIABILITIES, OBLIGATIONS OR
|
||||
CLAIMS ARISING OUT OF OR RELATED TO THIS AGREEMENT WILL NOT EXCEED FIVE
|
||||
U.S. DOLLARS (US$5).
|
||||
.
|
||||
13. Data Collection.
|
||||
.
|
||||
If you are using the SOFTWARE on a Windows operating system, you hereby
|
||||
acknowledge that at the time of SOFTWARE installation, NVIDIA will access and
|
||||
collect data to: (a) properly configure and optimize the system for use with the
|
||||
SOFTWARE; (b) deliver content or service through SOFTWARE; and (c) improve
|
||||
NVIDIA products and services. Information collected may include configuration
|
||||
data such as GPU and CPU, and operating system.
|
||||
.
|
||||
The SOFTWARE may contain links to third party websites and services. NVIDIA
|
||||
encourages you to review the privacy statements on those sites and services that
|
||||
you choose to visit to understand how they may collect, use and share your
|
||||
data. NVIDIA is not responsible for the privacy statements or practices of third
|
||||
party sites or services.
|
||||
.
|
||||
Please review the NVIDIA Privacy Policy, located at
|
||||
https://www.nvidia.com/en-us/about-nvidia/privacy-policy, which explains
|
||||
NVIDIA's policy for collecting and using data.
|
||||
.
|
||||
14. Assignment.
|
||||
.
|
||||
NVIDIA may assign, delegate or transfer its rights or obligations under this
|
||||
Agreement by any means or operation of law. You may not, without NVIDIA's prior
|
||||
written consent, assign, delegate or transfer any of its rights or obligations
|
||||
under this Agreement by any means or operation of law, and any attempt to do so
|
||||
is null and void.
|
||||
.
|
||||
15. Trade Compliance.
|
||||
.
|
||||
You agree to comply with all applicable export, import, trade and economic
|
||||
sanctions laws and regulations, including U.S. Export Administration
|
||||
Regulations and Office of Foreign Assets Control regulations. These laws include
|
||||
restrictions on destinations, end-users and end-use.
|
||||
.
|
||||
16. Government Use.
|
||||
.
|
||||
The SOFTWARE, including related documentation ("Protected Items") is a
|
||||
"Commercial product" as this term is defined at 48 C.F.R. 2.101, consisting of
|
||||
"commercial computer software" and "commercial computer software documentation"
|
||||
as such terms are used in, respectively, 48 C.F.R. 12.212 and 48 C.F.R. 227.7202
|
||||
& 252.227- 7014(a)(1). Before any Protected Items are supplied to the
|
||||
U.S. Government, you will (i) inform the U.S. Government in writing that the
|
||||
Protected Items are and must be treated as commercial computer software and
|
||||
commercial computer software documentation developed at private expense; (ii)
|
||||
inform the U.S. Government that the Protected Items are provided subject to the
|
||||
terms of this Agreement; and (iii) mark the Protected Items as commercial
|
||||
computer software and commercial computer software documentation developed at
|
||||
private expense. In no event will you permit the U.S. Government to acquire
|
||||
rights in Protected Items beyond those specified in 48
|
||||
C.F.R. 52.227-19(b)(1)-(2) or 252.227-7013(c) except as expressly approved by
|
||||
NVIDIA in writing.
|
||||
.
|
||||
17. Notices.
|
||||
.
|
||||
Please direct your legal notices or other correspondence to NVIDIA Corporation,
|
||||
2788 San Tomas Expressway, Santa Clara, California 95051, United States of
|
||||
America, Attention: Legal Department. If NVIDIA needs to contact you about the
|
||||
SOFTWARE, you consent to receive the notices by email and that such notices will
|
||||
satisfy any legal communication requirements.
|
||||
.
|
||||
18. Entire Agreement.
|
||||
.
|
||||
Regarding the subject matter of this Agreement, the parties agree that (i) this
|
||||
Agreement constitutes the entire and exclusive agreement between the parties and
|
||||
supersedes all prior and contemporaneous communications and (ii) any additional
|
||||
or different terms or conditions, whether contained in purchase orders, order
|
||||
acknowledgments, invoices or otherwise, will not be binding on the receiving
|
||||
party and are null and void. This Agreement may only be modified in a writing
|
||||
signed by an authorized representative of each party.
|
||||
.
|
||||
If a court of competent jurisdiction rules that a provision of this Agreement is
|
||||
unenforceable, that provision will be deemed modified to the extent necessary to
|
||||
make it enforceable and the remainder of this Agreement will continue in full
|
||||
force and effect.
|
||||
.
|
||||
19. No Waiver.
|
||||
.
|
||||
No failure or delay by a party to enforce any Agreement term or obligation will
|
||||
operate as a waiver by that party, or prevent the enforcement of such term or
|
||||
obligation later.
|
||||
.
|
||||
20. Licensing.
|
||||
.
|
||||
For any questions regarding this Agreement, please contact NVIDIA at
|
||||
driver-licensing@nvidia.com
|
||||
.
|
||||
(v. February 27, 2023)
|
||||
|
||||
License: zlib/libpng
|
||||
This software is provided 'as-is', without any express or implied
|
||||
warranty. In no event will the authors be held liable for any damages
|
||||
arising from the use of this software.
|
||||
.
|
||||
Permission is granted to anyone to use this software for any purpose,
|
||||
including commercial applications, and to alter it and redistribute it
|
||||
freely, subject to the following restrictions:
|
||||
.
|
||||
1. The origin of this software must not be misrepresented; you must not
|
||||
claim that you wrote the original software. If you use this software
|
||||
in a product, an acknowledgment in the product documentation would be
|
||||
appreciated but is not required.
|
||||
2. Altered source versions must be plainly marked as such, and must not be
|
||||
misrepresented as being the original software.
|
||||
3. This notice may not be removed or altered from any source distribution.
|
@ -0,0 +1,2 @@
|
||||
firmware/gsp*.bin lib/firmware/nvidia/#DRIVER_VERSION_FULL#/
|
||||
#RIM_GH100PROD.swidtag usr/share/nvidia/rim/#DRIVER_VERSION_FULL#/
|
@ -0,0 +1,4 @@
|
||||
# Firmware blob.
|
||||
binary-from-other-architecture [lib/firmware/nvidia/#DRIVER_VERSION_FULL#/gsp*.bin]
|
||||
spelling-error-in-binary * [lib/firmware/nvidia/#DRIVER_VERSION_FULL#/gsp*.bin]
|
||||
unstripped-binary-or-object [lib/firmware/nvidia/#DRIVER_VERSION_FULL#/gsp*.bin]
|
@ -0,0 +1,2 @@
|
||||
#! /usr/bin/dh-exec
|
||||
libcuda.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/
|
@ -0,0 +1,3 @@
|
||||
#! /usr/bin/dh-exec
|
||||
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libcuda.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libcuda.so.1
|
||||
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libcuda.so.1 usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libcuda.so
|
@ -0,0 +1,9 @@
|
||||
# The NVIDIA license does not allow any form of modification.
|
||||
[i386]: binary-file-built-without-LFS-support
|
||||
[i386]: specific-address-in-shared-library
|
||||
spelling-error-in-binary
|
||||
hardening-no-bindnow
|
||||
[!arm64]: hardening-no-fortify-functions
|
||||
|
||||
# Lintian and debhelper disagree w.r.t. a library in a private directory.
|
||||
package-has-unnecessary-activation-of-ldconfig-trigger
|
@ -0,0 +1,17 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
. /usr/share/debconf/confmodule
|
||||
|
||||
if [ "$1" = "configure" ]
|
||||
then
|
||||
|
||||
if [ -x /usr/lib/nvidia/check-for-mismatching-nvidia-module ]
|
||||
then
|
||||
/usr/lib/nvidia/check-for-mismatching-nvidia-module #DRIVER_VERSION_FULL#
|
||||
fi
|
||||
|
||||
fi
|
||||
|
||||
|
||||
#DEBHELPER#
|
@ -0,0 +1,2 @@
|
||||
#! /usr/bin/dh-exec
|
||||
libcudadebugger.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/
|
@ -0,0 +1,2 @@
|
||||
#! /usr/bin/dh-exec
|
||||
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libcudadebugger.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libcudadebugger.so.1
|
@ -0,0 +1,10 @@
|
||||
# The NVIDIA license does not allow any form of modification.
|
||||
[i386]: binary-file-built-without-LFS-support
|
||||
binary-has-unneeded-section
|
||||
[i386]: specific-address-in-shared-library
|
||||
spelling-error-in-binary
|
||||
hardening-no-bindnow
|
||||
hardening-no-fortify-functions
|
||||
|
||||
# Lintian and debhelper disagree w.r.t. a library in a private directory.
|
||||
package-has-unnecessary-activation-of-ldconfig-trigger
|
@ -0,0 +1,2 @@
|
||||
#! /usr/bin/dh-exec
|
||||
libEGL_nvidia.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/
|
@ -0,0 +1,2 @@
|
||||
#! /usr/bin/dh-exec
|
||||
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libEGL_nvidia.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libEGL_nvidia.so.0
|
@ -0,0 +1,11 @@
|
||||
# The NVIDIA license does not allow any form of modification.
|
||||
[i386]: binary-file-built-without-LFS-support
|
||||
spelling-error-in-binary
|
||||
hardening-no-bindnow
|
||||
hardening-no-fortify-functions
|
||||
|
||||
# Lintian and debhelper disagree w.r.t. a library in a private directory.
|
||||
package-has-unnecessary-activation-of-ldconfig-trigger
|
||||
|
||||
# There is no .so link.
|
||||
symbols-file-missing-build-depends-package-field
|
@ -0,0 +1,2 @@
|
||||
debian/README.alternatives
|
||||
README.txt
|
@ -0,0 +1,2 @@
|
||||
#! /usr/bin/dh-exec
|
||||
libGLESv1_CM_nvidia.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/
|
@ -0,0 +1,2 @@
|
||||
#! /usr/bin/dh-exec
|
||||
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libGLESv1_CM_nvidia.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libGLESv1_CM_nvidia.so.1
|
@ -0,0 +1,10 @@
|
||||
# The NVIDIA license does not allow any form of modification.
|
||||
[i386]: binary-file-built-without-LFS-support
|
||||
hardening-no-bindnow
|
||||
hardening-no-fortify-functions
|
||||
|
||||
# Lintian and debhelper disagree w.r.t. a library in a private directory.
|
||||
package-has-unnecessary-activation-of-ldconfig-trigger
|
||||
|
||||
# There is no .so link.
|
||||
symbols-file-missing-build-depends-package-field
|
@ -0,0 +1,2 @@
|
||||
#! /usr/bin/dh-exec
|
||||
libGLESv2_nvidia.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/
|
@ -0,0 +1,2 @@
|
||||
#! /usr/bin/dh-exec
|
||||
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libGLESv2_nvidia.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libGLESv2_nvidia.so.2
|
@ -0,0 +1,10 @@
|
||||
# The NVIDIA license does not allow any form of modification.
|
||||
[i386]: binary-file-built-without-LFS-support
|
||||
hardening-no-bindnow
|
||||
hardening-no-fortify-functions
|
||||
|
||||
# Lintian and debhelper disagree w.r.t. a library in a private directory.
|
||||
package-has-unnecessary-activation-of-ldconfig-trigger
|
||||
|
||||
# There is no .so link.
|
||||
symbols-file-missing-build-depends-package-field
|
@ -0,0 +1,2 @@
|
||||
#! /usr/bin/dh-exec
|
||||
libGLX_nvidia.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/
|
@ -0,0 +1,2 @@
|
||||
#! /usr/bin/dh-exec
|
||||
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libGLX_nvidia.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libGLX_nvidia.so.0
|
@ -0,0 +1,12 @@
|
||||
# The NVIDIA license does not allow any form of modification.
|
||||
[i386]: binary-file-built-without-LFS-support
|
||||
exit-in-shared-library
|
||||
[i386]: specific-address-in-shared-library
|
||||
hardening-no-bindnow
|
||||
hardening-no-fortify-functions
|
||||
|
||||
# Lintian and debhelper disagree w.r.t. a library in a private directory.
|
||||
package-has-unnecessary-activation-of-ldconfig-trigger
|
||||
|
||||
# There is no .so link.
|
||||
symbols-file-missing-build-depends-package-field
|
@ -0,0 +1,2 @@
|
||||
#! /usr/bin/dh-exec
|
||||
libnvcuvid.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/
|
@ -0,0 +1,3 @@
|
||||
#! /usr/bin/dh-exec
|
||||
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvcuvid.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvcuvid.so.1
|
||||
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvcuvid.so.1 usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvcuvid.so
|
@ -0,0 +1,9 @@
|
||||
# The NVIDIA license does not allow any form of modification.
|
||||
[i386]: binary-file-built-without-LFS-support
|
||||
[i386 ppc64el]: specific-address-in-shared-library
|
||||
spelling-error-in-binary
|
||||
hardening-no-bindnow
|
||||
hardening-no-fortify-functions
|
||||
|
||||
# Lintian and debhelper disagree w.r.t. a library in a private directory.
|
||||
package-has-unnecessary-activation-of-ldconfig-trigger
|
@ -0,0 +1,2 @@
|
||||
#! /usr/bin/dh-exec
|
||||
libnvidia-allocator.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/
|
@ -0,0 +1,3 @@
|
||||
#! /usr/bin/dh-exec
|
||||
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-allocator.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-allocator.so.1
|
||||
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-allocator.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/nvidia-drm_gbm.so
|
@ -0,0 +1,8 @@
|
||||
# The NVIDIA license does not allow any form of modification.
|
||||
[i386]: binary-file-built-without-LFS-support
|
||||
spelling-error-in-binary
|
||||
hardening-no-bindnow
|
||||
hardening-no-fortify-functions
|
||||
|
||||
# Lintian and debhelper disagree w.r.t. a library in a private directory.
|
||||
package-has-unnecessary-activation-of-ldconfig-trigger
|
@ -0,0 +1,2 @@
|
||||
#! /usr/bin/dh-exec
|
||||
libnvidia-api.so.1 usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/
|
@ -0,0 +1,9 @@
|
||||
# The NVIDIA license does not allow any form of modification.
|
||||
hardening-no-bindnow
|
||||
hardening-no-fortify-functions
|
||||
|
||||
# Lintian and debhelper disagree w.r.t. a library in a private directory.
|
||||
package-has-unnecessary-activation-of-ldconfig-trigger
|
||||
|
||||
# There is no .so link.
|
||||
symbols-file-missing-build-depends-package-field
|
@ -0,0 +1,2 @@
|
||||
#! /usr/bin/dh-exec
|
||||
libnvidia-cfg.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/
|
@ -0,0 +1,2 @@
|
||||
#! /usr/bin/dh-exec
|
||||
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-cfg.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-cfg.so.1
|
@ -0,0 +1,10 @@
|
||||
# The NVIDIA license does not allow any form of modification.
|
||||
[ppc64el]: specific-address-in-shared-library
|
||||
hardening-no-bindnow
|
||||
hardening-no-fortify-functions
|
||||
|
||||
# Lintian and debhelper disagree w.r.t. a library in a private directory.
|
||||
package-has-unnecessary-activation-of-ldconfig-trigger
|
||||
|
||||
# There is no .so link.
|
||||
symbols-file-missing-build-depends-package-field
|
@ -0,0 +1,3 @@
|
||||
#! /usr/bin/dh-exec
|
||||
libnvidia-eglcore.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/
|
||||
libnvidia-glsi.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/
|
@ -0,0 +1,17 @@
|
||||
# The NVIDIA license does not allow any form of modification.
|
||||
[i386]: binary-file-built-without-LFS-support
|
||||
embedded-library libzstd [usr/lib/*/libnvidia-eglcore.so.#DRIVER_VERSION_FULL#]
|
||||
[i386]: specific-address-in-shared-library
|
||||
spelling-error-in-binary
|
||||
hardening-no-bindnow
|
||||
hardening-no-fortify-functions
|
||||
|
||||
# The libnvidia-{eglcore,glsi}.so.* SONAME changes with every upstream
|
||||
# release.
|
||||
# These private libraries are only used (and usable) as plugins
|
||||
# loaded by other NVIDIA libraries with the same upstream version
|
||||
# (and a stable SONAME).
|
||||
# Therefore we do not include the SONAME in this package name to
|
||||
# avoid going through NEW for every new upstream release.
|
||||
package-name-doesnt-match-sonames libnvidia-eglcore#DRIVER_VERSION_FULL# libnvidia-glsi#DRIVER_VERSION_FULL#
|
||||
symbols-file-missing-build-depends-package-field
|
@ -0,0 +1,2 @@
|
||||
#! /usr/bin/dh-exec
|
||||
libnvidia-encode.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/
|
@ -0,0 +1,3 @@
|
||||
#! /usr/bin/dh-exec
|
||||
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-encode.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-encode.so.1
|
||||
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-encode.so.1 usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-encode.so
|
@ -0,0 +1,8 @@
|
||||
# The NVIDIA license does not allow any form of modification.
|
||||
[i386]: binary-file-built-without-LFS-support
|
||||
[i386 ppc64el]: specific-address-in-shared-library
|
||||
hardening-no-bindnow
|
||||
hardening-no-fortify-functions
|
||||
|
||||
# Lintian and debhelper disagree w.r.t. a library in a private directory.
|
||||
package-has-unnecessary-activation-of-ldconfig-trigger
|
@ -0,0 +1,2 @@
|
||||
#! /usr/bin/dh-exec
|
||||
libnvidia-fbc.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/
|
@ -0,0 +1,3 @@
|
||||
#! /usr/bin/dh-exec
|
||||
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-fbc.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-fbc.so.1
|
||||
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-fbc.so.1 usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-fbc.so
|
@ -0,0 +1,7 @@
|
||||
# The NVIDIA license does not allow any form of modification.
|
||||
[i386]: binary-file-built-without-LFS-support
|
||||
hardening-no-bindnow
|
||||
hardening-no-fortify-functions
|
||||
|
||||
# Lintian and debhelper disagree w.r.t. a library in a private directory.
|
||||
package-has-unnecessary-activation-of-ldconfig-trigger
|
@ -0,0 +1,3 @@
|
||||
#! /usr/bin/dh-exec
|
||||
libnvidia-glcore.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/
|
||||
libnvidia-tls.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/
|
@ -0,0 +1,18 @@
|
||||
# The NVIDIA license does not allow any form of modification.
|
||||
[i386]: binary-file-built-without-LFS-support
|
||||
[arm64 ppc64el]: elf-warning
|
||||
embedded-library libzstd [usr/lib/*/libnvidia-glcore.so.#DRIVER_VERSION_FULL#]
|
||||
[i386]: specific-address-in-shared-library
|
||||
spelling-error-in-binary
|
||||
hardening-no-bindnow
|
||||
hardening-no-fortify-functions
|
||||
|
||||
# The libnvidia-{glcore,tls}.so.* SONAME changes with every upstream
|
||||
# release.
|
||||
# These private libraries are only used (and usable) as plugins
|
||||
# loaded by other NVIDIA libraries with the same upstream version
|
||||
# (and a stable SONAME).
|
||||
# Therefore we do not include the SONAME in this package name to
|
||||
# avoid going through NEW for every new upstream release.
|
||||
package-name-doesnt-match-sonames libnvidia-glcore#DRIVER_VERSION_FULL# libnvidia-tls#DRIVER_VERSION_FULL#
|
||||
symbols-file-missing-build-depends-package-field
|
@ -0,0 +1,2 @@
|
||||
#! /usr/bin/dh-exec
|
||||
libnvidia-glvkspirv.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/
|
@ -0,0 +1,15 @@
|
||||
# The NVIDIA license does not allow any form of modification.
|
||||
[i386]: binary-file-built-without-LFS-support
|
||||
spelling-error-in-binary
|
||||
hardening-no-bindnow
|
||||
hardening-no-fortify-functions
|
||||
|
||||
# The libnvidia-glvkspirv.so.* SONAME changes with every upstream
|
||||
# release.
|
||||
# These private libraries are only used (and usable) as plugins
|
||||
# loaded by other NVIDIA libraries with the same upstream version
|
||||
# (and a stable SONAME).
|
||||
# Therefore we do not include the SONAME in this package name to
|
||||
# avoid going through NEW for every new upstream release.
|
||||
package-name-doesnt-match-sonames libnvidia-glvkspirv#DRIVER_VERSION_FULL#
|
||||
symbols-file-missing-build-depends-package-field
|
@ -0,0 +1,2 @@
|
||||
#! /usr/bin/dh-exec
|
||||
libnvidia-gpucomp.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/
|
@ -0,0 +1,15 @@
|
||||
# The NVIDIA license does not allow any form of modification.
|
||||
[i386]: binary-file-built-without-LFS-support
|
||||
spelling-error-in-binary
|
||||
hardening-no-bindnow
|
||||
hardening-no-fortify-functions
|
||||
|
||||
# The libnvidia-{glcore,tls}.so.* SONAME changes with every upstream
|
||||
# release.
|
||||
# These private libraries are only used (and usable) as plugins
|
||||
# loaded by other NVIDIA libraries with the same upstream version
|
||||
# (and a stable SONAME).
|
||||
# Therefore we do not include the SONAME in this package name to
|
||||
# avoid going through NEW for every new upstream release.
|
||||
package-name-doesnt-match-sonames libnvidia-gpucomp#DRIVER_VERSION_FULL#
|
||||
symbols-file-missing-build-depends-package-field
|
@ -0,0 +1,2 @@
|
||||
#! /usr/bin/dh-exec
|
||||
libnvidia-ml.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/
|
@ -0,0 +1,3 @@
|
||||
#! /usr/bin/dh-exec
|
||||
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-ml.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-ml.so.1
|
||||
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-ml.so.1 usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-ml.so
|
@ -0,0 +1,8 @@
|
||||
# The NVIDIA license does not allow any form of modification.
|
||||
[i386]: binary-file-built-without-LFS-support
|
||||
spelling-error-in-binary
|
||||
hardening-no-bindnow
|
||||
hardening-no-fortify-functions
|
||||
|
||||
# Lintian and debhelper disagree w.r.t. a library in a private directory.
|
||||
package-has-unnecessary-activation-of-ldconfig-trigger
|
@ -0,0 +1,4 @@
|
||||
#! /usr/bin/dh-exec
|
||||
libnvidia-ngx.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/
|
||||
_nvngx.dll usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/nvidia/wine
|
||||
nvngx.dll usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/nvidia/wine
|
@ -0,0 +1,3 @@
|
||||
#! /usr/bin/dh-exec
|
||||
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-ngx.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-ngx.so.1
|
||||
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-ngx.so.1 usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-ngx.so
|
@ -0,0 +1,9 @@
|
||||
# The NVIDIA license does not allow any form of modification.
|
||||
hardening-no-bindnow
|
||||
hardening-no-fortify-functions
|
||||
|
||||
# Lintian and debhelper disagree w.r.t. a library in a private directory.
|
||||
package-has-unnecessary-activation-of-ldconfig-trigger
|
||||
|
||||
# Location expected by Proton.
|
||||
repeated-path-segment nvidia [usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/nvidia/]
|
@ -0,0 +1,2 @@
|
||||
#! /usr/bin/dh-exec
|
||||
libnvidia-nvvm.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/
|
@ -0,0 +1,3 @@
|
||||
#! /usr/bin/dh-exec
|
||||
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-nvvm.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-nvvm.so.4
|
||||
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-nvvm.so.4 usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-nvvm.so
|
@ -0,0 +1,7 @@
|
||||
# The NVIDIA license does not allow any form of modification.
|
||||
[i386]: binary-file-built-without-LFS-support
|
||||
spelling-error-in-binary
|
||||
hardening-no-fortify-functions
|
||||
|
||||
# Lintian and debhelper disagree w.r.t. a library in a private directory.
|
||||
package-has-unnecessary-activation-of-ldconfig-trigger
|
@ -0,0 +1,2 @@
|
||||
#! /usr/bin/dh-exec
|
||||
libnvidia-opticalflow.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/
|
@ -0,0 +1,3 @@
|
||||
#! /usr/bin/dh-exec
|
||||
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-opticalflow.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-opticalflow.so.1
|
||||
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-opticalflow.so.1 usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-opticalflow.so
|
@ -0,0 +1,7 @@
|
||||
# The NVIDIA license does not allow any form of modification.
|
||||
[i386 ppc64el]: specific-address-in-shared-library
|
||||
hardening-no-bindnow
|
||||
hardening-no-fortify-functions
|
||||
|
||||
# Lintian and debhelper disagree w.r.t. a library in a private directory.
|
||||
package-has-unnecessary-activation-of-ldconfig-trigger
|
@ -0,0 +1,2 @@
|
||||
#! /usr/bin/dh-exec
|
||||
libnvidia-pkcs11-openssl3.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/
|
@ -0,0 +1,15 @@
|
||||
# The NVIDIA license does not allow any form of modification.
|
||||
hardening-no-bindnow
|
||||
|
||||
# Use wildcard instead of exact path substitution, this is a M-A: same package.
|
||||
library-not-linked-against-libc [usr/lib*/libnvidia-pkcs11-openssl3.so.#DRIVER_VERSION_FULL#]
|
||||
|
||||
# The libnvidia-pkcs11-openssl3.so.* SONAME changes with every upstream
|
||||
# release.
|
||||
# These private libraries are only used (and usable) as plugins
|
||||
# loaded by other NVIDIA libraries with the same upstream version
|
||||
# (and a stable SONAME).
|
||||
# Therefore we do not include the SONAME in this package name to
|
||||
# avoid going through NEW for every new upstream release.
|
||||
package-name-doesnt-match-sonames libnvidia-pkcs11-openssl3-#DRIVER_VERSION_FULL#
|
||||
symbols-file-missing-build-depends-package-field
|
@ -0,0 +1,2 @@
|
||||
#! /usr/bin/dh-exec
|
||||
libnvidia-ptxjitcompiler.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/
|
@ -0,0 +1,2 @@
|
||||
#! /usr/bin/dh-exec
|
||||
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-ptxjitcompiler.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvidia-ptxjitcompiler.so.1
|
@ -0,0 +1,15 @@
|
||||
# The NVIDIA license does not allow any form of modification.
|
||||
[i386]: binary-file-built-without-LFS-support
|
||||
spelling-error-in-binary
|
||||
[!arm64]: hardening-no-bindnow
|
||||
[!arm64]: hardening-no-fortify-functions
|
||||
|
||||
# Use wildcard instead of exact path substitution, this is a M-A: same package.
|
||||
embedded-library
|
||||
embedded-library zlib [usr/lib*/libnvidia-ptxjitcompiler.so.#DRIVER_VERSION_FULL#]
|
||||
|
||||
# Lintian and debhelper disagree w.r.t. a library in a private directory.
|
||||
package-has-unnecessary-activation-of-ldconfig-trigger
|
||||
|
||||
# There is no .so link.
|
||||
symbols-file-missing-build-depends-package-field
|
@ -0,0 +1,2 @@
|
||||
#! /usr/bin/dh-exec
|
||||
libnvidia-rtcore.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/
|
@ -0,0 +1,14 @@
|
||||
# The NVIDIA license does not allow any form of modification.
|
||||
spelling-error-in-binary
|
||||
hardening-no-bindnow
|
||||
[!arm64]: hardening-no-fortify-functions
|
||||
|
||||
# The libnvidia-rtcore.so.* SONAME changes with every upstream
|
||||
# release.
|
||||
# These private libraries are only used (and usable) as plugins
|
||||
# loaded by other NVIDIA libraries with the same upstream version
|
||||
# (and a stable SONAME).
|
||||
# Therefore we do not include the SONAME in this package name to
|
||||
# avoid going through NEW for every new upstream release.
|
||||
package-name-doesnt-match-sonames libnvidia-rtcore#DRIVER_VERSION_FULL#
|
||||
symbols-file-missing-build-depends-package-field
|
@ -0,0 +1,3 @@
|
||||
#! /usr/bin/dh-exec
|
||||
libnvoptix.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/
|
||||
nvoptix.bin usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/
|
@ -0,0 +1,2 @@
|
||||
#! /usr/bin/dh-exec
|
||||
usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvoptix.so.#DRIVER_VERSION_FULL# usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/libnvoptix.so.1
|
@ -0,0 +1,10 @@
|
||||
# The NVIDIA license does not allow any form of modification.
|
||||
spelling-error-in-binary
|
||||
hardening-no-bindnow
|
||||
hardening-no-fortify-functions
|
||||
|
||||
# Lintian and debhelper disagree w.r.t. a library in a private directory.
|
||||
package-has-unnecessary-activation-of-ldconfig-trigger
|
||||
|
||||
# There is no .so link.
|
||||
symbols-file-missing-build-depends-package-field
|
@ -0,0 +1,38 @@
|
||||
# Non version dependent exist elsewhere in debian repos
|
||||
10_nvidia_wayland.json
|
||||
15_nvidia_gbm.json
|
||||
# Useless files or broken symlinks
|
||||
libEGL.so.1.1.0
|
||||
libEGL.so.#DRIVER_VERSION_FULL#
|
||||
libGL.so.1.7.0
|
||||
libGLESv1_CM.so.1.2.0
|
||||
libGLESv2.so.2.1.0
|
||||
libGLX.so.0
|
||||
libGLdispatch.so.0
|
||||
libOpenGL.so.0
|
||||
libglvnd_install_checker
|
||||
libnvidia-egl-gbm.so.1.1.1
|
||||
libnvidia-egl-wayland.so.1.1.13
|
||||
libnvidia-pkcs11.so.#DRIVER_VERSION_FULL#
|
||||
makeself-help-script.sh
|
||||
makeself.sh
|
||||
mkprecompiled
|
||||
nvidia-cuda-mps-control.1.gz
|
||||
nvidia-drm-outputclass.conf
|
||||
nvidia-installer
|
||||
nvidia-installer.1
|
||||
nvidia-installer.1.gz
|
||||
nvidia-modprobe.1
|
||||
nvidia-modprobe.1.gz
|
||||
nvidia-ngx-updater
|
||||
nvidia-persistenced-init.tar.bz2
|
||||
nvidia-persistenced.1
|
||||
nvidia-persistenced.1.gz
|
||||
nvidia-settings.1
|
||||
nvidia-settings.desktop
|
||||
nvidia-smi.1
|
||||
nvidia-xconfig.1
|
||||
pkg-history.txt
|
||||
supported-gpus/LICENSE
|
||||
LICENSE
|
||||
NVIDIA_Changelog
|
@ -0,0 +1,11 @@
|
||||
#! /usr/bin/dh-exec
|
||||
etc/modprobe.d
|
||||
etc/nvidia
|
||||
usr/lib/nvidia/#DRIVER_VERSION_FULL#
|
||||
usr/lib/nvidia/#DRIVER_VERSION_FULL#-open
|
||||
usr/lib/${DEB_HOST_MULTIARCH}/gbm
|
||||
usr/lib/${DEB_HOST_MULTIARCH}/nvidia
|
||||
usr/lib/${DEB_HOST_MULTIARCH}/vdpau
|
||||
usr/share/applications
|
||||
usr/share/man/man1
|
||||
usr/share/nvidia
|
@ -0,0 +1 @@
|
||||
extra_files/nvidia-libdir.conf etc/ld.so.conf.d/
|
@ -0,0 +1,11 @@
|
||||
# This directory is used as a master alternative.
|
||||
package-contains-empty-directory [usr/lib/nvidia/#DRIVER_VERSION_FULL#/]
|
||||
package-contains-empty-directory [usr/lib/nvidia/#DRIVER_VERSION_FULL#-open/]
|
||||
|
||||
# Slave alternatives may be installed there.
|
||||
package-contains-empty-directory [usr/lib/x86_64-linux-gnu/gbm/]
|
||||
package-contains-empty-directory [usr/lib/x86_64-linux-gnu/nvidia/]
|
||||
package-contains-empty-directory [usr/lib/x86_64-linux-gnu/vdpau/]
|
||||
package-contains-empty-directory [usr/share/applications/]
|
||||
package-contains-empty-directory [usr/share/man/man1/]
|
||||
package-contains-empty-directory [usr/share/nvidia/]
|
@ -0,0 +1,139 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
|
||||
TRIPLETS="/ /i386-linux-gnu/ /x86_64-linux-gnu/ /aarch64-linux-gnu/ /powerpc64le-linux-gnu/"
|
||||
|
||||
add_slave()
|
||||
{
|
||||
local target_link name source_path prefix
|
||||
target_link="$1"
|
||||
name="$2"
|
||||
source_path="$3"
|
||||
prefix="nvidia--"
|
||||
|
||||
if [ -f "${source_path}" ] && [ -d "$(dirname "${target_link}")" ]; then
|
||||
echo --slave "${target_link}" "${prefix}${name}" "${source_path}"
|
||||
fi
|
||||
}
|
||||
|
||||
add_multiarch_slave()
|
||||
{
|
||||
local target_dir target_sub_dir file source_dir source_sub_dir prefix suffix triplet
|
||||
target_dir="$1"
|
||||
target_sub_dir="$2"
|
||||
file="$3"
|
||||
source_dir="$4"
|
||||
source_sub_dir="$5"
|
||||
prefix="$6"
|
||||
|
||||
for triplet in $TRIPLETS ; do
|
||||
# s|/$||; s|^/|-|;
|
||||
suffix="${triplet%/}"
|
||||
suffix="${suffix:+-${suffix#/}}"
|
||||
add_slave "${target_dir}${triplet}${target_sub_dir}${file}" "${prefix}${file}${suffix}" "${source_dir}${triplet}${source_sub_dir}${file}"
|
||||
done
|
||||
}
|
||||
|
||||
# A trigger that handles the alternatives for /usr/lib[/<triplet>]/nvidia/*.*
|
||||
if [ "$1" = "triggered" ]; then
|
||||
|
||||
slaves="
|
||||
$(add_slave /usr/lib/nvidia/libglxserver_nvidia.so libglxserver_nvidia.so /usr/lib/nvidia/current/libglxserver_nvidia.so)
|
||||
$(add_slave /usr/lib/nvidia/nvidia_drv.so nvidia_drv.so /usr/lib/nvidia/current/nvidia_drv.so)
|
||||
$(add_multiarch_slave /usr/lib vdpau/ libvdpau_nvidia.so.1 /usr/lib nvidia/current/)
|
||||
$(add_multiarch_slave /usr/lib "" libGLX_nvidia.so.0 /usr/lib nvidia/current/)
|
||||
$(add_multiarch_slave /usr/lib "" libEGL_nvidia.so.0 /usr/lib nvidia/current/)
|
||||
$(add_multiarch_slave /usr/lib "" libGLESv1_CM_nvidia.so.1 /usr/lib nvidia/current/)
|
||||
$(add_multiarch_slave /usr/lib "" libGLESv2_nvidia.so.2 /usr/lib nvidia/current/)
|
||||
$(add_multiarch_slave /usr/lib "" libcuda.so.1 /usr/lib nvidia/current/)
|
||||
$(add_multiarch_slave /usr/lib "" libcuda.so /usr/lib nvidia/current/)
|
||||
$(add_multiarch_slave /usr/lib "" libcudadebugger.so.1 /usr/lib nvidia/current/)
|
||||
$(add_multiarch_slave /usr/lib "" libnvcuvid.so.1 /usr/lib nvidia/current/)
|
||||
$(add_multiarch_slave /usr/lib "" libnvcuvid.so /usr/lib nvidia/current/)
|
||||
$(add_multiarch_slave /usr/lib "" libnvidia-allocator.so.1 /usr/lib nvidia/current/)
|
||||
$(add_multiarch_slave /usr/lib "" libnvidia-api.so.1 /usr/lib nvidia/current/)
|
||||
$(add_multiarch_slave /usr/lib "" libnvidia-encode.so.1 /usr/lib nvidia/current/)
|
||||
$(add_multiarch_slave /usr/lib "" libnvidia-fbc.so.1 /usr/lib nvidia/current/)
|
||||
$(add_multiarch_slave /usr/lib "" libnvidia-ml.so.1 /usr/lib nvidia/current/)
|
||||
$(add_multiarch_slave /usr/lib "" libnvidia-ngx.so.1 /usr/lib nvidia/current/)
|
||||
$(add_multiarch_slave /usr/lib "" libnvidia-nvvm.so.4 /usr/lib nvidia/current/)
|
||||
$(add_multiarch_slave /usr/lib "" libnvidia-nvvm.so.#DRIVER_VERSION_FULL# /usr/lib nvidia/current/)
|
||||
$(add_multiarch_slave /usr/lib "" libnvidia-opencl.so.1 /usr/lib nvidia/current/)
|
||||
$(add_multiarch_slave /usr/lib "" libnvidia-opticalflow.so.1 /usr/lib nvidia/current/)
|
||||
$(add_multiarch_slave /usr/lib "" libnvidia-ptxjitcompiler.so.1 /usr/lib nvidia/current/)
|
||||
$(add_multiarch_slave /usr/lib "" libnvoptix.so.1 /usr/lib nvidia/current/)
|
||||
$(add_slave /usr/share/nvidia/nvoptix.bin nvoptix.bin /usr/lib/x86_64-linux-gnu/nvidia/current/nvoptix.bin)
|
||||
$(add_multiarch_slave /usr/lib gbm/ nvidia-drm_gbm.so /usr/lib nvidia/current/)
|
||||
$(add_slave /usr/bin/nvidia-smi nvidia-smi /usr/lib/nvidia/current/nvidia-smi)
|
||||
$(add_slave /usr/share/man/man1/nvidia-smi.1.gz nvidia-smi.1.gz /usr/lib/nvidia/current/nvidia-smi.1.gz)
|
||||
$(add_slave /usr/lib/nvidia/nvidia-bug-report.sh nvidia-bug-report.sh /usr/lib/nvidia/current/nvidia-bug-report.sh)
|
||||
$(add_slave /usr/bin/nvidia-debugdump nvidia-debugdump /usr/lib/nvidia/current/nvidia-debugdump)
|
||||
$(add_slave /usr/share/nvidia/nvidia-application-profiles-key-documentation nvidia-application-profiles-key-documentation /usr/share/nvidia/nvidia-application-profiles-#DRIVER_VERSION_FULL#-key-documentation)
|
||||
$(add_slave /usr/bin/nvidia-settings nvidia-settings /usr/lib/nvidia/current/nvidia-settings)
|
||||
$(add_slave /usr/bin/nv-control-dpy nv-control-dpy /usr/lib/nvidia/current/nv-control-dpy)
|
||||
$(add_slave /usr/share/applications/nvidia-settings.desktop nvidia-settings.desktop /usr/lib/nvidia/current/nvidia-settings.desktop)
|
||||
$(add_slave /usr/share/man/man1/nvidia-settings.1.gz nvidia-settings.1.gz /usr/lib/nvidia/current/nvidia-settings.1.gz)
|
||||
"
|
||||
conf_slaves="
|
||||
$(add_multiarch_slave /usr/lib nvidia/ libnvidia-cfg.so.1 /usr/lib nvidia/current/)
|
||||
$(add_slave /etc/nvidia/nvidia-drm-outputclass.conf nvidia-drm-outputclass.conf /etc/nvidia/current/nvidia-drm-outputclass.conf)
|
||||
"
|
||||
kmod_slaves="
|
||||
$(add_slave /etc/nvidia/nvidia-blacklists-nouveau.conf nvidia-blacklists-nouveau.conf /etc/nvidia/nvidia-#DRIVER_VERSION_FULL#/nvidia-blacklists-nouveau.conf)
|
||||
$(add_slave /etc/nvidia/nvidia-modprobe.conf nvidia-modprobe.conf /etc/nvidia/nvidia-#DRIVER_VERSION_FULL#/nvidia-modprobe.conf)
|
||||
$(add_slave /etc/modprobe.d/nvidia-options.conf nvidia-options.conf /etc/nvidia/nvidia-#DRIVER_VERSION_FULL#/nvidia-options.conf)
|
||||
$(add_slave /etc/nvidia/nvidia-load.conf nvidia-load.conf /etc/nvidia/nvidia-#DRIVER_VERSION_FULL#/nvidia-load.conf)
|
||||
"
|
||||
kmod_open_slaves="
|
||||
$(add_slave /etc/nvidia/nvidia-blacklists-nouveau.conf nvidia-blacklists-nouveau.conf /etc/nvidia/#DRIVER_VERSION_FULL#-open/nvidia-blacklists-nouveau.conf)
|
||||
$(add_slave /etc/nvidia/nvidia-modprobe.conf nvidia-modprobe.conf /etc/nvidia/#DRIVER_VERSION_FULL#-open/nvidia-modprobe.conf)
|
||||
$(add_slave /etc/modprobe.d/nvidia-options.conf nvidia-options.conf /etc/nvidia/#DRIVER_VERSION_FULL#-open/nvidia-options.conf)
|
||||
$(add_slave /etc/nvidia/nvidia-load.conf nvidia-load.conf /etc/nvidia/#DRIVER_VERSION_FULL#-open/nvidia-load.conf)
|
||||
"
|
||||
libnvidia_ml_so_slave=
|
||||
if [ -f /usr/include/nvml.h ]; then
|
||||
libnvidia_ml_so_slave="$(add_multiarch_slave /usr/lib "" libnvidia-ml.so /usr/lib nvidia/current/)"
|
||||
fi
|
||||
normal_alternative=0
|
||||
open_alternative=0
|
||||
if echo "$slaves" | grep -q "slave" ; then
|
||||
if echo "${kmod_slaves}" | grep -q "slave" ; then
|
||||
normal_alternative=1
|
||||
fi
|
||||
if echo "${kmod_open_slaves}" | grep -q "slave" ; then
|
||||
open_alternative=1
|
||||
else
|
||||
# fallback: normal alternative w/o kernel module
|
||||
normal_alternative=1
|
||||
fi
|
||||
fi
|
||||
if [ "$normal_alternative" = 1 ]; then
|
||||
update-alternatives --install /usr/lib/nvidia/nvidia nvidia /usr/lib/nvidia/current #DRIVER_VERSION_MAJOR# $slaves $conf_slaves $kmod_slaves $libnvidia_ml_so_slave
|
||||
else
|
||||
update-alternatives --remove nvidia /usr/lib/nvidia/current
|
||||
fi
|
||||
if [ "$open_alternative" = 1 ]; then
|
||||
update-alternatives --install /usr/lib/nvidia/nvidia nvidia /usr/lib/nvidia/current-open $((#DRIVER_VERSION_MAJOR# - 1)) $slaves $conf_slaves $kmod_open_slaves $libnvidia_ml_so_slave
|
||||
else
|
||||
update-alternatives --remove nvidia /usr/lib/nvidia/current-open
|
||||
fi
|
||||
|
||||
# activate the trigger selecting NVIDIA as GLX provider
|
||||
dpkg-trigger --no-await register-glx-alternative-nvidia
|
||||
|
||||
# let glx-alternative-mesa take over handling libGLX_indirect.so.0
|
||||
dpkg-trigger --no-await register-glx-alternative-mesa
|
||||
|
||||
fi
|
||||
|
||||
|
||||
if [ "$1" = "configure" ]; then
|
||||
|
||||
# activate our trigger
|
||||
dpkg-trigger register-nvidia-alternative
|
||||
|
||||
fi
|
||||
|
||||
|
||||
#DEBHELPER#
|
@ -0,0 +1,14 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
|
||||
if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ]; then
|
||||
|
||||
update-alternatives --remove nvidia /usr/lib/nvidia/#DRIVER_VERSION_FULL#-open
|
||||
update-alternatives --remove nvidia /usr/lib/nvidia/#DRIVER_VERSION_FULL#
|
||||
dpkg-trigger --no-await register-glx-alternative-nvidia
|
||||
|
||||
fi
|
||||
|
||||
|
||||
#DEBHELPER#
|
@ -0,0 +1,15 @@
|
||||
interest-await register-nvidia-alternative
|
||||
|
||||
interest-await /etc/nvidia/current
|
||||
interest-await /etc/nvidia/current-open
|
||||
interest-await /etc/nvidia/nvidia-#DRIVER_VERSION_FULL#
|
||||
interest-await /etc/nvidia/#DRIVER_VERSION_FULL#-open
|
||||
|
||||
interest-await /usr/lib/nvidia/current
|
||||
interest-await /usr/lib/i386-linux-gnu/nvidia/current
|
||||
interest-await /usr/lib/x86_64-linux-gnu/nvidia/current
|
||||
interest-await /usr/lib/aarch64-linux-gnu/nvidia/current
|
||||
interest-await /usr/lib/powerpc64le-linux-gnu/nvidia/current
|
||||
|
||||
interest-await /usr/include/nvml.h
|
||||
|
@ -0,0 +1 @@
|
||||
var/log/nvidia-mps
|
@ -0,0 +1,2 @@
|
||||
nvidia-cuda-mps-control usr/bin/
|
||||
nvidia-cuda-mps-server usr/sbin/
|
@ -0,0 +1 @@
|
||||
usr/share/man/man1/nvidia-cuda-mps-control.1 usr/share/man/man8/nvidia-cuda-mps-server.8
|
@ -0,0 +1,5 @@
|
||||
# The NVIDIA license does not allow any form of modification.
|
||||
spelling-error-in-binary
|
||||
hardening-no-bindnow
|
||||
hardening-no-fortify-functions
|
||||
hardening-no-pie
|
@ -0,0 +1 @@
|
||||
nvidia-cuda-mps-control.1
|
@ -0,0 +1,4 @@
|
||||
README.txt
|
||||
html/
|
||||
debian/README.alternatives
|
||||
supported-gpus/supported-gpus.json
|
@ -0,0 +1,5 @@
|
||||
#! /usr/bin/dh-exec
|
||||
nvidia-bug-report.sh usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/
|
||||
nvidia-debugdump usr/lib/${DEB_HOST_MULTIARCH}/nvidia/current/
|
||||
nvidia-application-profiles-#DRIVER_VERSION_FULL#-rc usr/share/nvidia/
|
||||
nvidia-application-profiles-#DRIVER_VERSION_FULL#-key-documentation usr/share/nvidia/
|
@ -0,0 +1,8 @@
|
||||
# The NVIDIA license does not allow any form of modification.
|
||||
hardening-no-bindnow
|
||||
hardening-no-fortify-functions
|
||||
hardening-no-pie
|
||||
|
||||
# The current setup involving multiple chained alternatives would be very
|
||||
# hard to migrate to /usr/libexec.
|
||||
executable-in-usr-lib
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user