[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: lm_sensors sensord
- From: Michael Fratoni <mfratoni tuxfan homeip net>
- To: redhat-list redhat com
- Subject: Re: lm_sensors sensord
- Date: Thu May 8 21:28:21 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Thursday 08 May 2003 07:30 am, Adam Bowns wrote:
> Hello,
>
> I've installed lm_sensors and got it all up and running the way it
> should be. But i would also like the daemon called sensord. RedHat
> doesn't ship this as an rpm, but it can be built from the lm_sensors
> source with the option
>
> make PROG_EXTRA:=sensord
>
> Is it possible to pass this argument to rpmbuild and therefor build the
> package from the lm_sensors.src.rpm ? I have never used rpmbuild in
> this way before and i'm not even sure if it can be used like this, but
> if any of you out there have passed similar arguments to rpmbuild or
> know how to do it could you please let me know.
sensord gets built, it just doesn't get installed. I'm Running Red Hat
Linux 8.0, so I just installed the included
lm_sensors-2.6.3-2.src.rpm from source CD 1.
Edit the specfile, adding 2 lines (remember to bump up the release #) :
In the %install section, add a line at the end of the section:
%{makeinstall}-prog-sensord
In the %files section add:
%{_sbindir}/sensord
Then build the package:
rpmbuild -bb lm_sensors.spec
The resulting package should contain the the sensord files:
$ rpm -qlp /home/mfratoni/rpmbuild/RPMS/lm_sensors-2.6.3-2.i386.rpm | grep
sensord
/usr/sbin/sensord
/usr/share/man/man8/sensord.8.gz
- --
- -Michael
pgp key: http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE+uuutn/07WoAb/SsRAs2cAJwMr30A1NiH1zEYzms/JBvU4FCOqQCeMFBN
ItDQaZewx2XW1DIGSt7cbRg=
=AirZ
-----END PGP SIGNATURE-----
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]