catalyst: create required symlink for vaapi; force nomodeset via dracut.
This commit is contained in:
parent
7b16012916
commit
bcf9909d56
|
@ -4,7 +4,7 @@ _distver="14.12"
|
|||
|
||||
pkgname=catalyst
|
||||
version=14.501.1003
|
||||
revision=1
|
||||
revision=2
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
license="Propietary AMD license"
|
||||
homepage="http://www.amd.com"
|
||||
|
@ -85,6 +85,7 @@ do_install() {
|
|||
ln -s libatiuki.so.1.0 ${DESTDIR}/usr/lib/libatiuki.so.1
|
||||
ln -s libAMDXvBA.so.1.0 ${DESTDIR}/usr/lib/libAMDXvBA.so.1
|
||||
ln -s libXvBAW.so.1.0 ${DESTDIR}/usr/lib/libXvBAW.so
|
||||
ln -s libXvBAW.so.1.0 ${DESTDIR}/usr/lib/libXvBAW.so.1
|
||||
ln -s libfglrx_dm.so.1.0 ${DESTDIR}/usr/lib/libfglrx_dm.so.1
|
||||
popd
|
||||
|
||||
|
@ -120,6 +121,7 @@ catalyst-dkms_package() {
|
|||
pkg_install() {
|
||||
local _fglrx=fglrx-${version}_${revision}
|
||||
|
||||
vmkdir etc/cmdline.d
|
||||
vmkdir usr/lib/dracut/dracut.conf.d
|
||||
vmkdir usr/lib/modprobe.d
|
||||
vmkdir usr/lib/modules-load.d
|
||||
|
@ -134,6 +136,7 @@ catalyst-dkms_package() {
|
|||
|
||||
sed -i -e "s/@VERSION@/${version}-${revision}/" ${PKGDESTDIR}/usr/src/${_fglrx}/dkms.conf
|
||||
|
||||
echo "nomodeset" > ${PKGDESTDIR}/etc/cmdline.d/catalyst.conf
|
||||
echo "omit_dracutmodules+=\" drm \"" > ${PKGDESTDIR}/usr/lib/dracut/dracut.conf.d/catalyst.conf
|
||||
echo "blacklist radeon" > ${PKGDESTDIR}/usr/lib/modprobe.d/catalyst.conf
|
||||
echo "fglrx" > ${PKGDESTDIR}/usr/lib/modules-load.d/catalyst.conf
|
||||
|
|
Loading…
Reference in New Issue