Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
installer-feature-nvidia
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ximper Linux
installer-feature-nvidia
Commits
7ea22a57
Project 'ximper/installer-feature-nvidia' was moved to 'ximperlinux/installer-feature-nvidia'. Please update any links and bookmarks that may still have the old path.
Commit
7ea22a57
authored
May 10, 2024
by
Roman Alifanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Initial commit
parents
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
0 deletions
+44
-0
.gear-rules
.gear-rules
+2
-0
72-tricks-for-nvidia.sh
72-tricks-for-nvidia.sh
+9
-0
installer-feature-nvidia.spec
installer-feature-nvidia.spec
+33
-0
No files found.
.gear-rules
0 → 100644
View file @
7ea22a57
tar: .
spec: installer-feature-nvidia.spec
72-tricks-for-nvidia.sh
0 → 100755
View file @
7ea22a57
#!/bin/sh -efu
.
install2-init-functions
GRUB_CONFIG
=
/etc/sysconfig/grub2
CMDLINE_PARAMETERS
=
"nvidia-drm.modeset=1 initcall_blacklist=simpledrm_platform_driver_init"
chroot
$destdir
sed
-i
"s|^
\(
GRUB_CMDLINE_LINUX_DEFAULT='.*
\)
'
\$
|
\1
$CMDLINE_PARAMETERS
'|"
$GRUB_CONFIG
\ No newline at end of file
installer-feature-nvidia.spec
0 → 100644
View file @
7ea22a57
Name: installer-feature-nvidia
Version: 0.1
Release: alt1
Summary: Some tricks for a positive experience with Nvidia GPU
License: GPL-2.0-or-later
Group: System/Configuration/Other
Url: http://www.altlinux.org/Installer/beans
BuildArch: noarch
Source: %name-%version.tar
%description
%summary.
%prep
%setup
%build
%install
%define hookdir %_datadir/install2/preinstall.d
mkdir -p %buildroot%hookdir
install -pm755 *.sh %buildroot%hookdir/
%files
%hookdir/*
%changelog
* Fri May 10 2024 Roman Alifanov <ximper@altlinux.org> 0.1-alt1
- initial build
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment