Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
Chakra
Packages
core
Commits
8a6e29bd
Commit
8a6e29bd
authored
Jun 18, 2012
by
abveritas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
correction nvidia-lts
parent
7ec4e7fd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
nvidia-lts/PKGBUILD
nvidia-lts/PKGBUILD
+1
-1
nvidia-lts/nvidia.install
nvidia-lts/nvidia.install
+3
-3
No files found.
nvidia-lts/PKGBUILD
View file @
8a6e29bd
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
# maintainer abveritas@chakra-project.org
# maintainer abveritas@chakra-project.org
# Find the kernel name inside the chroot
# Find the kernel name inside the chroot
_extramodules
=
extramodules-
`
pacman
-Q
linux-lts |
cut
-c11-13
|
sed
's/linux-lts //g'
`
-
CHAKRA-LTS
_extramodules
=
extramodules-
`
pacman
-Q
linux-lts |
cut
-c11-13
|
sed
's/linux-lts //g'
`
-
lts
_kver
=
"
$(
cat
/lib/modules/
${
_extramodules
}
/version
)
"
_kver
=
"
$(
cat
/lib/modules/
${
_extramodules
}
/version
)
"
pkgname
=
nvidia-lts
pkgname
=
nvidia-lts
...
...
nvidia-lts/nvidia.install
View file @
8a6e29bd
post_install
()
{
post_install
()
{
EXTRAMODULES
=
'extramodules-3.0-
CHAKRA-LTS
'
EXTRAMODULES
=
'extramodules-3.0-
lts
'
depmod
$
(
cat
/
lib
/
modules
/
$EXTRAMODULES
/
version
)
depmod
$
(
cat
/
lib
/
modules
/
$EXTRAMODULES
/
version
)
echo
'In order to use nvidia module, reboot the system.'
echo
'In order to use nvidia module, reboot the system.'
echo
"blacklist nouveau"
>
"/etc/modprobe.d/nouveau_blacklist.conf"
echo
"blacklist nouveau"
>
"/etc/modprobe.d/nouveau_blacklist.conf"
}
}
post_upgrade
()
{
post_upgrade
()
{
EXTRAMODULES
=
'extramodules-3.0-
CHAKRA-LTS
'
EXTRAMODULES
=
'extramodules-3.0-
lts
'
depmod
$
(
cat
/
lib
/
modules
/
$EXTRAMODULES
/
version
)
depmod
$
(
cat
/
lib
/
modules
/
$EXTRAMODULES
/
version
)
echo
"blacklist nouveau"
>
"/etc/modprobe.d/nouveau_blacklist.conf"
echo
"blacklist nouveau"
>
"/etc/modprobe.d/nouveau_blacklist.conf"
}
}
post_remove
()
{
post_remove
()
{
EXTRAMODULES
=
'extramodules-3.0-
CHAKRA-LTS
'
EXTRAMODULES
=
'extramodules-3.0-
lts
'
depmod
$
(
cat
/
lib
/
modules
/
$EXTRAMODULES
/
version
)
depmod
$
(
cat
/
lib
/
modules
/
$EXTRAMODULES
/
version
)
rm
"/etc/modprobe.d/nouveau_blacklist.conf"
rm
"/etc/modprobe.d/nouveau_blacklist.conf"
}
}
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