-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Tuesday 05 November 2002 04:45 am, Michael Schwendt wrote:
> > Here, I get:
> > $ rpm -q kernel --qf "%{NAME}-%{VERSION}-%{ARCH}.config\n"
> > kernel-2.4.18-athlon.config
> > kernel-2.4.18-athlon.config
>
> You might want to insert -%{release} to make sure the correct kernel
> package version is included.
>
> The following would print the kernel config file name of the running
> kernel:
>
> $ rpm -q kernel --qf "/boot/config-%{version}-%{release}\n"
I thought about it, but as long as both kernels are 2.4.18 series kernels,
(and they should be on a psyche machine), the name of the proper config
file won't change.
/usr/src/linux-2.4/configs/kernel-2.4.18-${arch}.config
- --
- -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)
iD8DBQE9x7Ccn/07WoAb/SsRAkNyAJ4zkBYtsK96LiWHseX7HNJ1F/RdCACfdQH5
qx5f44wRSWnt3aHdpyjTXNU=
=U2aH
-----END PGP SIGNATURE-----