[elrepo] New package proposel: kmod-ftsteutates
Phil Perry
phil at elrepo.org
Sun Dec 8 18:19:05 EST 2019
On 08/12/2019 21:23, Jens Kuehnel wrote:
> Hi elrepo-Users,
>
> I have created a new kmod package for ftsteutates for my new Hetzner
> Server based on a Fujitsu D3417-B1.
>
> The RPM and SRPM can be found here:
>
> https://www.kuehnel.org/kmod-ftsteutates/
>
> It is based on the kmod-e100 package for EL8 and does not use the source
> from the kernel upstream, but instead from the fujitsu FTP site. The c
> file are in principle the same.
>
> I copy a template file from the documentation to /etc/sensors.d/. If
> this is a problem this could be removed of course. But the output of
> sensors is very unusable without this files and the files are very
> different from one board to the next.
>
> Hopefully you can include it into elrepo.
>
> And thanks for all the work that you do!
>
> CU
> Jens
Hi Jens,
Thank you for the contribution. I'll take a look this week.
I wonder why Red Hat did not enable this driver in their el8 kernel?
I see no issue with installing the template config file. My only
suggestion is we add a Requires(post) for dmidecode.
Requires(post): %{_sbindir}/dmidecode
We will also need to add something to %preun to remove
/etc/sensors.d/fts-teutates-${BOARDVERSION}.conf upon uninstall of the
kmod package to ensure we are not leaving orphaned files on the system.
Something like:
%preun
if [ "$1" -eq "0" ]; then # uninstall
BOARDVERSION=$(dmidecode -t system | grep "Product Name" | sed -e
"s#.*Product Name: ##")
if [ -e "/etc/sensors.d/fts-teutates-${BOARDVERSION}.conf" ]; then
rm /etc/sensors.d/fts-teutates-${BOARDVERSION}.conf
fi
fi ||:
at which point we will also need:
Requires(preun): %{_sbindir}/dmidecode
Thanks,
Phil
More information about the elrepo
mailing list