Updating the nvidia driver for Fedora Core5
Paul Howarth
paul at city-fan.org
Fri Apr 14 03:44:18 CDT 2006
On Thu, 2006-04-13 at 16:50 -0600, Stephen J. Smoogen wrote:
> I am trying to make an internal update to the Dell dkms Nvidia package
> and realized that I might need to fuss with selinux policy items. Are
> there special directive for doing this.. or is the recommended way to
> put changes in the %pre/%post items.
Presumably this was triggered by FC5's memory protection?
I think what should really happen is that the distribution's upstream
policy should include the correct context for the module in its final
destination under /lib/modules/... (Dan Walsh at Red Hat has always been
amenable to adding things to policy like this) and that all that should
be necessary for a dkms package would be something like this in dkms's
"install" section:
[ -x /sbin/restorecon ] && /sbin/restorecon /path/to/installed/module
Paul.
More information about the DKMS-devel
mailing list