Re: How to load a kernel module automatically?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ville Skyttä napisał(a):
>> Getting back to scriptlets: you mean that I should add depmod 
>> -a on %post and depmod -e on %preun?
> 
> I suggest you read through 
> http://fedoraproject.org/wiki/Packaging/KernelModules and apply ideas 
> presented there to the module packaging scheme you're using in case you're 
> not going to use that one as is.

I guess I will need to use some wildcards for a module present in
vanilla kernel.

> 
>> I would like the upgrade to be as 
>> painless for users as possible, and as there is no easy way to give them
>> a message like "add uinput to modprobe.conf",
> 
> I don't think that would be necessary.  Just drop in 
> the /etc/sysconfig/modules snippet, run appropriate depmods and be done with 
> it.  What I was objecting to was explicitly installing/removing modules 
> in/from the running kernel in package scriptlets.
> 
>> they could be a bit surprised when swiping will cease to work for them.
> 
> I fail to see how not installing/removing modules in %post and friends would 
> result in that.  In fact it feels more likely that it could happen if you 
> *do* it.

What I meant is that the older version did not require uinput at all, so
upgrading ignoring the problem will leave users somehow stranded. Thanks
for all the info, I'll try to take a look at the package later on (we
are at the feature freeze anyway).

--
Fedora-maintainers mailing list
Fedora-maintainers@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-maintainers

--
Fedora-maintainers-readonly mailing list
Fedora-maintainers-readonly@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-maintainers-readonly

[Index of Archives]     [Fedora Users]     [Fedora Development]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux