[elrepo] fglrx on/for CentOS 6.8

jacques klein jacques.klein at dalim.com
Sun Jul 17 10:26:53 EDT 2016


Ok, "about care to elaborate, please  ?" , it's the version of kernel in
the post-install script,

my system says:

# uname -r
2.6.32-642.3.1.el6.x86_64

I don't know if this version is "dynamically updated" during rpm
installation, but 573 is definitivelly the kernel version of the CentOS
6.7 I used before updating.

# rpm -qp --scripts kmod-fglrx-15.9-1.el6.elrepo.x86_64.rpm
postinstall scriptlet (using /bin/sh):
echo "Working. This may take some time ..."
if [ -e "/boot/System.map-2.6.32-573.el6.x86_64" ]; then
    /sbin/depmod -aeF "/boot/System.map-2.6.32-573.el6.x86_64"
"2.6.32-573.el6.x86_64" > /dev/null || :
fi
modules=( $(find /lib/modules/2.6.32-573.el6.x86_64/extra/fglrx | grep
'\.ko$') )
if [ -x "/sbin/weak-modules" ]; then
    printf '%s\n' "${modules[@]}" | /sbin/weak-modules --add-modules
fi
echo "Done."
preuninstall scriptlet (using /bin/sh):
rpm -ql kmod-fglrx-15.9-1.el6.elrepo.x86_64 | grep '\.ko$'
> /var/run/rpm-kmod-fglrx-modules
postuninstall scriptlet (using /bin/sh):
echo "Working. This may take some time ..."
if [ -e "/boot/System.map-2.6.32-573.el6.x86_64" ]; then
    /sbin/depmod -aeF "/boot/System.map-2.6.32-573.el6.x86_64"
"2.6.32-573.el6.x86_64" > /dev/null || :
fi
modules=( $(cat /var/run/rpm-kmod-fglrx-modules) )
rm /var/run/rpm-kmod-fglrx-modules
if [ -x "/sbin/weak-modules" ]; then
    printf '%s\n' "${modules[@]}" | /sbin/weak-modules --remove-modules
fi
echo "Done."


On Sun, 2016-07-17 at 16:02 +0300, Manuel Wolfshant wrote:

> On 07/17/2016 03:16 PM, jacques klein wrote:
> > Hello, I have installed a CentOS release 6.8 (Final)
> >
> > Now I need to install the AMD driver for my graphic card and do not 
> > even think about doing it from the AMD stuf...
> Good thinking !
> 
> 
> >
> > But I also suspect that the elrepo provided rpms are not CentOS 6.8 
> > compatible; 
> 
> They are compatiblle.
> [wolfy at wolfy openvpn]$ uname -a
> Linux wolfy 2.6.32-642.1.1.el6.x86_64 #1 SMP Tue May 31 21:57:07 UTC 
> 2016 x86_64 x86_64 x86_64 GNU/Linux
> [wolfy at wolfy openvpn]$ rpm -q centos-release
> centos-release-6-8.el6.centos.12.3.x86_64
> [wolfy at wolfy openvpn]$ rpm -qa \*fglrx\*
> kmod-fglrx-15.12-1.el6.elrepo.x86_64
> fglrx-x11-drv-15.12-1.el6.elrepo.x86_64
> [wolfy at wolfy openvpn]$ runlevel
> N 5
> 
> 
> > well it's kernel version in fact, see postinstall scripts,
> > and maybe for other reasons I am not aware.
> care to elaborate, please  ?
> 
> 
> >
> > I am looking for any advice,
> yum install elrepo-release && yum install kmod-fglrx
> 
> Should you really encounter any issue, feel free to contact us here.
> 
> Regards,
> 
>      wolfy
> 
> 
> _______________________________________________
> elrepo mailing list
> elrepo at lists.elrepo.org
> http://lists.elrepo.org/mailman/listinfo/elrepo


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.elrepo.org/pipermail/elrepo/attachments/20160717/4d764afc/attachment-0001.html>


More information about the elrepo mailing list