How to temporarily set kernel version for software install script?

Craig McLean craig at fukka.co.uk
Sun Mar 19 21:43:42 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

sport wrote:
> I am trying to install some software that has an install script that
> calls uname to find kernel version info.  I have a 2.6 kernel, and need
> to temporarily change it to 2.4 in a root shell to perform the
> installation.
> 
> Can someone tell me how or what command I would use to change the kernel
> system information reported by uname?
> 
> Thanks
> 

It will almost certainly be easier to modify the script, I'd imagine.

C.

- --
Craig McLean		http://fukka.co.uk
craig at fukka.co.uk	Where the fun never starts
	Powered by FreeBSD, and GIN!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (GNU/Linux)

iD8DBQFEHdCOMDDagS2VwJ4RAiD2AJ4mAuW34UpK+U9TJuCSeb/czhiJcwCdGFv1
u/UVfcEMcHbCjkSZxrscfYI=
=ht5n
-----END PGP SIGNATURE-----




More information about the fedora-list mailing list