[Gllug] /boot/kernel.h

Lee Blackwell lee_blackwell at eur.3com.com
Mon Dec 3 14:58:32 UTC 2001


One day last week, a routine init 6 left me with a box that wouldn't boot.
Not even single user. After much trawling thru init scripts (using the
rescuse CD) I discovered that the shell code in rc.sysinit barfs, right at
the part where it's trying to build /boot/kernel.h

I've removed this piece of code, and sure enough the box boots OK again.

After a little googling, it appears that this file is only used for
creating RPM's, so that the RPM name comes together with the right
architecture flag, e.g.

sompackage-0.0.0-i686.rpm

As I'm not building RPM's right now, I'm none too fussed.  However, it
appears to be having an effect on my rpm commands, now far slower.

Any one else experience problems with /boot/kernel.h?

I think I'm just going to leave the code disabled, and munge a new
/boot/kernel.h by hand, until I upgrade my distro.

Lee

PS Tried new build of RH7.2... things didn't work too well... now back on
7.0 updated to 7.1.

-- 
Lee Blackwell
Unix Specialist, NCS, 3com IT.
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GIT d- s: a- c+++ ULS++++$ P++>++++ L+++>++++ E-- W+++ N+ o? K? w---
O? M? V? PS+ PE- Y+ PGP- t 5 X R?(R) tv++ b+(++) DI++ D+ G>+++ e(*)
h* r++(+++) y+
-----END GEEK CODE BLOCK ------


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list