Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
package-helpers
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eliab Andi Artz
package-helpers
Commits
32f34ad8
Commit
32f34ad8
authored
5 years ago
by
David Trudgian
Browse files
Options
Downloads
Patches
Plain Diff
Remove non-free nvidia-dkms stuff in make-linux
parent
4c4560c1
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
helpers/make-linux
+13
-1
13 additions, 1 deletion
helpers/make-linux
with
13 additions
and
1 deletion
helpers/make-linux
+
13
−
1
View file @
32f34ad8
#!/bin/sh
#
# Copyright (C) 2008-2018 Ruben Rodriguez <ruben@trisquel.info>
# Copyright (C) 2019 David Trudgian <dave@trudgian.net>
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
...
...
@@ -17,7 +18,7 @@
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
VERSION
=
3
VERSION
=
4
.
./config
...
...
@@ -38,6 +39,10 @@ sh $DATA/deblob-4.15 --force
echo
"Reverting deblobbing for files patched by silent-accept-firmware"
cp
/tmp/preserve/
*
.
-av
# Wipe dkms-versions
# lists zfs / nvidia versions
echo
>
debian/dkms-versions
# Remove ZFS
rm
zfs spl debian/scripts/misc/update-zfs.sh
-rf
/bin/sed
's/spl-dkms, zfs-dkms//'
-i
debian/control debian.master/control.d/vars.generic debian.master/control.d/vars.
*
...
...
@@ -50,6 +55,13 @@ rm ubuntu/vbox* -rf
sed
/vbox/d
-i
debian.master/control.d/generic.inclusion-list ubuntu/Makefile
sed
'/vbox/d'
-i
debian.master/reconstruct
# Remove nvidia
rm
-rf
debian/scripts/debian/scripts/dkms-build--nvidia-N
/bin/sed
'/ifeq ($(do_dkms_nvidia),true)/,/endif/d'
-i
debian/rules.d/2-binary-arch.mk
/bin/sed
'/do_dkms_nvidia = true/d'
-i
debian.master/abi/
*
/
*
/
*
.modules debian/rules debian.master/control.d/vars.
*
/bin/sed
'/nvidiafb/d'
-i
debian.master/abi/
*
/
*
/
*
.modules debian/rules debian.master/control.d/vars.
*
# Compile with less modules and avoid abi check
echo
'skipmodule = true'
>>
debian.master/rules.d/0-common-vars.mk
echo
'skipabi = true'
>>
debian.master/rules.d/0-common-vars.mk
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment