Bug 7068 - /boot/kernel.h shouldn't be modified if it is unchanged
Summary: /boot/kernel.h shouldn't be modified if it is unchanged
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: initscripts
Version: 6.1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact:
URL:
Whiteboard:
Keywords:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1999-11-17 01:35 UTC by Jonathan Kamens
Modified: 2014-03-17 02:11 UTC (History)
2 users (show)

(edit)
Clone Of:
(edit)
Last Closed: 1999-11-17 17:43:57 UTC


Attachments (Terms of Use)

Description Jonathan Kamens 1999-11-17 01:35:54 UTC
/etc/rc.d/rc.sysinit regenerates /boot/kernel.h every time the machine
reboots.  This means that every time you run "gmake" in a kernel tree after
a reboot, lots of files will be rebuilt because they depend on
/boot/kernel.h (which is included by version.h), even though its content
hasn't really changed.

rc.sysinit should generate kernel.h in a temporary file, then compare it to
the one that's already there; if it's different, it should replace the old
one, but if it's the same, the temporary file should be removed and the old
kernel.h should be left in place.

Comment 1 Bill Nottingham 1999-11-17 17:43:59 UTC
Fixed in initscripts-4.65-1, which will be in the next Raw Hide release.

Comment 2 Bill Nottingham 1999-11-17 17:44:59 UTC
Fixed in initscripts-4.65-1, which will be in the next Raw Hide release.


Note You need to log in before you can comment on or make changes to this bug.